Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.74 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.74 KB

Web GUI Server for YouTube Downloader Tool

Node.js based solution inspired by Transmission web-interface. Suitable for Windows and Linux


NOTE: The code moved to self-hosted and public git repositories due to number of issues with GitHub and Microsoft (mirrors: (m1) (m2)).


sample

NOTE1: This repository is for those, who for certain reasons prefer nodejs running as server. If this is not the case, I would recommend native python-based web gui server since youtube-dl/yt-dlp are essentially a python scripts, so it's better not to create a zoo of runtime environments.


NOTE2:

  • This UI supports running through reverse proxy like nginx under subdirectory. (ex. https://example.com/ytdl-web-gui )
    • required changing variable: web-root = '/ytdl-web-gui'
    • recommended nginx config:
     server {
         #server_name default server;
         listen 80 default_server;
    
         location /ytdl-web-gui {
             location = /ytdl-web-gui { return 301 /ytdl-web-gui/; } # adds trailing slash only for 1st lvl for correct relative path handling
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
             proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
             proxy_pass http://localhost:8001;
         }
     }