npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

glyrics

v1.8.0

Published

Get lyrics from genius.com - in the terminal

Downloads

27

Readme

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 😢