https://github.com/candh/glyrics
A terminal thingy to get lyrics from genius.com
https://github.com/candh/glyrics
genius lyrics nodejs terminal
Last synced: 11 months ago
JSON representation
A terminal thingy to get lyrics from genius.com
- Host: GitHub
- URL: https://github.com/candh/glyrics
- Owner: candh
- License: mit
- Created: 2017-01-18T02:00:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:40:02.000Z (over 3 years ago)
- Last Synced: 2024-10-14T14:18:28.678Z (over 1 year ago)
- Topics: genius, lyrics, nodejs, terminal
- Language: JavaScript
- Size: 15.3 MB
- Stars: 16
- Watchers: 3
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# glyrics
A terminal thingy to get lyrics of a track from genius.com
[](https://www.npmjs.com/package/glyrics)
[](https://www.npmjs.com/package/glyrics)
[](https://twitter.com/candhforlife)
## Why
It was just getting tiring looking up lyrics like... okay maybe not that much maybe I was just bored and made this to kill time.
## Install
$ [sudo] npm i glyrics -g
## Usage
$ glyrics "track name"
and then follow onscreen instructions
## TODO
- [ ] Make a GUI with all the genius.com features like viewing annotations and stuff
## Contribution
You know what to do.. Just do any of the todos or add your own thing. Fork, make a new branch with your feature, submit a pull request!
## Changelog
Added changelog in version 1.4.0, No changelog for older versions, Sorry 😕
**1.8.0**
- Fixed scraping logic
**1.7.0**
- Updated jsdom (I was using an ancient version)
- UserAgent change.
- Updated requests
- Ran prettier on entire project
**1.6.1**
- Better regex for highlighting
- replaced genius() with IIFE
**1.6.0**
- Bracket [] hightlighting for things like [Verse], [Chorus]. Makes it easier to read
- Refactoring and stuff
- Added LICENSE
**1.5.0**
- Not using `node-genius` anymore.
- Displays a more user friendly error if something goes wrong. (not dev friendly)
**1.4.0**
- Added a scrollable box (easier to read)
- Removed manual typing of number for selection of songs. Now using key arrows to navigate through the list of tracks
- Some other minor UI improvements
## Notes
- I encourage that you get your own token at [https://genius.com/api-clients](https://genius.com/api-clients)
- Both the selection menu and the lyrics box support `j` and `k` keys for movement... Luckily.
- Works on Mac, Linux and even Android (Tested on termux). Install by `yarn global add glyrics` on Android.
## By
[@candhforlife](https://twitter.com/candhforlife)
PS: Please follow me I'm losing followers because I don't tweet that much 😢