Skip to content

πŸ“» Webserver for downloading youtube videos. Ready for docker.

License

Notifications You must be signed in to change notification settings

Algram/ytdl-webserver

This branch is 1 commit ahead of master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b0580be Β· Dec 11, 2020

History

85 Commits
Apr 22, 2019
Apr 22, 2019
Sep 23, 2018
Aug 29, 2016
Aug 28, 2016
Aug 29, 2016
Sep 23, 2018
Apr 22, 2019
Oct 15, 2019
Apr 22, 2019
Dec 11, 2020
May 5, 2019
Apr 22, 2019

Repository files navigation

πŸ“» ytdl-webserver Builds

Webserver for downloading youtube videos. Ready for docker.

Demo

If you have questions, read the blog post.

Demovideo

Installation

As a server

npm install && npm start

As a docker image

Basic

docker run --name ytdl -d -p 3000:3000 algram/ytdl-webserver

Advanced

Build the docker image, create a directory to hold and access the downloaded videos on the host, and then start a container instance of the image.

docker build -t <your username>/ytdl-webserver .
mkdir /tmp/videos
docker run --name ytdl -v /tmp/videos:/home/app/public/temp -p 3000:3000 -d <your username>/ytdl-webserver

In the example above, we are creating a directory under /tmp to hold the videos and then specifying a host mount to the container that corresponds to that new directory. You may update this to any path on your host or use a different existing path if you would prefer. The host mount also improves performance as the downloaded files are written to the native host filesystem bypassing the CoW filesystem of the container.

Development

To start contributing you only have to run one command.

npm run dev

This will start webpack and a dev server on localhost:8080

License

MIT

About

πŸ“» Webserver for downloading youtube videos. Ready for docker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages