A simple command-line tool that fetches lyrics for your music collection and prints a random lyric line — like the classic fortune command, but for your songs.
- 🔍 Automatically fetches lyrics for your local music directory (optional).
- 🎲 Picks a random lyric line and prints it to the console.
- 🎤 Optional flags to show artist and/or song title (currently parses filename, metadata support coming soon).
git clone https://github.com/rexept/verse.git
cd verseTaglib (C), Mutagen(Python)
Install with your local package manager.
Edit these lines in the python script to your desired directories (defaults shown):
MUSIC_DIR = os.path.expanduser("~/music")
LYRICS_DIR = os.path.expanduser("~/.lyrics")make LYRICS_DIR=<your lyrics directory here, defaults to $HOME/.lyrics>sudo make LYRICS_DIR=<your lyrics directory here, defaults to $HOME/.lyrics> installverse [FLAGS]verse --show-artistOutput:
The Beatles
And in the end, the love you take is equal to the love you make.
Thanks to termshot for the amazing command screenshot!
