Skip to content

asraeldragon/chapbook

 
 

Repository files navigation

Chapbook, a story format for Twine 2

by Chris Klimas

Chapbook is a story format for Twine 2, which means that it plays stories created in Twine in a web browser. It is now part of the official Twine 2 distribution, but you may also use it from this URL:

https://klembot.github.io/chapbook/use/1.2.3/format.js

There is also a micro build of Chapbook that strips out all debugging-related code, saving around 20 kilobytes of JavaScript, that is not packaged with Twine 2. To use that version, add this story format:

https://klembot.github.io/chapbook/use/1.2.3-micro/format.js

Chapbook is released under the MIT license. It can be used to create commercial works without royalty payment or other arrangement.

  • Learn about Chapbook

    The guide is a gentle introduction to creating with Chapbook. Start here if you'd like to start creating with Chapbook.

  • Cloak of Darkness, a sample story

    Want a quick look at the output Chapbook produces, or the way you write a code for it? Take a look at the story and its Twee source code. If you've never used Twee before, it's a compact text-only format for Twine stories. The main thing to keep in mind is that each line beginning with :: describes a new passage.

  • Report a bug or suggest a feature

    Please take a look at the contributing guidelines before opening an issue.

  • Support Chapbook development

    Become a Patreon backer to gain access to devlogs and other benefits.

About

A simple, readable story format for Twine 2.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.2%
  • CSS 11.0%
  • Pug 1.1%
  • EJS 0.7%