nhaccuatui_cli icon indicating copy to clipboard operation
nhaccuatui_cli copied to clipboard

Command line utilities for http://www.nhaccuatui.com built with Elixir Lang

Nhaccuatui CLI

Simple CLI for nhaccuatui.com.

s1

s2

s3

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

  • [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.

cd ~
curl -O https://github.com/kimquy/nhaccuatui_cli/blob/master/nct
cp ./nct /usr/local/bin