Skip to content

leejefon/lyrics-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published