Skip to content

A fun little cli tool, grabs a piece of the lyrics from the current playing Spotify song for display.

Notifications You must be signed in to change notification settings

kylegrantlucas/lyricpiece

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LyricPiece

A small tool for my command line, gets the currently playing spotify track and then grabs a sample of the lyrics for display. Uses a local boltdb cache for performance.

Installation

$ go install github.com/kylegrantlucas/lyricpiece@latest

Setup

Using this cli tool requires setting up a Spotify OAuth2 Application so we can call the API for the user's current info.

  1. Register an application at: https://developer.spotify.com/my-applications/
  • Use http://localhost:8080/callback as the redirect URI
  1. Set the SPOTIFY_ID environment variable to the client ID you got in step 1.
  2. Set the SPOTIFY_SECRET environment variable to the client secret from step 1.

Usage

$ lyricpiece

About

A fun little cli tool, grabs a piece of the lyrics from the current playing Spotify song for display.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages