Skip to content

zakstal/aloud-script-editor

Repository files navigation

Script editor demo (top half)

Screenplay Editor

A from-scratch screenplay editor built with Vite, React, and TypeScript using contentEditable for the editor. It tokenizes your input into Fountain-like blocks (scene headings, characters, dialogue, transitions) and keeps a from-scratch undo/redo history persisted in IndexedDB. It also includes auto formatting based on what you type.

This code was extracted from the editor used at aloudstudios.net (https://aloudstudios.net) before migrating to Slate.js.

Running locally

npm install
npm run dev

Then open the URL Vite prints (usually http://localhost:5173).

Notes

  • History is stored in the browser via IndexedDB (Dexie). Use the Reset history button in the UI to clear it.
  • This is a playground: the demo app doesn’t connect to any backend. The saveLines hook just logs changes to the console.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages