An editor for short-form video scripts. Generate a script from a prompt, then highlight any part of it and say what to change. Only the highlighted text is rewritten, and you approve or reject each edit before it's applied.
Built for a class project in fall 2025.
- Generate a script from a topic and target length
- Rewrite only the selected text, with a before/after preview and undo
- Library of saved scripts, stored in the browser
- Use your own OpenRouter key and model, or the shared demo key
React, TypeScript, Vite and Tailwind on the front end. Node, Express and TypeScript on the back end, calling OpenRouter's chat completions API. Jest tests for the API. Both run in Docker and deployed to Google Cloud Run (GitHub Actions workflow and Cloud Build configs included).
Needs Docker and an OpenRouter API key.
cp .env.example .env # then set OPENROUTER_API_KEY
docker compose up --buildThe front end runs on http://localhost:3000 and the API on http://localhost:8080. Run npm test in backend/ for the tests.
The hosted demo is offline.
Built with AI coding tools. They drafted much of the API, the selection-replace logic, the tests, and the Docker and CI setup. I reviewed, tested and debugged the result.
