Wednesday, July 16, 2025

Show HN: A 'Choose Your Own Adventure' Written in Emacs Org Mode https://ift.tt/xXSfKHA

Show HN: A 'Choose Your Own Adventure' Written in Emacs Org Mode I authored and developed an interactive children's book about entrepreneurship and money management. The journey started with Twinery, the open-source tool for making interactive fiction, discovered right here on HN. The tool kindled memories of reading CYOA style books when I was a kid, and I thought the format would be awesome for writing a story my kids could follow along, incorporating play money to learn about transactions as they occurred in the story. Twinery is a fantastic tool, and I used it to layout the story map. I really wanted to write the content of the story in Emacs and Org Mode however. Thankfully, Twinery provided the ability to write custom Story Formats that defined how a story was exported. I wrote a Story Format called Twiorg that would export the Twinery file to an Org file and then a Org export backend (ox-twee) to do the reverse. With these tools, I could go back and forth between Emacs and Twinery for authoring the story. The project snowballed and I ended up with the book in digital and physical book formats. The Web Book is created using another Org export backend. Ten Dollar Adventure: https://ift.tt/TFhSCt6 Sample the Web Book (one complete storyline/adventure): https://ift.tt/IkqVK4z I couldn't muster the effort to write a special org export backend for the physical books unfortunately and used a commercial editor to format these. Twiorg: https://ift.tt/WnyHwCJ ox-twee: https://ift.tt/C6W29JA Previous HN post on writing the transaction logic using an LLM in Emacs: https://ift.tt/TLzjNIO... Twinery 2: < https://twinery.org/ > and discussion on HN: https://ift.tt/L5aTYVG https://ift.tt/IkqVK4z July 17, 2025 at 03:28AM

No comments:

Post a Comment

Show HN: Visualize Wikipedia link graph, opensourced https://ift.tt/6VxfEhm

Show HN: Visualize Wikipedia link graph, opensourced = WikiLoop Galaxy = An interactive network visualization tool that maps Wikipedia artic...