You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inform 7 includes Parchment, allowing you to produce personal websites for your stories. If you want to update the version of Parchment used by Inform 7, get it from the releases page and unzip it into the Templates subfolder of your project's Materials folder.
Site Generator
For those who aren't using Inform 7 (or who can no longer recompile their storyfile), the Parchment Site Generator allows you to make a single file version of Parchment. This supports any of the formats supported by Parchment (Adrift 4, Glulx, Hugo, TADS 2/3, Z-Code).
Parchment is only designed for building in Linux and may not work in other OSes. You'll need to install Git and Node version >= 16.
The upstream projects are included as Git submodules. Start by cloning the Git repository:
git clone --recurse-submodules https://github.com/curiousdannii/parchment.git
cd parchment
Install the npm dependencies, and then build Parchment:
npm install
npm run build
You can now open index.html on a web server. But... it won't work when you run it on your filesystem as a file:/// URL. You can instead launch a simple web server like this:
npm start
Then you can view Parchment at https://localhost:8080 to see your handiwork.
In addition, each time you change code in the src folder, the server will automatically rebuild the web code! Refresh to see your changes.
You can also build your own dist/inform/parchment-for-inform7.zip like this: