Learn vocabulary in any language through the songs you love.
A keyboard-first practice app that lets you capture the words you didn't know from each song and drill them with dynamic, cover-tinted backgrounds.
Learn vocabulary through the songs you love.
A keyboard-first app that lets you capture the words you didn't know from each song and drill them until they stick.
Songs are full of words you almost know. Songs & Words turns that into a study system: every time a song teaches you something new, you save the word under that song — and later you practice them song by song, with the whole screen taking on the mood of that song's cover art.
It works with any pair of languages: one column holds the word as it is sung, the other holds what it means to you. The interface itself is available in ten languages, selectable from the settings screen — and answer checking has a leniency rule designed for each one of them, from ß = ss in German to katakana = hiragana in Japanese, each with its own switch in the settings.
No accounts, no cloud, no tracking. Everything lives in a local SQLite database on your machine.
git clone https://github.com/N4DU/Songs_Words.git
cd Songs_Words
pip install -r requirements.txt
python main.pyThat's it — your browser opens automatically. Press Ctrl+C in the terminal (or just close the tab) to stop.
| Key | Action |
|---|---|
↑ ↓ |
Move through songs / options |
← → |
Move between buttons · open a song's action menu |
Space |
Select / deselect a song for practice |
Enter |
Confirm · check your answer |
Backspace |
On an empty word row in the editor: remove it |
Esc |
Go back · end practice · exit |
main.py → entry point: free port, browser launch, console banner
app/ → Flask backend
├── config.py → paths and constants
├── database.py → SQLite schema + queries (songs, words, settings)
├── api.py → REST API (CRUD, practice, settings)
├── server.py → app factory
└── lifecycle.py → clean shutdown when the tab closes (sendBeacon)
static/ → frontend, no frameworks
├── index.html
├── css/styles.css → dark glassmorphism + aurora
└── js/ → ES modules: views, color engine, keyboard router
translations.csv → every interface text, one column per language
tools/build_i18n.py → regenerates static/js/i18n.js from the CSV
To fix or add a translation, edit translations.csv — any spreadsheet program
opens it, and GitHub renders it as a table — then run python tools/build_i18n.py.
The color engine (static/js/color.js) downsamples each cover on a canvas, extracts its
dominant hues for the theme, and reuses a tiny blurred copy of the image itself as the
practice backdrop — so the atmosphere comes from the whole artwork, not a single color.
Copyright © 2026 N4DU
This project is licensed under the GNU Affero General Public License v3.0 — see LICENSE for details.




