This is an old revision of the document!
Entwine is a tool that makes building large stories with Twine 2 easier. It's a good fit if you would like to:
Entwine is a command-line tool that integrates with Grunt, which is a tool that automates repetitive tasks. If you don't have experience with Grunt or the command line, this can feel intimidating. It will take some setup work to use Entwine, but this document will guide you through it, and once you're done, your project will be able to build itself automatically as you make changes to its sources. That is, you'll be able to edit an image or change a passage and your project will automatically rebuild without you having to even choose Publish to File in Twine. For large projects, this tradeoff can be worth it.
Please go through these sections in order. These cover the basics of using Grunt, and act as a foundation for later sections.
Feel free to pick and choose from the sections below according to what seems relevant to your needs. These are written so that they can be read in any order.
npm install -g twine-utils. After that completes, running
entwine --helpwill acquaint you with the direct command-line interface, and the Grunt Entwine task's documentation also provides more information as to what the options do.
There is no Entwine plugin for Gulp or Brunch, which are other popular task runners for Node, and no current plans to create them.