← all repositories
sigpanic/goink

An AI novelist that actually remembers chapter 3

Goink is a desktop writing system where the agent maintains its own structured memory of characters, foreshadowing, and arcs — so it stops forgetting your protagonist's name by chapter five.

goink
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

What it does Goink is a cross-platform desktop app (Go + Wails, React frontend) for writing long-form fiction with an LLM agent. Instead of a chat that forgets everything, it keeps structured state: character profiles, relationships as a directed graph, foreshadowing with target-recovery chapters, story arcs, a location map, and even what the reader currently knows. The agent queries and updates this state itself via 31 function-calling tools in a self-built ReAct loop.

The interesting bit After finishing a chapter, the system forces the agent into maintenance mode — checking character changes, overdue foreshadowing, arc progress — and an optional reviewer sub-agent re-reads the chapter against the state to catch inconsistencies. There’s also local semantic search (BGE model via ONNX, sqlite-vec) so “that pendant scene” is findable by meaning, fully offline.

Key highlights

  • Every edit goes through a Diff preview you approve before it’s written; all changes auto-committed to built-in Git for rollback
  • Skill system: writing methodologies as .md files, three override layers (novel > user > builtin) with hot reload, plus a style-distillation feature that turns a sample passage into an imitative skill
  • Volumes and chapters are first-class structures with drag-and-drop reordering
  • File access sandboxed to a regex whitelist of legitimate paths, with path-traversal protection
  • Ships as a single <60MB installer — no Python, Node, database, or GPU required

Caveats

  • Requires an external LLM API key (DeepSeek, GLM, MiMo templates, OpenAI-compatible); the semantic model runs locally but generation does not
  • Windows builds are unsigned, so SmartScreen will complain
  • AGPL v3, which matters if you’re thinking of embedding it in anything proprietary

Verdict Worth a look if you write (or want to write) long fiction and are tired of babysitting an LLM’s memory. If you just want a chatbot to draft a short story, it’s more machinery than you need.

Frequently asked

What is sigpanic/goink?
Goink is a desktop writing system where the agent maintains its own structured memory of characters, foreshadowing, and arcs — so it stops forgetting your protagonist's name by chapter five.
Is goink open source?
Yes — sigpanic/goink is open source, released under the AGPL-3.0 license.
What language is goink written in?
sigpanic/goink is primarily written in Go.
How popular is goink?
sigpanic/goink has 504 stars on GitHub.
Where can I find goink?
sigpanic/goink is on GitHub at https://github.com/sigpanic/goink.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.