Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 695 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 695 Bytes

Tweego

Tweego is a free (gratis and libre) command line compiler for Twine/Twee story formats, written in Go.

Example usage

Tweego requires a story format to be present. While you can use a local story format, you can also use SugarCube 2:

{ pkgs ? import <nixpkgs> {} }:

let
  holly-pkgs = import (fetchTarball "https://github.com/holly-hacker/nixpkgs/archive/32408c2193dc217a03fcdafca842722027eba911.tar.gz") { };
in pkgs.mkShell {
  packages = [
    holly-pkgs.tweego
    holly-pkgs.sugarcube
  ];

  shellHook = "export TWEEGO_PATH=${holly-pkgs.sugarcube}/lib/";
}