The subtitle modal had no size control: the font size was pinned at 24 while clips ship at 44, so re-applying captions from the modal halved them. It now opens on the shipped look and offers S/M/L/XL, with fewer characters per line as the text grows so a line still fits the 9:16 frame. New in generate_ass: a "highlight" effect (opaque box behind the active word via a second BorderStyle 3 style, black text on light boxes), "reveal" (words appear as they are spoken), a drop shadow, and an outline of 0 when a shadow carries the contrast. /api/subtitle takes reveal, shadow, max_chars (1 = one word at a time) and max_duration. Presets added: Default, Hormozi, Pill, Lime box, One word, Clean. Anton and Montserrat are selectable, and the preview uses the burn's scale and line budget so what plays in the modal is what gets burned. |
||
|---|---|---|
| .. | ||
| public | ||
| seo | ||
| src | ||
| tools | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite-plugin-seo.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.