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)
$ 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]
…
cargo install --path .nix build
./result/bin/spotify-lyricsnix develop # enter devShell with Rust + rust-analyzer + claude-code
cargo build
cargo test # unit tests run offline; integration tests require networkrustup show # ensure toolchain is installed
cargo build
cargo testThis 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.
MIT — see LICENSE.
