leejefon / lyrics-cli

Get song lyrics on command line

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Song Lyrics Cli

This module searches lyrics on command line.

Install

npm install -g lyrics-cli

Usage

Usage: lyrics [options] <name> [artist]

 Options:

   -h, --help            output usage information
   -V, --version         output the version number
   -s, --source <value>  API to use (gecimi, wangyiyun)

Example:

lyrics 說好的幸福呢 -s gecimi
lyrics 海闊天空 信樂團
lyrics 'my heart will go on' 'celine dion'

Tests

npm test

TODO

  • Option to remove time
  • Show different results

Notes

Lyrics API 1 (網易雲): http://music.163.com
Lyrics API 2 (歌詞迷): http://doc.gecimi.com/en/latest/

Since the API supports only simplified Chinese, the conversion between simplfied and traditional Chinese characters are done with node module chinese-conv.

About

Get song lyrics on command line


Languages

Language:JavaScript 100.0%