Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leejefon/lyrics-cli
Get song lyrics on command line
https://github.com/leejefon/lyrics-cli
Last synced: 25 days ago
JSON representation
Get song lyrics on command line
- Host: GitHub
- URL: https://github.com/leejefon/lyrics-cli
- Owner: leejefon
- Created: 2016-08-26T16:46:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-09-12T01:59:07.000Z (over 5 years ago)
- Last Synced: 2024-04-23T11:52:35.365Z (8 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 20
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- macOS-Essentials - lyrics-cli - Search song lyrics on command line (Command Line tools / Packages)
README
## Song Lyrics Cli
This module searches lyrics on command line.
### Install
```shell
npm install -g lyrics-cli
```### Usage
```
Usage: lyrics [options] [artist]Options:
-h, --help output usage information
-V, --version output the version number
-s, --source API to use (gecimi, wangyiyun)
```Example:
```
lyrics 說好的幸福呢 -s gecimi
lyrics 海闊天空 信樂團
lyrics 'my heart will go on' 'celine dion'
```### Tests
```shell
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](https://github.com/Pleasurazy/chinese-conv).