ytdl-web
Simple web app that takes a Youtube video URL and produces a downloadable audio file.
Install
Use prebuilt Docker image from Docker hub:
$ docker pull porjo/ytdl-web
or clone this Github repo and run docker build
on it.
then:
- (optionally) configure Caddy proxy (see config below)
- run Docker container:
docker run -it -p 8080:8080 ytdl-web
Caddy config
example.com {
encode gzip
# Origin and Host header values must match
reverse_proxy /websocket localhost:8080 {
header_up Host {host}
}
reverse_proxy /* localhost:8080
}