Skip to content

birkhofflee/spotify-lyrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotify-lyrics

CLI tool to query and display the lyrics of your currently playing Spotify track with optional English translation.

Internet access is required (Genius.com is queried at runtime, however no API key required)

Screenshot

Usage

$ spotify-lyrics --help
Fetch and display lyrics for the current Spotify track (only on macOS), or a queried song

Usage: spotify-lyrics [QUERY]

Arguments:
  [QUERY]  Search query (e.g. "Bohemian Rhapsody Queen"). Defaults to the current Spotify track

Options:
  -h, --help     Print help
  -V, --version  Print version

Output example:

Now playing: Storie Brevi — Calcutta
Lyrics: https://genius.com/Calcutta-storie-brevi-lyrics
Translation: https://genius.com/Genius-english-translations-…

[Verse 1]
Sembra l'agosto del '96
It feels like August '96
Questa mattina tutti sanno che love is in the air
This morning everyone knows that love is in the air

[Chorus]
…

Installation

Via Cargo

cargo install --path .

Via Nix

nix build
./result/bin/spotify-lyrics

Development

With Nix

nix develop        # enter devShell with Rust + rust-analyzer + claude-code
cargo build
cargo test         # unit tests run offline; integration tests require network

Without Nix

rustup show        # ensure toolchain is installed
cargo build
cargo test

Legal Disclaimer

This tool is intended for personal use only to view and learn song lyrics while listening to music you already have access to. It does not store, redistribute, or reproduce lyrics beyond your own screen. Lyrics displayed are sourced from Genius.com and remain the intellectual property of their respective rights holders. Use of this tool does not grant any rights to the underlying lyrical content. The author is not responsible for any misuse.

License

MIT — see LICENSE.

About

Fetch Genius lyrics for the currently playing Spotify track on macOS

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors