{"schemaVersion":"1.0","record":{"label":"Tweego","description":"Command-line compiler for text-authored Twine and Twee interactive stories.","aliases":[],"kind":"software","website":"https://www.motoslave.net/tweego/","overview":"Tweego compiles interactive stories from plain-text sources into HTML using a Twine story format. It lets writers keep passages in one or several files and use a separate text editor. The compiler replaces part of the authoring and build workflow, while the selected story format supplies the player-facing runtime.","license":"BSD-2-Clause compiler; story formats and bundled content have separate terms","lifecycle":"active","example":false,"features":[{"name":"Text-to-HTML compilation","status":"supported","detail":"Combines passage files with a selected story format.","useCase":"Text-based authoring and compilation of Twine stories","platforms":["Windows","macOS","Linux","Web output"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.motoslave.net/tweego/","locator":"Text-editor workflow; listed Windows, macOS and Linux packages","retrievedAt":"2026-10-07T20:53:12Z","kind":"vendor"}]},{"name":"Watch rebuilding","status":"supported","detail":"Rebuilds after input changes; release 2.1.1 fixed a rename/move crash.","useCase":"Text-based authoring and compilation of Twine stories","platforms":["Windows","macOS","Linux","Web output"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.motoslave.net/tweego/releases.php","locator":"2.1.1 watch fix; 2.0 Twee 3 support; archive and decompilation changes","retrievedAt":"2026-10-07T20:54:04Z","kind":"vendor"}]},{"name":"Story-format compatibility","status":"limited","detail":"Strict format decoding can reject malformed packages; media-passage support depends on runtime.","useCase":"Text-based authoring and compilation of Twine stories","platforms":["Windows","macOS","Linux","Web output"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.motoslave.net/tweego/docs/","locator":"Story formats, input processing, watch mode and version selection","retrievedAt":"2026-10-07T20:53:58Z","kind":"vendor"}]}],"alternatives":[],"slug":"tweego","draftAlternatives":[{"targetSlug":"twine","status":"limited","detail":"Replaces visual-editor authoring with text files and command-line compilation for compatible stories, while retaining a Twine story format.","useCase":"Text-based authoring and compilation of Twine stories","platforms":["Windows","macOS","Linux","Web output"],"region":"Version, build and integration requirements apply","evidence":[{"url":"https://www.motoslave.net/tweego/","locator":"Text-editor workflow; listed Windows, macOS and Linux packages","retrievedAt":"2026-10-07T20:53:12Z","kind":"vendor"},{"url":"https://twinery.org/","locator":"Visual nonlinear story authoring and HTML output","retrievedAt":"2026-10-07T20:47:21Z","kind":"vendor"}]}],"evidence":[{"url":"https://www.motoslave.net/tweego/","locator":"Text-editor workflow; listed Windows, macOS and Linux packages","retrievedAt":"2026-10-07T20:53:12Z","kind":"vendor"},{"url":"https://www.motoslave.net/tweego/docs/","locator":"Story formats, input processing, watch mode and version selection","retrievedAt":"2026-10-07T20:53:58Z","kind":"vendor"},{"url":"https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md","locator":"Passage headers, metadata and StoryData","retrievedAt":"2026-10-07T20:54:04Z","kind":"vendor"},{"url":"https://www.motoslave.net/tweego/releases.php","locator":"2.1.1 watch fix; 2.0 Twee 3 support; archive and decompilation changes","retrievedAt":"2026-10-07T20:54:04Z","kind":"vendor"},{"url":"https://github.com/tmedwards/tweego/blob/master/LICENSE","locator":"Two-clause redistribution license and disclaimer","retrievedAt":"2026-10-07T20:54:04Z","kind":"vendor"},{"url":"https://twinery.org/","locator":"Visual nonlinear story authoring and HTML output","retrievedAt":"2026-10-07T20:47:21Z","kind":"vendor"},{"url":"https://twinery.org/reference/en/publishing/publishing.html","locator":"HTML distribution and hosting distinction","retrievedAt":"2026-10-07T20:54:18Z","kind":"vendor"}],"document":{"version":1,"references":[{"url":"https://www.motoslave.net/tweego/","locator":"Text-editor workflow; listed Windows, macOS and Linux packages","retrievedAt":"2026-10-07T20:53:12Z","id":"home","title":"Tweego overview and downloads","kind":"vendor"},{"url":"https://www.motoslave.net/tweego/docs/","locator":"Story formats, input processing, watch mode and version selection","retrievedAt":"2026-10-07T20:53:58Z","id":"docs","title":"Tweego documentation","kind":"vendor"},{"url":"https://github.com/iftechfoundation/twine-specs/blob/master/twee-3-specification.md","locator":"Passage headers, metadata and StoryData","retrievedAt":"2026-10-07T20:54:04Z","id":"spec","title":"Twee 3 specification","kind":"vendor"},{"url":"https://www.motoslave.net/tweego/releases.php","locator":"2.1.1 watch fix; 2.0 Twee 3 support; archive and decompilation changes","retrievedAt":"2026-10-07T20:54:04Z","id":"release","title":"Tweego release notes","kind":"vendor"},{"url":"https://github.com/tmedwards/tweego/blob/master/LICENSE","locator":"Two-clause redistribution license and disclaimer","retrievedAt":"2026-10-07T20:54:04Z","id":"license","title":"Tweego license","kind":"vendor"},{"url":"https://twinery.org/","locator":"Visual nonlinear story authoring and HTML output","retrievedAt":"2026-10-07T20:47:21Z","id":"twine","title":"Twine overview","kind":"vendor"},{"url":"https://twinery.org/reference/en/publishing/publishing.html","locator":"HTML distribution and hosting distinction","retrievedAt":"2026-10-07T20:54:18Z","id":"publish","title":"Publishing a Twine story","kind":"vendor"}],"overviewCitations":["home","docs"],"licenseCitations":["license"],"sections":[{"id":"workflow","heading":"Authoring workflow","paragraphs":[{"id":"workflow-detail","content":[{"text":"Writers organize passages in their preferred editor and compile a playable HTML artifact when they want to test or distribute the story. Splitting a project into ordinary text files can make changes easier to inspect in a source-control workflow. This is useful when editing prose alongside code, but it does not provide Twine's visual story-map interface."}],"citations":["home","twine"]}]},{"id":"notation","heading":"Passages and project metadata","paragraphs":[{"id":"notation-detail","content":[{"text":"Twee 3 identifies each passage with a header followed by its content. Headers can carry tags and position or size metadata, while the StoryData passage holds project-level information such as the story identifier, starting passage and story-format details. This distinction allows textual sources to retain organizational information without treating passage coordinates as narrative logic. The specification recommends UTF-8 and unique passage names."}],"citations":["spec"]}]},{"id":"formats","heading":"Runtime and media boundaries","paragraphs":[{"id":"formats-detail","content":[{"text":"The compiler must locate an installed story format. Its default is SugarCube 2, but other formats can be selected. Format decoding is strict, so a malformed package may fail even if another tool accepts it. Embedded image, audio and video passages also depend on support in the selected runtime. Bundling a file is therefore not proof that every story format can display or play it."}],"citations":["docs"]}]},{"id":"build","heading":"Rebuilding and version selection","paragraphs":[{"id":"build-detail","content":[{"text":"Watch mode rebuilds changed inputs. StoryData's format-version selects the highest installed release within the specified major version, rather than necessarily pinning the exact version written there; selecting a format ID gives more explicit control. Directories are searched recursively, so unrelated assets should be kept outside the input tree when they should not be bundled."}],"citations":["docs"]}]},{"id":"interchange","heading":"Interchange and release history","paragraphs":[{"id":"interchange-detail","content":[{"text":"Tweego's documented history includes Twine archive output, HTML decompilation fixes, and the addition of Twee 3 with read-only support for unofficial Twee2 notation. These provide practical interchange routes, but should not be interpreted as a universal conversion between story formats' macros. The download page lists version 2.1.1 packages for Windows, macOS and Linux; this does not verify compatibility with every current operating-system release or processor architecture."}],"citations":["release","home","docs"]}]},{"id":"distribution","heading":"Distribution and licensing","paragraphs":[{"id":"distribution-detail","content":[{"text":"The compiler is distributed under a two-clause BSD license, permitting source and binary redistribution with the required notices and disclaimer. A game's selected runtime and included media need their own licensing review. As with other Twine HTML output, generating the file is separate from hosting it: a download service may let readers obtain the file without offering in-browser play."}],"citations":["license","publish"]}]},{"id":"comparison","heading":"Substitution considerations","paragraphs":[{"id":"comparison-detail","content":[{"text":"Tweego can substitute for the authoring-and-compilation portion of "},{"text":"Twine","targetSlug":"twine"},{"text":" when a team prefers text files and scripted builds. It can also complement that ecosystem rather than replace the runtime. The choice is chiefly about how a story is maintained: a text-editor workflow trades visual passage arrangement for explicit source files. Existing stories still need testing with their chosen format; no automatic migration or hands-on compatibility testing is claimed here."}],"citations":["home","twine","spec"]}]}]},"id":"Q205","revision":189,"updatedAt":"2026-10-10T14:37:58Z","sourceUrl":"https://substitutefor.net/entities/Q205?revision=189"}}