A simple tool to download music from youtube/spotify and listen in the terminal.
Prerequisites
Installing FFmpeg
Install instructions
curl https://raw.githubusercontent.com/paij0se/ymp3cli/main/install.sh | bash
- verify the installation with
$ ymp3cli --h
Usage: ymp3cli --[OPTION]
--h,--help: Display the help command
--v,--version: Display the version of ymp3cli
Usage: ymp3cli [SONG]
ymp3cli <song.mp3>: play a single song
example: ymp3cli music/song.mp3
MIT License
Made it by pai
https://paijose.cf
$ ymp3cli # start ymp3cli
Build instructions
for linux install the oto dependencies
sudo apt install libasound2-dev
for macOS Oto requies AudioToolbox.framework
, but this is automatically linked.
run go get .
to install the dependencies.
Build ymp3cli with go build -o ymp3cli src/main.go
and for execute ymp3cli just run ./ymp3cli
.
TODO:
- client in golang
- download the videos without youtube-dl
- works correctly in windows
- able to pause and rewind the songs
- A playlists system
- able to play a song one by one
Custom clients?
- visit the wiki https://github.com/paij0se/ymp3cli/wiki/Routes
Alternative clients
- The old deno client https://github.com/bruh-boys/ymp3cli-old-client
Thanks to
- Flames https://github.com/FlamesX-128