glyrics

1.8.0 • Public • Published

glyrics

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

npm npm Twitter Follow

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
  • 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 PS: Please follow me I'm losing followers because I don't tweet that much 😢

Dependencies (6)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i glyrics

    Weekly Downloads

    4

    Version

    1.8.0

    License

    MIT

    Unpacked Size

    9.24 kB

    Total Files

    4

    Last publish

    Collaborators

    • candh