An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# glyrics

A terminal thingy to get lyrics of a track from genius.com

[![npm](https://img.shields.io/npm/dm/glyrics.svg)](https://www.npmjs.com/package/glyrics)
[![npm](https://img.shields.io/npm/v/glyrics.svg)](https://www.npmjs.com/package/glyrics)
[![Twitter Follow](https://img.shields.io/twitter/follow/candhforlife.svg?style=social&label=Follow)](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 😢