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.

