Skip to content

Latest commit

 

History

History
59 lines (47 loc) · 1.77 KB

README.md

File metadata and controls

59 lines (47 loc) · 1.77 KB

youtube-downloader

A simple website that permits you to download youtube videos

build

youtube-downloader is a simple single page website made using Svelte and served by Express JS that lets you download youtube videos to mp3 or mp4 format.

You can use the v0.1.0 by clicking here.

Requirements

Install

git clone https://github.com/TrAyZeN/youtube-downloader.git
cd youtube-downloader
yarn install
yarn build

Usage

Once you have followed the install instructions you can run the following command to start the server.

yarn start

By default the server will start on port 3001 if you want to change that see the environment variables section.

Docker

docker build -t youtube-downloader .
docker run -p 3001:80 youtube-downloader

Environment variables

  • YTDL_PORT: Port on which the server listens for requests. (Default is 3001)
  • YTDL_DOWNLOAD_DIR: Directory where to download the videos. (Default is ./downloads)

Contributing

Contributions are welcome! Just submit a pull request.

If you want to report a bug or request a feature just open an issue.

License

This project is licensed under MIT License.