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 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', ]) diff --git a/static/index.html b/static/index.html index 020a241..917efec 100644 --- a/static/index.html +++ b/static/index.html @@ -12,7 +12,7 @@ -

Univerter

v4.0

+

Univerter

v5.0

And still javascript free...


@@ -51,11 +51,23 @@
-

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 you can find them here


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
+ Happy 100 commits :) +

\ No newline at end of file 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..188db4b --- /dev/null +++ b/static/supported/index.html @@ -0,0 +1,28 @@ + + + + + + + + + + + Supported Sites + + + +

Supported Sites +
+

+ +

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