# klembot/twinejs

Twine, a tool for telling interactive, nonlinear stories

Repository: https://github.com/klembot/twinejs
Canonical: https://ross.abutalabs.com/products/twinejs
Homepage: https://twinery.org
Language: TypeScript
License: GPL-3.0
License Family: copyleft
Last push: 2026-08-22T20:29:31+00:00

## Health v2 (maintenance only)
Score: 83/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 54, longevity 100
- inputs: {"age_days": 3145, "days_push": 11, "days_rel": 145, "gap_med": 153, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2869, forks 414 (observed 2026-08-28T04:07:27.019465+00:00)

## What it is
Twine is an open-source tool for writing and publishing interactive, nonlinear stories without needing to code, available as a desktop app (Electron) or in the browser. It publishes stories directly to HTML and supports extensible story formats like Harlowe, SugarCube, Snowman, and Chapbook.

## Use cases
- write interactive fiction without coding
- create branching narrative games
- build choose-your-own-adventure stories
- publish nonlinear stories as HTML
- add variables and conditional logic to stories
- teach game design and narrative writing
- prototype text-based games

## When to choose
- you want a free, open-source visual editor for hypertext fiction
- you need stories that publish to standalone HTML playable anywhere
- you want to start without code but extend with JavaScript and CSS later
- you need cross-platform desktop or browser-based authoring

## When to avoid
- you need a full 2D/3D game engine with graphics and physics
- you require multiplayer or real-time game features
- you want a text adventure parser engine like Inform instead of link-based fiction

## Facets
- artifact type: application
- maturity: active
- function: gui, editor, templating, static-site-generator
- domain: gaming-tools, web-development
- platform: cross-platform, browser, windows
- tags: interactive-fiction, twine, story-editor, visual-editor, hypertext, game-authoring, electron-app, nonlinear-narrative, game-development, creative-writing, desktop, electron, macos, linux

## Member repositories
- klembot/twinejs (main) score 83

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:27.019465+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:55.081214+00:00, confidence not recorded.
  - readme: https://github.com/klembot/twinejs (fetched 2026-08-28T04:07:27.019465+00:00, sha 0a60ba191e62)
  - homepage: https://twinery.org (fetched 2026-08-29T09:52:01.549353+00:00, sha 12406fcdb5f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
