PyLyric is a lightweight, terminal-based utility written in Python for searching and managing song lyrics. It provides a clean terminal user interface (TUI) powered by curses, allowing you to find lyrics online and save them for offline access.
- Terminal User Interface (TUI): Navigate through menus easily using arrow keys or Vim-style (
j/k) bindings. - Online Search: Instantly fetch lyrics from AZLyrics.
- Offline Viewing: Lyrics are automatically saved to your local storage for viewing without an internet connection.
- Cache Management: Easily clear your saved lyrics directly from the application menu.
| Main Menu | Offline Library | Lyrics View |
|---|---|---|
![]() |
![]() |
![]() |
- Python 3.x
- pip (Python package manager)
- Unix-like OS: Linux or macOS (uses standard
curses).
-
Clone the repository:
git clone https://github.com/tarball0/pylyric.git cd pylyric -
Install dependencies:
pip install -r requirements.txt
To start the application, run:
python src/lyric.py- Arrow Keys / J, K: Navigate the menu.
- Enter: Select an option.
PyLyric saves your lyrics in a directory named .pylyric located in your home directory (~/.pylyric/).


