Show HN: Branching-story-kit – 207-line zero-dep story-state kernel (MIT)
Category: library
Tags: interactive-fiction, story-engine, zero-dependency, json-schema, state-management
Score: 4.8/10 (Innovation: 4, Technical: 4, Documentation: 7, Utility: 4)
A zero-dependency JavaScript library that implements a branching story-graph engine with state tracking, gated choices, memory logging, save/restore, validation, and a JSON Schema. It targets interactive fiction and visual novel authors, offering a lightweight alternative to full game engines or blank chat interfaces.
Target audience: game developers, interactive fiction authors, frontend developers
Repository: https://github.com/ouba-studio/branching-story-kit · JavaScript · MIT
View on Hacker News