YoutubeDL-Material is a web interface for downloading and managing Youtube videos using Youtube-DL. In this tutorial, we will guide you through the process of installing YoutubeDL-Material on NixOS Latest.
To ensure that your system is up-to-date, run the command below:
sudo nix-channel --update && sudo nixos-rebuild switch
YoutubeDL-Material needs following dependencies before it can be installed:
To install these dependencies, run the following command:
sudo nix-env -i python3 nodejs youtube-dl
Clone the repository from Github using the command below:
git clone https://github.com/Tzahi12345/YoutubeDL-Material.git
Navigate to the configuration file using the command below:
cd YoutubeDL-Material/
nano ytmdl/config.json
Configure the file according to your preferences. Change the following fields:
"web_folder": "/app/ytmdl/dist",
"download_folder": "/data/videos/",
web_folder
: Your website directory path.download_folder
: Your download directory path.To install the nodejs dependencies, run the command below:
npm install --only=production
Navigate to the dist folder and build the application using the command below:
cd ytmdl/
npm run build
To start the application, navigate to the dist folder and run the following command:
npm start
You can now access the application by navigating to the following URL:
http://localhost:8080
Congratulations! You have successfully installed YoutubeDL-Material on NixOS Latest. Feel free to explore more features of YoutubeDL-Material and customize according to your needs.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!