From 1ed3fe20b102e0843bcfd5e32b1dbaaae1d2db60 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 06:27:27 +0000 Subject: [PATCH 01/14] change parts of readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 04b6d179..87c5231a 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,9 @@ This is the source code of Poke (formerly PokeTube), the privacy-friendly youtub # Features -| |

Return YouTube Dislikes Built-In

Dislikes are viewable thanks to the Return YouTube Dislikes API.
| +| |

Return YouTube Dislikes Built-In

See the dislikes from returnyoutubedislike!
| | - | - | -|

PWA Support

With PWA Support, you can install Poke on your mobile device.
| | +|

PWA Support

With PWA Support, you can install Poke on your mobile device :3
| |

Customize

Customize Poketube However you want :3 @@ -84,7 +84,7 @@ PLEASE NOTE THAT THIS SOFTWARE MAY INCULUDE CODECS THAT IN CERTAIN COUNTRIES MAY Before you host, if ur server is in usa, set the proxylocation to `USA` (which is the default) - if you use any eu server set it to `EU` instead to make videos load faster ### With NodeJS -To self host your own Poke instance, you'll need some packages installed on your Linux install. +To self host your own Poke instance, you'll need some packages installed on your GNU/Linux install.
For Fedora/RHEL/Rocky/CentOS From 477ba74e836401b5a5d93e4257844bbaf9224a2a Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 06:31:56 +0000 Subject: [PATCH 02/14] Update html/landing.ejs --- html/landing.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/landing.ejs b/html/landing.ejs index 67ad836a..b3827489 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -28,7 +28,7 @@ - + From b8dad3e52bba39041d853f2e72b60211b7eff51f Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 06:40:12 +0000 Subject: [PATCH 03/14] add fontawsome :3 --- html/partials/header.ejs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/html/partials/header.ejs b/html/partials/header.ejs index 78d10a8c..6450bf2f 100644 --- a/html/partials/header.ejs +++ b/html/partials/header.ejs @@ -20,10 +20,7 @@ - - - - +
@@ -91,6 +88,7 @@ justify-content: space-between; max-width: 1264px; margin: auto; + height: 3em; } .header-start { @@ -100,6 +98,7 @@ .header-start img { height: 32px; + margin-top: 3em; } form[action="/search"] { @@ -151,4 +150,4 @@ color: white; gap: 6px; } - \ No newline at end of file + \ No newline at end of file From ff45b70bcdb27fafd62bccf02bac52ab5bc1bb0e Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 06:41:06 +0000 Subject: [PATCH 04/14] add proxyurl --- src/libpoketube/init/pages-404-and-main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 123197d9..df63283c 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -116,6 +116,7 @@ module.exports = function (app, config, renderTemplate) { const random = splash[Math.floor(Math.random() * splash.length)]; const browser = req.useragent.browser; const isOldWindows = (uaos === "Windows 7" || uaos === "Windows 8") && browser === "Firefox"; + var proxyurl = config.p_url; const secure = [ "poketube.fun", @@ -136,6 +137,7 @@ module.exports = function (app, config, renderTemplate) { secure, verify, isOldWindows, + proxyurl, random }); }; From f941957dea03c6f5a807426332bc51ab17f41d1c Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 09:00:01 +0000 Subject: [PATCH 05/14] remove icons lol --- html/partials/header.ejs | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/html/partials/header.ejs b/html/partials/header.ejs index 6450bf2f..ee2f3a25 100644 --- a/html/partials/header.ejs +++ b/html/partials/header.ejs @@ -28,35 +28,6 @@

<%- random %>

- <% if (secure) { %> - - <% } %> - <% if (verify) { %> - - <% } %>
From f5d8863236f5206d116cb91552885fdda8f43b06 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 09:32:28 +0000 Subject: [PATCH 06/14] add more splash texts :3 --- src/libpoketube/init/pages-404-and-main.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index df63283c..0169a4cf 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -47,6 +47,14 @@ const splash = [ "pika!", "fsf.org", "ssfffssfssfffaassssfsdf!", + "can you save my hds?", + "sahlo folina!", + "we come for you!", + "no chances!", + "dema dont control us!", + "im fairly local!", + "i dont wanna go like this!", + "at least let me clean my room" "100+ stars on gh!", "now even gayer!", "poketube!!!", From 35b9412e7cce4af6d0fe31a062ef7c335c991f44 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 09:33:43 +0000 Subject: [PATCH 07/14] my bad lmao- --- src/libpoketube/init/pages-404-and-main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libpoketube/init/pages-404-and-main.js b/src/libpoketube/init/pages-404-and-main.js index 0169a4cf..cb73f605 100644 --- a/src/libpoketube/init/pages-404-and-main.js +++ b/src/libpoketube/init/pages-404-and-main.js @@ -54,7 +54,7 @@ const splash = [ "dema dont control us!", "im fairly local!", "i dont wanna go like this!", - "at least let me clean my room" + "at least let me clean my room", "100+ stars on gh!", "now even gayer!", "poketube!!!", From 1077a5ef606537dd09ded84aa25bf00c67347d76 Mon Sep 17 00:00:00 2001 From: ashley Date: Wed, 1 May 2024 12:02:11 +0000 Subject: [PATCH 08/14] remove old icons :3 --- html/landing.ejs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/html/landing.ejs b/html/landing.ejs index b3827489..fb2c4752 100644 --- a/html/landing.ejs +++ b/html/landing.ejs @@ -192,15 +192,8 @@ primary_link='https://codeberg.org/ashley/poke' )%>
- - - + +