On youtube there exist a lot of interesing mixes of songs which I really like, sometimes better than the original one. There are plenty of downloader tools available on the internet, but in my opinion they lack of simplicity and user experience.
Hence I decided to build a lightweight implementation of a youtube downloader. I used a cli based approach and for argument parsing I utilized yargs
.
- Node.js >= v14.0.0
- Clone this repo and
cd
into it:
$ git clone https://github.com/Olgoetz/nodejs-youtube-cli.git
$ cd nodejs-youtube-cli
- Run the following command:
$ npm install
- Test the installation (the cli is globally available):
$ youtube-cli --help
- After verification you can start with creating your config file:
$ youtube-cli config --audio="<yourAbsolutePathToAfolderForStoringDownloads"