Youtility is a Java command-line application that allows you to download videos from YouTube using yt-dlp.
- Download YouTube videos and playlists in various formats.
- Choose from a selection of predefined formats for downloading videos.
- Specify the URL of the video or playlist to download.
- Set a default download folder for saving downloaded videos.
- Make sure you have Java installed on your system.
- Install
yt-dlp
by following the instructions on the yt-dlp GitHub page. - Download the
Youtility.jar
file from the releases page. - Place the JAR file in a directory of your choice.
To make it easier to run Youtility from the command line, you can create an alias. Add the following line to your shell configuration file (e.g., .bashrc
, .bash_profile
, .zshrc
):
alias youtility='java -jar /path/to/Youtility.jar'
Replace /path/to/Youtility.jar
with the actual path to your downloaded JAR file.
After adding the alias, you can simply run youtility from the command line to start the Youtility Tool.
To download a video, run the following command in your terminal:
java -jar Youtility.jar
Follow the prompts to enter the URL of the video or playlist and choose the desired format.
The following format options are available:
- 2160p video,
- 1080p video,
- 720p video
- 480p video
- 360p video
- Audio only (m4a format)
Downloaded videos are stored in the Videos/YouTube
directory within the user's home directory. This ensures that your downloaded videos are neatly organized in a dedicated folder.
- This project uses yt-dlp for downloading YouTube videos.
Contributions are welcome! Feel free to fork the repository and submit pull requests.