https://github.com/sirius248/nhaccuatui_cli
Command line utilities for http://www.nhaccuatui.com built with Elixir Lang
https://github.com/sirius248/nhaccuatui_cli
elixir music
Last synced: 3 months ago
JSON representation
Command line utilities for http://www.nhaccuatui.com built with Elixir Lang
- Host: GitHub
- URL: https://github.com/sirius248/nhaccuatui_cli
- Owner: sirius248
- Created: 2017-05-29T07:58:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-29T16:45:17.000Z (over 8 years ago)
- Last Synced: 2025-03-30T08:23:45.256Z (10 months ago)
- Topics: elixir, music
- Language: Elixir
- Homepage:
- Size: 13.3 MB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nhaccuatui CLI
Simple CLI for nhaccuatui.com.



## Usage
```elixir
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
* [x] Simple search
* [x] Get top song by countries
* [x] Download song
* and more functionalities
* [x] 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.
```shell
cd ~
curl -O https://github.com/kimquy/nhaccuatui_cli/blob/master/nct
cp ./nct /usr/local/bin
```