1作者: dskhatri7 个月前
我创作并开发了一本关于创业和理财的互动儿童读物。这个项目始于 Twinery,这是一个在 HN 上发现的开源互动小说创作工具。这个工具唤起了我小时候阅读“选择你自己的冒险”系列书籍的回忆,我觉得这种形式非常适合写一个我的孩子们可以跟着读的故事,并融入玩具钱,让他们在故事中学习交易。 Twinery 是一个很棒的工具,我用它来构建故事地图。但我真的很想用 Emacs 和 Org Mode 来编写故事内容。幸运的是,Twinery 提供了编写自定义 Story Format 的功能,可以定义故事的导出方式。我写了一个名为 Twiorg 的 Story Format,它可以将 Twinery 文件导出为 Org 文件,然后使用一个 Org 导出后端(ox-twee)来做相反的操作。有了这些工具,我就可以在 Emacs 和 Twinery 之间来回切换,创作故事了。 这个项目越做越大,最终我完成了数字版和实体书版的制作。Web 版图书是使用另一个 Org 导出后端创建的。 十美元冒险:<a href="https://tendollaradventure.com" rel="nofollow">https://tendollaradventure.com</a> 试读 Web 版图书(一个完整的故事线/冒险):<a href="https://tendollaradventure.com/sample/" rel="nofollow">https://tendollaradventure.com/sample/</a> 很遗憾,我没能抽出精力为实体书编写一个特别的 org 导出后端,而是使用了一个商业编辑器来排版。 Twiorg:<a href="https://github.com/danishec/twiorg">https://github.com/danishec/twiorg</a> ox-twee:<a href="https://github.com/danishec/ox-twee">https://github.com/danishec/ox-twee</a> 之前在 HN 上关于使用 LLM 在 Emacs 中编写交易逻辑的帖子:<a href="https://blog.tendollaradventure.com/automating-story-logic-with-llms/" rel="nofollow">https://blog.tendollaradventure.com/automating-story-logic-w...</a> Twinery 2:&lt;<a href="https://twinery.org/" rel="nofollow">https://twinery.org/</a>&gt; 以及在 HN 上的讨论:<a href="https://news.ycombinator.com/item?id=32788965">https://news.ycombinator.com/item?id=32788965</a>