yuanbw2025/storyforge
故事熔炉 StoryForge — AI 小说创作工作台 / AI novel writing workshop
What it solves
Writing long fiction gets harder as a story grows: early clues, character states, and subplots become difficult to track. Adapting a novel into a screenplay or comic means reorganizing content for a different medium, and building interactive games usually requires rebuilding a story world from scratch. StoryForge addresses these by giving each output (long novel, short story, screenplay, comic, motion-drama material, tabletop RPG, visual novel, open world) its own production workflow, while sharing one traceable, recoverable AI execution foundation that keeps the author in control.
How it works
- All data stays on your device. Works and saves live in the browser's IndexedDB, and full backups can be exported as JSON. The app runs locally via Node or as a portable package, and the mainline works offline after the initial load.
- Each medium has its own workspace. Long-form uses a four-layer memory (original text, structured facts, summaries, and a retrieval index) so an AI generator can cite earlier chapters before writing new ones. After each chapter, the author confirms what facts, relationships, and clues changed, and the system flags future outlines that may need adjustment.
- AI output appears as candidates first. Only after the author explicitly adopts a candidate does it become official content, with version checks preventing stale candidates from overwriting newer edits.
- A "Harness" layer records each AI task's contract, inputs, candidates, checkpoints, and receipts, connecting them back to the work for recovery and auditing.
- A world engine lets you freeze a version of your setting, characters, and rules. Interactive products (tabletop RPG, character chat, AI town, visual novel, text adventure, open world) then read that frozen version through declared source plans, so playing a game never silently rewrites the original novel.
- Model access is flexible: cloud APIs (OpenAI-compatible), local services like Ollama and LM Studio, or a local Codex app-server that reuses a logged-in ChatGPT account without needing an API key.
- Plugins can be installed per work or world from an in-app workshop (feature plugins, no-code content packs, dependency-locked combos); a public SDK lets developers package .sfplugin files.
Who it's for
Primarily long-form fiction writers (web novels, series), short-story authors, novel-to-screenplay adaptors, comic makers, and creators preparing motion-drama or short-drama production packages. Also for hobbyists who want to build and play tabletop RPG campaigns, visual novels, or 3D text-based open worlds from a frozen story world. Some features are pre-release previews, and the project is developed and maintained by one person, so rough edges are expected.
Highlights
- Built-in playable works: the Mist Harbor visual novel / text adventure (works without any AI API), the Mist Harbor TTRPG with an original 2d6 rule set and an AI Game Master, and three 3D narrative games playable offline after load.
- Long-form pipeline validated at 100k, 300k, and 1M character scales.
- A node-based canvas (preview) lets you visually connect data and generation steps in a workbench.
- A plugin workshop with 12 reference packs covering notes, cards, calendars, timelines, plot boards, node flows, custom AI, and external tools.
- Exports include Markdown, TXT, and JSON for novels; Fountain, FDX, and print for screenplays; PNG, WebP, CBZ, or PDF for comics.
- Local-first privacy: your manuscripts and saves never leave your machine unless you configure a model API.
- MIT licensed, with READMEs in nine languages and an official knowledge base for setup and troubleshooting.
Related
- Project
- Project
- Project
- Project
- Project