Thanks for wanting to help. Here's what you need to know.
git clone https://github.com/xy3/suba
cd suba
uv tool install . --with openai-whisperYou'll also need ffmpeg on your system.
python main.py subtitles.srt video.mkvNo build step needed — it's a single file.
Everything is in main.py (~340 lines). There are no external Python dependencies beyond openai-whisper, and even that is intentionally left out of pyproject.toml to keep the package dependency-free.
- Support for more subtitle formats (ASS, SSA, SUB)
- Progressive sync (non-constant drift correction)
- Better language detection for mixed-language subtitles
- Tests (there are currently none)
- CI/CD for automated testing
- Make sure
python main.py subs.srt video.mkvworks end-to-end - Keep the single-file structure unless there's a compelling reason to split
- Don't add
openai-whispertopyproject.toml— it's handled byuv tool install --with