||3 days ago|
|.github||2 weeks ago|
|.vscode||12 months ago|
|backend||3 days ago|
|chart||3 weeks ago|
|chrome-extension||2 years ago|
|e2e||5 years ago|
|src||1 week ago|
|.browserslistrc||2 years ago|
|.dockerignore||3 months ago|
|.editorconfig||5 years ago|
|.eslintrc.json||11 months ago|
|.gitignore||3 months ago|
|Dockerfile||3 days ago|
|Dockerfile.heroku||2 weeks ago|
|LICENSE.md||5 years ago|
|Public API v1.yaml||2 weeks ago|
|README.md||2 weeks ago|
|SECURITY.md||2 weeks ago|
|angular.json||3 weeks ago|
|app.json||10 months ago|
|docker-compose.yml||1 week ago|
|ffmpeg-fetch.sh||2 months ago|
|heroku.yml||2 months ago|
|karma.conf.js||3 years ago|
|main.js||2 years ago|
|package-lock.json||2 weeks ago|
|package.json||1 week ago|
|protractor.conf.js||5 years ago|
|tsconfig.json||12 months ago|
|tslint.json||2 years ago|
Now with Docker support!
Check out the prerequisites, and go to the installation section. Easy as pie!
Here's an image of what it'll look like once you're done:
NOTE: If you would like to use Docker, you can skip down to the Docker section for a setup guide.
sudo apt-get install nodejs youtube-dl ffmpeg unzip python npm
sudo yum install epel-release sudo yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm sudo yum install centos-release-scl-rh sudo yum install rh-nodejs12 scl enable rh-nodejs12 bash sudo yum install nodejs youtube-dl ffmpeg ffmpeg-devel
- AtomicParsley (for embedding thumbnails, package name
- tcd (for downloading Twitch VOD chats)
First, download the latest release!
youtubedl-materialdirectory to an easily accessible directory. Navigate to the
appdatafolder and edit the
NOTE: If you are intending to use a reverse proxy, this next step is not necessary
Port forward the port listed in
default.json, which defaults to
Once the configuration is done, run
npm installto install all the backend dependencies. Once that is finished, type
npm start. This will run the backend server, which serves the frontend as well. On your browser, navigate to to the server (url with the specified port). Try putting in a youtube link to see if it works. If it does, viola! YoutubeDL-Material is now up and running.
If you experience problems, know that it's usually caused by a configuration problem. The first thing you should do is check the console. To get there, right click anywhere on the page and click "Inspect element." Then on the menu that pops up, click console. Look at the error there, and try to investigate.
Build it yourself
If you'd like to install YoutubeDL-Material, go to the Installation section. If you want to build it yourself and/or develop the repository, then this section is for you.
To deploy, simply clone the repository, and go into the
youtubedl-material directory. Type
npm install and all the dependencies will install. Then type
cd backend and again type
npm install to install the dependencies for the backend.
Once you do that, you're almost up and running. All you need to do is edit the configuration in
youtubedl-material/appdata, go back into the
youtubedl-material directory, and type
npm build. This will build the app, and put the output files in the
The frontend is now complete. The backend is much easier. Just go into the
backend folder, and type
Finally, if you want your instance to be available from outside your network, you can set up a reverse proxy.
Alternatively, you can port forward the port specified in the config (defaults to
17442) and point it to the server's IP address. Make sure the port is also allowed through the server's firewall.
If you're on a Synology NAS, unRAID, Raspberry Pi 4 or any other possible special case you can check if there's known issues or instructions both in the issue tracker and in the Wiki!
If you are looking to setup YoutubeDL-Material with Docker, this section is for you. And you're in luck! Docker setup is quite simple.
curl -L https://github.com/Tzahi12345/YoutubeDL-Material/releases/latest/download/docker-compose.yml -o docker-compose.ymlto download the latest Docker Compose, or go to the releases page to grab the version you'd like.
docker-compose pull. This will download the official YoutubeDL-Material docker image.
docker-compose upto start it up. If successful, it should say "HTTP(S): Started on port 17443" or something similar. This tells you the container-internal port of the application. Please check your
docker-compose.ymlfile for the external port. If you downloaded the file as described above, it defaults to 8998.
- Make sure you can connect to the specified URL + external port, and if so, you are done!
By default, the Docker container runs as non-root with UID=1000 and GID=1000. To set this to your own UID/GID, simply update the
environment section in your
docker-compose.yml like so:
environment: UID: YOUR_UID GID: YOUR_GID
For much better scaling with large datasets please run your YoutubeDL-Material instance with MongoDB backend rather than the json file-based default. It will fix a lot of performance problems (especially with datasets in the tens of thousands videos/audios)!
To get started, go to the settings menu and enable the public API from the Extra tab. You can generate an API key if one is missing.
Once you have enabled the API and have the key, you can start sending requests by adding the query param
API_KEY with your actual API key, and you should be good to go! Nearly all of the backend should be at your disposal. View available endpoints in the link above.
If you are using iOS, try YoutubeDL-Material more conveniently with a Shortcut. With this Shorcut, you can easily start downloading YouTube video with just two taps! (Or maybe three?)
You can download Shortcut here.
If you're interested in contributing, first: awesome! Second, please refer to the guidelines/setup information located in the Contributing wiki page, it's a helpful way to get you on your feet and coding away.
Pull requests are always appreciated! If you're a bit rusty with coding, that's no problem: we can always help you learn. And if that's too scary, that's OK too! You can create issues for features you'd like to see or bugs you encounter, it all helps this project grow.
If you're interested in translating the app into a new language, check out the Translate wiki page.
- Isaac Grynsztein (me!) - Initial work
- Spanish - tzahi12345
- German - UnlimitedCookies
- Chinese - TyRoyal
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details
This project is in no way affiliated with Google LLC, Alphabet Inc. or YouTube (or their subsidiaries) nor endorsed by them.
- AllTube (for the inspiration)