/youtube-cli

Play songs using the command line with just one small and concise command. Make playlists by creating simple bash scripts. Save caches to disk for later offline listening.

Primary LanguageShellMIT LicenseMIT

youtube-cli

youtube-cli is a command line based music player with a song cache at ~/.songs which uses ytcli as a helper.
Make sure you have youtube-dl and mpv installed, you can find installation guides for your distro on Google.

USAGE:

git clone https://github.com/uditkarode/youtube-cli.git /tmp/youtube-cli
sudo cp /tmp/youtube-cli/ytcli /usr/bin
sudo cp /tmp/youtube-cli/youtube-cli /usr/bin/ytm
sudo chmod a+x /usr/bin/ytm /usr/bin/ytcli
ytm -p pink floyd wish you were here

If you're on macOS 10.15+

git clone https://github.com/uditkarode/youtube-cli.git /tmp/youtube-cli
cp /tmp/youtube-cli/youtube-cli /usr/local/bin/ytm
cp /tmp/youtube-cli/ytcli /usr/local/bin/
sudo chmod a+x /usr/local/bin/{ytm,ytcli}
ytm -p pink floyd wish you were here