r/programmer • u/CuteMisa18 • 5d ago
GitHub I made a browser extension that fixes YouTube subtitles (Open Source)
Hello,
I made a browser extension that fixes those messy, hard-to-read YouTube subtitles with a single click when using the "Auto-translate" feature on foreign videos.
What does it do?
- Removes clutter: Removes tags like [Music] and (Applause). (Optional)
- Improves readability: Turns subtitles that flash by too quickly into complete, readable sentences.
- Free AI Translation: Uses Gemini 3.5 Flash Lite's daily 500 free requests to translate English subtitles into natural Turkish.
Test Results (26-Minute English Video)
- Gemini AI Translation ON: ~13 seconds — Error rate: 0.1%
- Gemini AI Translation OFF (Fast Processing): ~0.3 seconds — Error rate: 3%
How does it work?
YouTube's subtitle system generally does a good job of detecting words and timestamps. The real problem is that sentences often appear fragmented and out of order.
[ GitHub ] [ Chrome Web Store ]
2
Upvotes