light/dark mode prideblog
march 06, 2025 | ~100 words tagged: diy, interactive

Interactive Story Renderer

I wanted to do something that wasn’t quite twine for Getting In Character so I built a thing to handle taking my markdown folder I write scenes in and turn it into a playable interactive thing.

The challenges involved wondering how best to represent nodes in a linear file rather than twine’s UI.

Story generator here (github)

All the source story files for the story above are hosted here since I don’t want porn to get my account blasted on github.

Story files for Getting In Character (download, this site)

my general build script, from generator root:

#!/bin/bash
cp -r ~/.obsidian/furry-stories/tabletop-twine/ ./md_temp
rm ./src/lib/story/*
./svxPreprocessor.py ./md_temp ./src/lib/story
rm -r ./md_temp

cp ./src/lib/story-wrapper/* ./src/lib/story/

then

$ npm run build