Repository navigation
SubGen 0.5.0
Highlights
- Clean URLs. The web UI uses real paths (
/queue,/editor/12,/settings?tab=security) instead of#/…. Reloads and bookmarks work, signed-out visitors return to the page they asked for after signing in, and old#/bookmarks are upgraded automatically. - Two-factor sign-in from Settings. Turn it on in Settings → Security with a setup key and a confirmation code. Sign-in asks for the six-digit code on a second step, only when it is on.
SUBGEN_TOTP_SECRETstill works as an override. - Default models install themselves. Whisper Small and NLLB-200 600M are built in and install automatically when missing; the queue waits while they download. When you switch models, SubGen offers to delete the previous one or keep it. Any model not in use can be deleted.
- Arabic and other right-to-left subtitles. Each line starts with a right-to-left marker (U+202B), so players that lay lines out left to right keep
.,!and dialogue dashes on the correct side. - Simpler login page. The decorative timecode block is gone.
Upgrade notes
- The first start downloads about 3 GB of models if
/modelsdoesn't already have them. On servers without internet, setSUBGEN_AUTO_INSTALL_MODELS=falseand copy models in manually. SUBGEN_WHISPER_MODELandSUBGEN_TRANSLATION_MODELare no longer read. Choose models on the Models page.- Right-to-left subtitles written by earlier versions keep the old layout until you regenerate them or re-save them in the editor.
- API:
POST /api/loginanswers{ok: false, totp_required: true}when a code is needed; send it toPOST /api/login/totp, or includetotp_codein the first request. New endpoints:/api/totp,/api/totp/setup,/api/totp/enable,/api/totp/disable.GET /api/modelsaddsselected;POST /api/models/selectreturnsprevious. See docs/API.md.
Container
docker pull ghcr.io/fahed-alhammadi/subgen:0.5.0
Back up /config before upgrading, then run docker compose pull && docker compose up -d.
Full changes: v0.4.0...v0.5.0