Views
No views yet
yt-dlp, and a vanilla HTML/CSS/JS frontend featuring a clean, responsive, and dynamic UI.yt-dlp stdout.pip install yt-dlp or OS package manager..webm/.m4a to purely .mp3. Ensure ffmpeg and ffprobe are in your PATH.npm install1npm start
2# or use `npm run dev` to use nodemonhttp://localhost:3000.1sudo apt update
2sudo apt install nodejs npm ffmpeg python3-pip -y
3sudo pip3 install yt-dlp/var/www/yvd).1cd /var/www/yvd
2npm installpm2 globally to keep the server running in the background:1sudo npm install -g pm2
2pm2 start server.js --name "yvd-server"
3pm2 save
4pm2 startupsudo apt install nginx certbot python3-certbot-nginx -ysudo nano /etc/nginx/sites-available/yvd1server {
2 listen 80;
3 server_name yourdomain.com www.yourdomain.com;
4
5 location / {
6 proxy_pass http://localhost:3000;
7 proxy_http_version 1.1;
8 proxy_set_header Upgrade $http_upgrade;
9 proxy_set_header Connection 'upgrade';
10 proxy_set_header Host $host;
11 proxy_cache_bypass $http_upgrade;
12
13 # Avoid timeouts during long downloads
14 proxy_read_timeout 3600;
15 }
16}1sudo ln -s /etc/nginx/sites-available/yvd /etc/nginx/sites-enabled/
2sudo nginx -t
3sudo systemctl restart nginxsudo certbot --nginx -d yourdomain.com -d www.yourdomain.comdownloads/ directory automatically run a cleanup sequence to prevent server crash from full storage space (Deletes after 1 hour).