A sleek Python CLI tool that displays synchronized lyrics (from lrclib.net) directly in your terminal with smooth typing animation, dynamic coloring, and live timing.
- 🎧 Fetches synced lyrics from lrclib.net automatically
- 🕐 Perfectly timed display according to
.lrctimestamps - ⌨️ Smooth typewriter effect with customizable speed
- 🌈 ANSI-colored text and blinking cursor effects
- ⏩ Adjustable playback speed & start time
If you like this project, please star on this repository, thank you ⭐
You can support me by:
-
Install Python 3.8+
Download from python.org/downloads.
Make sure to check ✅ “Add Python to PATH” during setup.Verify the installation:
python --version
-
(Optional) Install
requestspip install requests
If you don’t install
requests, the script will automatically fall back to Python’s built-inurllib. -
Clone this repository
git clone https://github.com/abdipr/python-lyrics.git cd python-lyrics
Basic command:
python main.py --track "Song Name" --artist "Artist Name"Example:
python main.py --track "XXL" --artist "LANY"Start playback from a specific time:
python main.py --track "XXL" --artist "LANY" --start 0:30Speed up or slow down lyric timing:
python main.py --track "XXL" --artist "LANY" --speed 1.25| Option | Description | Example |
|---|---|---|
--track |
Track title (required) | --track "ILYSB" |
--artist |
Artist name (optional) | --artist "LANY" |
--start |
Start time in mm:ss or seconds |
--start "1:20" |
--speed |
Playback speed multiplier | --speed 0.8 |
- The script queries lrclib.net for a song’s synced lyrics.
- It parses
[mm:ss.xx]timestamps from the LRC format. - Each lyric line appears at the correct time, letter-by-letter, with color and cursor animation.
- Past lines are dimmed, while the active line is displayed brightly in cyan.
Now playing: LANY — XXL
Start offset: 0.00s | Speed: x1.0
Bloodstream full of desert lightnin'
Thank God I'm not drivin'
A blur the whole way home
I still remember █
- Python 3.8+
requests(optional)- ANSI escape codes for color and cursor control
- CLI-based UX with
argparse
python-lyrics/
├── main.py # Main executable script
├── README.md # Documentation
└── snapshot.png # Example screenshot
- Lyrics data: lrclib.net
- Terminal color codes inspired by classic Linux CLI tools
This project is licensed under the MIT License — feel free to modify and distribute.
Made with ☕ and 🎧 by abdipr.

