From 37c8ecb97d3a611561b0cb0de86716afc15a3627 Mon Sep 17 00:00:00 2001 From: Violet <110205356+Violets-puragtory@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:33:19 +0000 Subject: [PATCH 1/8] Inspired by in index.html --- static/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index 020a241..864b367 100644 --- a/static/index.html +++ b/static/index.html @@ -55,7 +55,11 @@

Please consider donating or host the website yourself! Anything helps! (Check Codeberg for more info)

-

Powered by yt-dlp

+

+ Powered by yt-dlp +
+ Inspired by Cobalt +

\ No newline at end of file From 6513cca8d7b34164a2db6882754cfb6263850c67 Mon Sep 17 00:00:00 2001 From: Violet <110205356+Violets-puragtory@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:41:20 +0000 Subject: [PATCH 2/8] Full list of supported sites --- static/index.html | 10 +++++++++- static/style.css | 11 ++++++++++- static/supported/index.html | 28 ++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 static/supported/index.html diff --git a/static/index.html b/static/index.html index 864b367..917ba40 100644 --- a/static/index.html +++ b/static/index.html @@ -12,7 +12,7 @@ -

Univerter

v4.0

+

Univerter

v5.0

And still javascript free...


@@ -52,6 +52,13 @@

Univerter was designed for youtube, but if you need something different please consult this list to see if your site is there. Be warned, though, they are all untested, so please report issues you encounter!

+

Notable supported sites include:

+ +

For a full list of things that have been tested (including !!NSFW!!) you can find them here


Please consider donating or host the website yourself! Anything helps! (Check Codeberg for more info)

@@ -59,6 +66,7 @@ Powered by yt-dlp
Inspired by Cobalt + Happy 100 commits :)

diff --git a/static/style.css b/static/style.css index 966ee96..35a4e1f 100644 --- a/static/style.css +++ b/static/style.css @@ -20,7 +20,8 @@ h1>* { p, select, -input { +input, +li { font-size: 1.3rem; } @@ -48,6 +49,10 @@ input { display: inline; } +a { + color: rgb(125, 125, 255) +} + .col-sm-3 { outline: white solid 2px } @@ -69,4 +74,8 @@ input:hover { border: rgb(150, 50, 50) solid 2px; border-radius: 15px; display: inline-block; +} + +ul { + display: inline-block; } \ No newline at end of file diff --git a/static/supported/index.html b/static/supported/index.html new file mode 100644 index 0000000..a57ba22 --- /dev/null +++ b/static/supported/index.html @@ -0,0 +1,28 @@ + + + + + + + + + + + Supported Sites + + + +

Supported Sites

(INCLUDES NSFW)

+
+

+ +

Univerter was designed for youtube, but if you need something different please consult this list to see if your site is there. Be warned, though, they are all untested, so please report issues you encounter!

+

Tested and actively supported sites include:

+ + + + \ No newline at end of file From c9a56bc4150b03081ca36ce30922bcddfdca4083 Mon Sep 17 00:00:00 2001 From: Violet <110205356+Violets-puragtory@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:43:31 +0000 Subject: [PATCH 3/8] no exclamation marks --- static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index 917ba40..eb75f9a 100644 --- a/static/index.html +++ b/static/index.html @@ -58,7 +58,7 @@
  • Twitter
  • TikTok
  • -

    For a full list of things that have been tested (including !!NSFW!!) you can find them here

    +

    For a full list of things that have been tested (including NSFW) you can find them here


    Please consider donating or host the website yourself! Anything helps! (Check Codeberg for more info)

    From 969ac23580ab5243b92eadf4d5cb42a2a2a244cf Mon Sep 17 00:00:00 2001 From: Violet <110205356+Violets-puragtory@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:44:27 +0000 Subject: [PATCH 4/8] br --- static/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/index.html b/static/index.html index eb75f9a..e53ed99 100644 --- a/static/index.html +++ b/static/index.html @@ -65,7 +65,7 @@

    Powered by yt-dlp
    - Inspired by Cobalt + Inspired by Cobalt
    Happy 100 commits :)

    From 1075a2816c67dc8ad062b139aad1c44bb805caba Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Sat, 27 Jan 2024 11:31:55 -0600 Subject: [PATCH 5/8] remove warning --- static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/index.html b/static/index.html index e53ed99..917efec 100644 --- a/static/index.html +++ b/static/index.html @@ -51,14 +51,14 @@
    -

    Univerter was designed for youtube, but if you need something different please consult this list to see if your site is there. Be warned, though, they are all untested, so please report issues you encounter!

    +

    Univerter was designed for youtube, but if you need something different please consult this list to see if your site is there. Be warned, though, they are mostly untested!

    Notable supported sites include:

    -

    For a full list of things that have been tested (including NSFW) you can find them here

    +

    For a full list of things that have been tested you can find them here


    Please consider donating or host the website yourself! Anything helps! (Check Codeberg for more info)

    From e71f9948152541905f945aa43f2cda31a8e2dc3f Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Sat, 27 Jan 2024 11:34:43 -0600 Subject: [PATCH 6/8] Fix 720p defaulting --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 0c9fe4a..f576253 100644 --- a/index.js +++ b/index.js @@ -184,6 +184,7 @@ app.get("/download", async (req, res) => { url, '-o', '-', '--max-filesize', MAX_FILESIZE + 'm', + '-S', 'res:' + quality, '--no-playlist', ]) From 441ab831506b6a3b56b61afadb5af832906f3ecc Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Mon, 29 Jan 2024 14:33:12 +0000 Subject: [PATCH 7/8] Remove other warning --- static/supported/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/supported/index.html b/static/supported/index.html index a57ba22..188db4b 100644 --- a/static/supported/index.html +++ b/static/supported/index.html @@ -12,7 +12,7 @@ -

    Supported Sites

    (INCLUDES NSFW)

    +

    Supported Sites

    From 1d9b3c0a2221c47085fa293b9859df2b8fa2117f Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Mon, 29 Jan 2024 14:41:14 +0000 Subject: [PATCH 8/8] Update outdated README --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 80a3b85..235218e 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # Univerter -A web youtube downloader & converter for youtube videos with no client-sided javascript. It can be found at https://yt.violets-purgatory.dev +A web downloader & converter for videos with no client-sided javascript. It can be found at https://yt.violets-purgatory.dev -Currently supports a wide variety of formats, but only supports youtube. If you have any other sites you want supported, or any other formats, please open an issue. - -## Announcement -The developer branch is currently broken, as it is unfinished. Please don't report bugs yet. +Currently supports a wide variety of formats and sites, but if you have any other formats you want supported, please open an issue. +Formats added to Univerter must be supported by FFmpeg +Support for sites will only be added if those sites are supported by yt-dlp. # Installation @@ -14,14 +13,14 @@ There are 2 main ways to install Univerter: ## Docker The docker image can be found at https://hub.docker.com/r/bingusviolet/univerter -Port 8080 (or whatever you set the environment variable to) is exposed inside the container. It can be changed with `-p` +Port 8080 (or whatever you set the environment variable to) is exposed inside the container. It can be exposed with `-p` Example: ```bash docker run -p 8080:8080 bingusviolet/univerter ``` -It can now be found on port 8080 +This will allow it to be found on port 8080 (E.G. `localhost:8080`) -## Npm +## Node 1. Clone the repository @@ -35,6 +34,7 @@ cd YoutubeConverter - [ffmpeg](https://github.com/FFmpeg/FFmpeg) - [node](https://github.com/nodejs/node) - [npm](https://github.com/npm/cli) +- [yt-dlp](https://github.com/yt-dlp/yt-dlp) 3. Download NodeJS Dependencies