This repo contains a local-first desktop app (Windows + Linux target) that generates karaoke ASS/SSA subtitle files from:
- a vocal stem audio file (user-provided)
- a lyrics text file (user-provided)
Primary output is ASS with karaoke tags, such as \kf. The worker also emits a .ssa compatibility copy by default.
Docs:
spec.md- architecture and requirementswip.md- implementation checklistservices/worker/README.md- worker detailsapps/desktop/README.md- desktop app detailssamples/README.md- sample assets and example job config
- Python worker MVP (
services/worker/) that generates:lyrics_karaoke.asslyrics_karaoke.ssa(compatibility copy)- optional exported audio (
audio.wav,audio.mp3, oraudio.ogg) job.jsonmetadata
- Electron + Vue desktop UI (
apps/desktop/) with screens:- Projects
- New Job
- Run Status
- Preview
- Export
The desktop workflow starts with project organization, runs a karaoke generation job, previews synced lyrics, and then exports generated files.
From repo root:
python -m venv .venv
.venv\Scripts\python -m pip install -U pip
.venv\Scripts\python -m pip install -e services\worker
.venv\Scripts\python -m pip install -r services\worker\requirements.txtThis repo does not commit large audio/model assets into samples/, so the sample job references the repo's existing local audio:
samples\run_sample_windows.cmdOutputs land in:
out\sample-run\lyrics_karaoke.assout\sample-run\lyrics_karaoke.ssaout\sample-run\audio.wav(if enabled)out\sample-run\job.json
From repo root:
npm.cmd --prefix apps/desktop install
npm.cmd --prefix apps/desktop run devThen in the UI:
- Run a job in New Job
- Inspect progress in Run Status
- Preview karaoke in Preview
- Copy/save outputs in Export
- ffmpeg is vendored for dev under
tools/ffmpeg/.../bin/ffmpeg.exeand the worker auto-discovers it. - Models are cached in
services/worker/models(dev) or next to the packaged worker executable.




