Skip to content

About

Learn vocabulary in any language through the songs you love. A keyboard-first practice app: capture the words you didn't know from each song and drill them with dynamic, cover-tinted backgrounds.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

50 Commits

Folders and files

Repository files navigation

Project by N4DU — now showing: Fable 5

🎵 Songs & Words

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.

Python Flask License Keyboard first

Songs & Words

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.

Why

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.

Screenshots

Home — song library with aurora background Practice — cover-tinted immersive mode
Home — your library, with a living aurora background tinted by your own covers. It reshuffles on every visit. Practice — the song's cover becomes the atmosphere: blurred, darkened, breathing slowly behind the card.
Song editor with word list Practice summary with accuracy
Editor — title, cover image and the word pairs you collected from the song. Summary — first-try accuracy at the end of each session.

Getting started

git clone https://github.com/N4DU/Songs_Words.git
cd Songs_Words
pip install -r requirements.txt
python main.py

That's it — your browser opens automatically. Press Ctrl+C in the terminal (or just close the tab) to stop.

Keyboard controls

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

How it works

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.

License

Copyright © 2026 N4DU

This project is licensed under the GNU Affero General Public License v3.0 — see LICENSE for details. GitHub license

About

Learn vocabulary in any language through the songs you love. A keyboard-first practice app: capture the words you didn't know from each song and drill them with dynamic, cover-tinted backgrounds.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages