sptlrx

Spotify lyrics in your terminal.

Crystal Castles - Not In Love

Features

  • Timesynced lyrics in your terminal.
  • Fully compatible with spotifyd.
  • Works well with long lines & Unicode characters.
  • Single binary & cross-plaftorm.

Installation

Linux

curl -sSL instl.sh/raitonoberu/sptlrx/linux | sudo bash  

Windows

iwr instl.sh/raitonoberu/sptlrx/windows | iex  

macOS

curl -sSL instl.sh/raitonoberu/sptlrx/macos | sudo bash   

You can also download the binary from the Releases page.

Configuration

Since Spotify requires a special web token to display song lyrics, you need to specify your cookie when you first launch.

  1. Open your browser.
  2. Press F12, open the Network tab and go to open.spotify.com.
  3. Click on the first request to open.spotify.com.
  4. Scroll down to the Request Headers, right click the cookie field and select Copy value.
  5. Paste it when you are asked.

Another way to set cookie is to set the SPOTIFY_COOKIE enviroment variable. You can always clear cookie by running sptlrx --clear.

Information

In development

sptlrx is pretty much ready to use, however you may encounter some bugs. Please open a new issue so that we can fix it quickly. Also, I plan to add additional settings, such as PC-like mode, color text and more. Stay tuned 😉

Delay

For some reason unknown to me, there is a delay in the lyrics on some devices. You can manually adjust the delay by using the “+” and “” symbols on the keyboard (adds or subtracts 100 ms).

License

MIT License, see LICENSE for additional information.

GitHub

View Github