substitutefor

software · Q205

Tweego

Command-line compiler for text-authored Twine and Twee interactive stories.

Suggest a correction

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.[1][2]

Authoring workflow

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.[1][6]

Passages and project metadata

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.[3]

Runtime and media boundaries

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.[2]

Rebuilding and version selection

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.[2]

Interchange and release history

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.[1][2][4]

Distribution and licensing

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.[5][7]

Substitution considerations

Tweego can substitute for the authoring-and-compilation portion of Twine 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.[1][3][6]

Capabilities & limitations

Text-to-HTML compilation

supported

Combines passage files with a selected story format.[1]

Text-based authoring and compilation of Twine stories · Windows, macOS, Linux, Web output · Version, build and integration requirements apply

1 source · check evidence
https://www.motoslave.net/tweego/

Text-editor workflow; listed Windows, macOS and Linux packages

vendor · checked 2026-10-07

Watch rebuilding

supported

Rebuilds after input changes; release 2.1.1 fixed a rename/move crash.[4]

Text-based authoring and compilation of Twine stories · Windows, macOS, Linux, Web output · Version, build and integration requirements apply

1 source · check evidence
https://www.motoslave.net/tweego/releases.php

2.1.1 watch fix; 2.0 Twee 3 support; archive and decompilation changes

vendor · checked 2026-10-07

Story-format compatibility

limited

Strict format decoding can reject malformed packages; media-passage support depends on runtime.[2]

Text-based authoring and compilation of Twine stories · Windows, macOS, Linux, Web output · Version, build and integration requirements apply

1 source · check evidence
https://www.motoslave.net/tweego/docs/

Story formats, input processing, watch mode and version selection

vendor · checked 2026-10-07

Can substitute for

These are products or services this entry can replace. Check the task and limitations for each comparison.

Twine for Text-based authoring and compilation of Twine stories

limited

Replaces visual-editor authoring with text files and command-line compilation for compatible stories, while retaining a Twine story format.[1][6]

Windows, macOS, Linux, Web output · Version, build and integration requirements apply

References

  1. Tweego overview and downloads

    Text-editor workflow; listed Windows, macOS and Linux packages

    vendor · retrieved 2026-10-07
  2. Tweego documentation

    Story formats, input processing, watch mode and version selection

    vendor · retrieved 2026-10-07
  3. Twee 3 specification

    Passage headers, metadata and StoryData

    vendor · retrieved 2026-10-07
  4. Tweego release notes

    2.1.1 watch fix; 2.0 Twee 3 support; archive and decompilation changes

    vendor · retrieved 2026-10-07
  5. Tweego license

    Two-clause redistribution license and disclaimer

    vendor · retrieved 2026-10-07
  6. Twine overview

    Visual nonlinear story authoring and HTML output

    vendor · retrieved 2026-10-07
  7. Publishing a Twine story

    HTML distribution and hosting distinction

    vendor · retrieved 2026-10-07

Discussion & disputes

Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.

No discussion yet.

Sign in with an active account to join the discussion.

Revision history

Open a revision to read an earlier version of this article.

RevisionTimestampEdit summary
1892026-10-10 14:37:58/* wbeditentity-create-item:0| */ sf:3add050e-f1d1-4902-874e-4460e47caf9a:v1 | Add Tweego as an alternative Twine authoring/build workflow, with story-format dependencies and qualified interchange. | attribution: /proposals/3add050e-f1d1-4902-874e-4460e47caf9a