Nhaccuatui CLI
Simple CLI for nhaccuatui.com.
Usage
nct search "song name"
nct top-vn # => top 10 Vietnamese songs
nct top-us # => top 10 US-UK songs
nct top-kr # => top 10 Korea songs
nct play url # => play the song with the url
# => will download the song to local storage
# if out option is missed then the path will be current working directory
nct download url --out=path
# more to be update
Requirement
The program require your machine need to have Ruby programming language and this gem selenium-webdriver
in order to the download functionality to work.
TODO
- Simple search
- Get top song by countries
- Download song
- and more functionalities
- Improve the UI output in terminal
- Add test
Installation
Download this file https://github.com/kimquy/nhaccuatui_cli/blob/master/nct and put it into executable folder.
cd ~
curl -O https://github.com/kimquy/nhaccuatui_cli/blob/master/nct
cp ./nct /usr/local/bin