I was sitting at home, doing nothing. Saw all my friends pushing repos to GitHub, thought I'd make something too. Only thing on my mind was music. I was on a "music detox" apparently.
When No1 said "olmasa da olurmuş, atmasana Ziya, sigarayı da seni de bırakırdım güya"
That's when this happened.
Enter a song name and artist, lyrics show up line by line with timing. You can also play the mp3 in the background while the lyrics run.
pip install -r requirements.txtOpen main.py and fill in these two lines:
GENIUS_ACCESS_TOKEN_HERE→ get it from genius.com/api-clients (free)GROQ_API_KEY_HERE→ get it from console.groq.com (free) — I'm not crazy enough to pay for an API key, but if you're loaded, feel free to grab the OpenAI one instead
python main.pyEnter song name, artist, and your mp3 path. Leave mp3 empty if you just want the lyrics.
- Python 3.10+
- groq
- lyricsgenius
- pygame