Ported from PR #50 (Themegaindex) onto current main, adapted to the billing-mode app.py and the Lumen dashboard: - subtitles.py: karaoke ASS generation (word-level highlight, glow/pop/box effects, dim/uppercase), whisper continuation-word merging, env-configurable whisper model, ASS/font input sanitization, faststart - editor.py + edit_builder.py: Auto-Edit v2 — Gemini returns a structured edit-decision list and the FFmpeg filter is built deterministically with hard caps (no raw filter strings from the LLM), 2s dry-run + one self-repair round, caption-safe mode blocks zooms on subtitled clips - app.py: /api/subtitle karaoke fields + re-subtitle prefix walk-back (fixes double subtitles), has_captions passed to Auto-Edit - hooks.py: emoji rendering (color-emoji font with strip fallback), char-level hard wrap, unique temp PNGs, ffmpeg timeouts; keeps the duration/enable overlay from |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.