Go Music
A cli, written in go using cobra, to search and download songs.
Examples
Download
# Downloading a song
gomus dl "midnight city m83"
# Downloading multiple songs
gomus dl "drifted gray faron north" "demons"
Search
# Searches for the query and displays <num> (default = 3) results
gomus se -n <num> "cold, cold world"
# Searches and gives options to download any of the displayed songs
gomus se -d "found my friends"
Play
# Plays mp3 file in terminal
gomus pl "song.mp3"
Here is an example of a search
$ gomus se -n 5 -d "found my friends"
╭───┬─────────────────────────────────────────────────────┬─────────────────┬─────────────────────────────────────────────╮
│ # │ TITLE │ CHANNEL NAME │ VIDEO URL │
├───┼─────────────────────────────────────────────────────┼─────────────────┼─────────────────────────────────────────────┤
│ 1 │ Hayley Kiyoko - Found My Friends (Lyrics) │ Soul Music │ https://www.youtube.com/watch?v=nk1FYnjZfnI │
│ 2 │ Hayley Kiyoko - Found My Friends (Lyrics) │ Chill Vibes │ https://www.youtube.com/watch?v=KRrae5grWhA │
│ 3 │ Hayley Kiyoko - Found My Friends [Official Video] │ Hayley Kiyoko │ https://www.youtube.com/watch?v=bZK-ju8ye04 │
│ 4 │ Hayley Kiyoko - Found My Friends (Letra en Español) │ Elyon Herondale │ https://www.youtube.com/watch?v=DVHsJ9leBh8 │
│ 5 │ Hayley Kiyoko - Found My Friends (LYRICS) │ Lyrics On Lock │ https://www.youtube.com/watch?v=SIyi0-ZFB2Y │
╰───┴─────────────────────────────────────────────────────┴─────────────────┴─────────────────────────────────────────────╯
Enter the song number to download the song. Enter anything else to exit.
Installation
go get github.com/atin/gomus
Contributing
Please read CONTRIBUTING.md before making a pull request.
License
MIT