Standalone YT-DLP docker webapp to download videos.
76
A self-contained web frontend for yt-dlp. The container bundles Node.js (Express), the yt-dlp CLI, and FFmpeg, so it runs standalone — no local yt-dlp/FFmpeg install is required.
-x) and Best quality (bestvideo+bestaudio) modes.# Build the image (first build downloads yt-dlp + FFmpeg, so it takes a bit)
docker build -t ytdlp-downloader .
# Run it, mounting a local ./downloads folder so files persist
docker run -p 3456:3456 --volume $(pwd)/downloads:/usr/src/app/downloads ytdlp-downloader
Then open http://localhost:3456.
The
downloadsvolume maps to the host folder./downloadsso downloaded files (and the download history) are written where you can reach them. Omit the--volumemount if you only need ephemeral downloads.
npm run docker
(equivalent to the build + run commands above)
public/tailwind.css is a prebuilt Tailwind v4 stylesheet. If you change
classes in public/, regenerate it (Tailwind is a dev dependency):
npm install # once, to fetch dev deps
npm run build:css
PORT defaults to 3456 and is read from process.env.PORT by server.js.node:22-alpine base image provides the Node.js runtime.python3, py3-pip, deno, and ffmpeg are installed
(deno is the JavaScript runtime modern yt-dlp needs for YouTube extraction).python3 -m pip install yt-dlp provides the yt-dlp command.npm install installs Express.server.js starts an HTTP server and spawns yt-dlp on each request.npm install
# ensure yt-dlp and ffmpeg are on PATH
npm start
Content type
Image
Digest
sha256:ee733e07a…
Size
173.1 MB
Last updated
3 months ago
docker pull bhooshanb/ytdlp-webapp