Skip to content

About

AI editor for short-form video scripts: highlight any part and rewrite just that. React, Express, Cloud Run.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Script Studio AI

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.

Script Studio editor with a selection ready for an AI rewrite

Features

  • 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

Stack

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).

Run locally

Needs Docker and an OpenRouter API key.

cp .env.example .env   # then set OPENROUTER_API_KEY
docker compose up --build

The 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.

AI use

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.

About

AI editor for short-form video scripts: highlight any part and rewrite just that. React, Express, Cloud Run.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages