notnotype/neuro-book
About
A creative writing IDE built for long-form fiction, where everything is a plugin. It combines a Markdown workspace, an event-sourced worldbuilding engine, plot tracking, and agent-assisted editing workflows.
Developer ToolsMeasured star growth
- in 24h
- +2
- in 7 days
- +16
- in 15 days
- +30
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.en.md
OriginalThe creative writing IDE that gets your novel finished.
Download Desktop · Quick Start · Core Capabilities · Why It Works This Way · Write a Plugin · Roadmap
简体中文 · English
Everyone has a novel in them, and most of those novels die halfway — not from lack of talent, but from lack of engineering. NeuroBook is a creative writing IDE for long-form fiction that brings software engineering practice and creative writing methodology onto one desk. You keep full creative authorship; agents sit beside your desk to assist with brainstorming, editorial review, lore organization, research, and rough drafting — never taking over your voice. Your book lives in your own Markdown folder, ready to take anywhere.
[!NOTE] Currently in canary (0.19.x). The workbench, Markdown editor, World Engine, plot tracking views, agent assistance with built-in companion Lyra, plugin platform, and desktop builds are all working and actively evolving (see the roadmap). APIs and details may still change; feedback is welcome.
Core capabilities
|
Long-Form Markdown Workbench Drag, split, and maximize IDE panes with persisted layouts and themes; manage binders ( .binder) and plain folders side by side; dual rich-text/source Markdown editor with document properties, margin comments, and instant external file sync.
|
Event-Sourced World Engine Maintain characters, factions, locations, items, and concepts on a story timeline; switch to any chapter to compute exact entity states and inspect change provenance, with inline edits, undo receipts, and revision history. |
|
Plot Tracking & Secrets Matrix Global tables for Who Knows What (character & reader knowledge matrix), Foreshadowing Ledger, and Goals, synchronized with plotlines, character entries, and your active chapter position. |
Author-First Agents & Open Plugins Built-in companion Lyra and custom agents assist with critique, brainstorming, research, and lore upkeep behind tiered approval gates; views, commands, menus, settings, and editors are all plugin-extensible. |
Draft and review in one workbench
Arrange the activity bar, dual sidebars, split editor groups, bottom panel, and command palette (Ctrl/Cmd+Shift+P) however you write best. Built-in companion Lyra and configurable agents sit in the right rail with multi-provider model routing, role tiers, Skills, stickers, and inline selection actions — while authorship stays firmly in your hands.
World Engine: canon that evolves chapter by chapter
Static story bibles drift the moment a novel grows past ten chapters. The World Engine stores lore changes along your story timeline: pick any chapter checkpoint to inspect a character's exact appearance, resources, and relationships at that point in the narrative, and click any updated value to trace the exact revision and chapter source.
Demo: switching timeline positions (Initial → End of Chapter 1 → End of Chapter 2) recomputes live attributes, then clicking 24,500 opens its change provenance.
Plot tracking: keep secrets and foreshadowing in sight
Suspense depends on controlling who knows what — and when the reader finds out. Built-in global views cover Who Knows What, the Foreshadowing Ledger, and Goals, aligning character knowledge, reader perspective, and reveal plans at every chapter.
Study & Bookshelf: pick up right where you left off
Open NeuroBook to your study desk: today's word delta, total word count, writing and model usage statistics (heatmaps and trends), recent manuscript excerpts, and one-click resume across all your book folders.
Why it works this way
Language models can produce a fluent paragraph, yet long-form fiction breaks down without engineering: lore buried in chat history drifts; foreshadowing planted early is forgotten chapters later; drafts, worldbuilding, and plot discussions splinter across separate apps.
Every core design in NeuroBook has a lineage — proven software engineering practice on one side, creative writing theory on the other:
| NeuroBook feature | Software engineering heritage | Creative writing heritage |
|---|---|---|
| World Engine | Event Sourcing (Martin Fowler) | The Story Bible |
| Foreshadowing ledger | Technical debt tracking (Ward Cunningham) | Chekhov's gun; Sanderson's promise / progress / payoff |
| Chapter information control | Least privilege / information hiding | Hitchcock's bomb under the table |
| Carrier / causal trees | Separation of concerns | fabula / sjuzhet |
| Creative decision records | ADRs (Michael Nygard) | The Chinese commentary tradition (Jin Shengtan, Zhiyanzhai) |
| Modes + approval gates | Code review, plan / apply | Editorial review |
Quick start
| Option | Platform | Download / Run |
|---|---|---|
| Desktop app (recommended) | Windows (x64) | Download the installer (Setup.zip) or portable archive (portable.zip) from GitHub Releases — bundled runtime, no Bun required |
| Desktop app (preview) | macOS (Apple Silicon) | Download macos-arm64.dmg from GitHub Releases |
CLI / browser (nbook) |
Linux / macOS / Windows | Requires Bun 1.4.4+; install globally and run nbook |
bun add -g @notnotype/neuro-book
nbook
Desktop builds are not yet code-signed; see the release notes for first-launch instructions on Windows SmartScreen and macOS Gatekeeper. The desktop app and
nbookshare the same data directory (~/.local/share/neuro-bookon Linux), and books default toNeuroBookunder your documents folder (~/NeuroBookwhen none exists).nbookbinds to loopback only; on a remote host, forward it withssh -L 4217:127.0.0.1:4217 <host>. Options and upgrade details live in the app package notes (Chinese).
Write a plugin

Workbench views, commands, menus, status bar items, settings sections, and editors are all extensible — built-in features use the exact same plugin system. Plugins are written in TypeScript and Vue; @notnotype/nb-plugin-sdk ships the author command nbooke with no global install required:
bunx -p @notnotype/nb-plugin-sdk nbooke create my-plugin
cd my-plugin && bun install
bun run build
nbook plugin install dist
The generated plugin adds a view to the sidebar, a command to the palette, and an entry to settings — change it and it's yours. Author docs, available APIs, and examples are in the SDK author guide (Chinese). Plugins are fully trusted and can access all your books and machine resources; install only from sources you trust.
Roadmap

With the workbench, World Engine, plot views, agent assistance, and desktop builds landed in 0.19.x, next up are:
- Full Plot Workbench: chapter worksheets, interactive timelines, carrier / causal tree views, inline table editing, and creative decision records (ADRs).
- Companion Long-Term Memory & Scheduled Tasks: cross-session memory and periodic review for Lyra and custom companions so you stop repeating context across a long book.
- Image Generation & Visual Asset Workbench: recipe workbench, tag library, and book asset management for character portraits and illustrations (see the Image Generation v1 proposal, Chinese).
- Cross-Platform Packaging & Ecosystem: code-signed desktop builds, Linux desktop packages, workbench polish, and plugin ecosystem growth.
Usable on its own today: the story graph nbstory, which turns a novel into a spoiler-free memory graph you can query by reading position, with a CLI, web viewer, built-in Q&A, and a Skill for external agents (bun add -g @notnotype/nb-story; see nb-story).
Developer reference
Run from source & workspace overview
Run from source: bun install at the repository root, then bun run dev in packages/neuro-book. Package responsibilities and dependency directions are in Monorepo module boundaries, the workflow in the contributing guide, and the current state in PROJECT-STATUS.md (all in Chinese).
Published npm packages (@notnotype, 13 packages)
All published under @notnotype on npm, licensed AGPL-3.0-only except nb-layout (MIT). The app and the SDK ship build output (ADR 0033); nb-layout ships compiled output for any Vue 3 and Vite host, not only Bun; the rest ship source and run on Bun only (ADR 0029).
| Package | Contents |
|---|---|
@notnotype/neuro-book |
The NeuroBook app and the nbook command |
@notnotype/nb-plugin-sdk |
Plugin SDK and the nbooke author command |
@notnotype/nb-story |
Story graph: the nbstory CLI, local web viewer and Q&A, a Skill for external agents |
@notnotype/nb-harness |
Agent harness: profiles, tools and a run |
@notnotype/nb-profile |
Profile definition, loading and JSX rendering |
@notnotype/nb-session |
Agent session logs |
@notnotype/nb-flock |
Process-level exclusive file lock, released when the process exits |
@notnotype/nb-runtime |
Kernel: lifecycle, services, plugins, startup gates, diagnostics, remote services |
@notnotype/nb-ui |
Vue base components and themes (compiled by the host with Vite and Tailwind v4) |
@notnotype/nb-agent-ui |
Agent conversation view |
@notnotype/nb-form |
Forms drawn from a data schema |
@notnotype/nb-markdown |
Markdown language, codecs and components |
@notnotype/nb-layout |
Layout: nested grid, size solver, drop targets and Vue components (MIT, published as compiled output, see ADR 0054) |
Previous version (0.10.x)
0.10.x (Windows portable build, NeuroBook Manager, Docker) is on Releases and no longer maintained; its documentation is in docs/archived/.
Community
- 💬 Discord: https://discord.gg/bSQB7mNpHB
- 🐧 QQ group: 287447372
Come say hi — feature requests, bug reports, or just tell us about the book you're writing.
License
NeuroBook is free and open-source software licensed under the GNU Affero General Public License v3.0 only, identified by the SPDX expression AGPL-3.0-only. The license permits use, study, modification, distribution, and commercial use. Modified versions that are distributed or made available to users over a network must provide the corresponding source code under the AGPLv3.
The NeuroBook name, logo, and mascot "Lyra" are not covered by the AGPL and remain all rights reserved; see BRAND.md for nominative use, non-commercial fan works, and what a fork must replace. Original works created, edited, or published with NeuroBook do not automatically become subject to the AGPL merely because the software was used. Independently licensed third-party components in this repository remain under their respective licenses. The layout library packages/nb-layout (@notnotype/nb-layout) is an exception, licensed under MIT (ADR 0054). Copyright © 2026 notnotype.
Star History
Explore related projects
Loading…