From 3c8c7ce6a88478bd923b146930a109b8ac88c5b3 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 15:16:14 +0200 Subject: [PATCH 01/10] Add registrations icon --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4d08fe3..81eb42c 100644 --- a/README.md +++ b/README.md @@ -71,11 +71,11 @@ I always recommend self-hosting, as you will be the only person with access to t > Important note: The **client** never connects to Google / Youtube however, the server does in order to gather all the necessary things! # Public Instances -| name |server location|registrations?| -| ------------ | ------------ | ------------ | -| https://yotter.xyz |Germany| Limited (70 users)| -| https://yotter.kavin.rocks/ |India| Limited (100 users)| -| https://yotter.jank.media/ |Germany| Limited (100 users)| +| name |server location|max users|registrations| +| ------------ | ------------ | ------------ |------------| +| https://yotter.xyz |Germany| 70 users| +| https://yotter.kavin.rocks/ |India| 100 users |-| +| https://yotter.jank.media/ |Germany| 100 users|-| ## Configure the server You will find in the root folder of the project a file named `yotter-config.json`. This is the global config file for the Yotter server. From 4f8e75820944b160cb1eb128780efd5fa948a121 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 15:17:37 +0200 Subject: [PATCH 02/10] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a36b76a..e405422 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ location ~ (/videoplayback|/vi/|/a) { 3. Reload nginx `sudo service nginx reload` ### Added - [x] Admins can add a donation link to the Instance - Check `yotter-config.json` after update. +- [x] You can now use `/registrations_status/icon` and `/registrations_status/text` to get registrations info. ### Fixed - [x] Channel images were not proxied. From c4e49492f2d10b36b19a1b28808804f97b6bec74 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 15:18:33 +0200 Subject: [PATCH 03/10] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 81eb42c..b3ddbfa 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,8 @@ I always recommend self-hosting, as you will be the only person with access to t | name |server location|max users|registrations| | ------------ | ------------ | ------------ |------------| | https://yotter.xyz |Germany| 70 users| -| https://yotter.kavin.rocks/ |India| 100 users |-| -| https://yotter.jank.media/ |Germany| 100 users|-| +| https://yotter.kavin.rocks/ |India| 100 users || +| https://yotter.jank.media/ |Germany| 100 users|| ## Configure the server You will find in the root folder of the project a file named `yotter-config.json`. This is the global config file for the Yotter server. From 7a6b1d1bdde66c19d112717855ff21f61f72cfbe Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 17:57:27 +0200 Subject: [PATCH 04/10] Fix typo on updating instructions --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e405422..695ed80 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,8 +17,8 @@ location ~ (/videoplayback|/vi/|/a) { proxy_buffering off; resolver 1.1.1.1; - proxy_pass https://$arg_hostname; - proxy_set_header Host $arg_hostname; + proxy_pass https://$arg_host; + proxy_set_header Host $arg_host; add_header Access-Control-Allow-Origin *; } ``` From 2a436aa0a7e2ca7253762a8eddb5b11111c840f1 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 19:38:52 +0200 Subject: [PATCH 05/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3ddbfa..4544f86 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ I always recommend self-hosting, as you will be the only person with access to t # Public Instances | name |server location|max users|registrations| | ------------ | ------------ | ------------ |------------| -| https://yotter.xyz |Germany| 70 users| +| https://yotter.xyz |Germany| 70 users| | https://yotter.kavin.rocks/ |India| 100 users || | https://yotter.jank.media/ |Germany| 100 users|| From cf88e36be7766fc7e87770801dd943c9d4248faf Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 19:40:48 +0200 Subject: [PATCH 06/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4544f86..171bdbc 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ I always recommend self-hosting, as you will be the only person with access to t # Public Instances | name |server location|max users|registrations| | ------------ | ------------ | ------------ |------------| -| https://yotter.xyz |Germany| 70 users| +| https://yotter.xyz |Germany| 70 users| | https://yotter.kavin.rocks/ |India| 100 users || | https://yotter.jank.media/ |Germany| 100 users|| From 7e68b52570eb85f460af3f8f5d89bffc3cb24358 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 19:43:18 +0200 Subject: [PATCH 07/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 171bdbc..c76a83e 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ I always recommend self-hosting, as you will be the only person with access to t # Public Instances | name |server location|max users|registrations| | ------------ | ------------ | ------------ |------------| -| https://yotter.xyz |Germany| 70 users| +| https://yotter.xyz |Germany| 70 users|| | https://yotter.kavin.rocks/ |India| 100 users || | https://yotter.jank.media/ |Germany| 100 users|| From 4df81a65c5b83a1feb11e4e00a3432d7136f0a31 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 19:48:24 +0200 Subject: [PATCH 08/10] Update SELF-HOSTING.md --- SELF-HOSTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SELF-HOSTING.md b/SELF-HOSTING.md index 915e5c2..cfa42fd 100644 --- a/SELF-HOSTING.md +++ b/SELF-HOSTING.md @@ -192,8 +192,8 @@ server { location ~ (/videoplayback|/vi/|/a) { proxy_buffering off; resolver 1.1.1.1; - proxy_pass https://$arg_hostname; - proxy_set_header Host $arg_hostname; + proxy_pass https://$arg_host; + proxy_set_header Host $arg_host; add_header Access-Control-Allow-Origin *; } } @@ -202,7 +202,7 @@ Make sure to replace `` by the domain you are willing to use for you You will also need to change the `` after `alias` to fit your system. You have to point to the Yotter folder, in this set up it would be `/home/ubuntu` as it is the location where we cloned the Yotter app. This alias is created to handle static files directly, without forwarding to the application. -Once done, you can run `sudo service nginx reload` +Once done, you can run `sudo service nginx reload`. If everything so far went OK, you can now set the `nginxVideoStream` to `true` on the `yotter-config.json` file. Now you need to install an SSL certificate on your server so you can use HTTPS. If you are running Ubuntu 20LTS or already have `snap` installed, you can proceed as follows: From 70e813563f17679c369cae6cde89064e32c62c8c Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 19:50:04 +0200 Subject: [PATCH 09/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c76a83e..de2ea1e 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ I always recommend self-hosting, as you will be the only person with access to t # Public Instances | name |server location|max users|registrations| | ------------ | ------------ | ------------ |------------| -| https://yotter.xyz |Germany| 70 users|| +| https://yotter.xyz |Germany| 70 users|| | https://yotter.kavin.rocks/ |India| 100 users || | https://yotter.jank.media/ |Germany| 100 users|| From e574317b3d124d4ed553344392759021aae57fd8 Mon Sep 17 00:00:00 2001 From: PLUJA <64632615+pluja@users.noreply.github.com> Date: Sat, 26 Sep 2020 19:50:27 +0200 Subject: [PATCH 10/10] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index de2ea1e..61888be 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,8 @@ I always recommend self-hosting, as you will be the only person with access to t | name |server location|max users|registrations| | ------------ | ------------ | ------------ |------------| | https://yotter.xyz |Germany| 70 users|| -| https://yotter.kavin.rocks/ |India| 100 users || -| https://yotter.jank.media/ |Germany| 100 users|| +| https://yotter.kavin.rocks/ |India| 100 users || +| https://yotter.jank.media/ |Germany| 100 users|| ## Configure the server You will find in the root folder of the project a file named `yotter-config.json`. This is the global config file for the Yotter server.