gomus

command module
v0.0.0-...-cdda5aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2021 License: MIT Imports: 1 Imported by: 0

README

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"
# 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL