Online sitegen service

This converter will be especially useful for making games playable on Itch.io. If you only upload a Zcode/Glulx story file to Itch, players have to download your file and use an interpreter to play it. If you also upload an HTML file, Itch can include a “Run Game” button, allowing your players to play your game right there in a web browser, or even download the HTML file and play it offline without a separate interpreter.

You don’t even have to upload the file by hand! https://iplayif.com/api/sitegen has a REST API, allowing you to convert IF game files to HTML with a simple HTTP request. For example, you can run this curl command to convert the LostPig.z8 story file to HTML:

curl -o output.html -F "story_file=@LostPig.z8" https://iplayif.com/api/sitegen

You may find curl easier to work with than ifsitegen.py, a Python 3 script that does something similar. ifsitegen.py requires you to install Inform 7, it only works on Zcode and Glulx story files, and it may use an old version of Parchment.

The Parchment HTML Converter at https://iplayif.com/api/sitegen has no dependencies, it supports more files, and it always uses the very latest version of Parchment.

Enjoy!

13 Likes