Architecture
AuthorsWorkshop is a local-first web application for manuscript work. Flask + SQLite backend, Vite-bundled vanilla JS frontend. The interface is book-themed and deliberately minimal: six tools, each scoped to a distinct phase of the writing process.
The Author’s Study: main workspace hub. Six modular tools, each scoped to a distinct phase of the manuscript workflow, accessed from a single clean interface.
Core Mechanics
- Style Analysis Engine: A 3-pass parallel pipeline that extracts lexical, structural, and tonal metrics from text to reverse-engineer an author’s prose style into a reusable JSON profile.
- Character Deep Dive Workshop: A multi-threaded NLP suite that identifies characters and runs deep psychological, relationship, and flaw analysis, with a role-play chat mode at the end.
- RAG Chat & Contextual Editor: Users can chat with their document and execute edits where the AI is informed by attached world-building snippets and the active style profile.
- Book Splitter & Multimedia Generation: Splits raw manuscripts into chapters via regex, with dynamic playlist generation, Mermaid.js flowcharts, and Imagen3 character portrait rendering.
Author’s Toolkit: specialized creative-analysis tools. Plot & Pacing renders interactive Mermaid.js flowcharts; Character Deep Dive runs multi-threaded psychological and relationship analysis; Generate Playlist produces scene-matched music selections with custom album art via Gemini.
Editing Discipline
Every AI operation runs context-isolated per user. The author makes all final decisions. The AI proposes; it does not decide.