[ANN] GemIF - Simple Interactive Fiction engine for Gemini

Nick Thomas gemini at ur.gs
Wed Dec 2 19:22:17 GMT 2020


On Wed, 2020-12-02 at 18:55 +0000, Norm MacLennan wrote:
> 
> In that case, unless I'm missing something, a Gemini exporter would
> basically need to scaffold and generate the entire server for each
> story
> - at least for stories that require conditions and variables. In
> which
> case it might make sense to build a pre-made server to be the engine 

Hmm. Perhaps the best way to go about this would be a cgi-bin script
that can take a compiled ink story (turns out it compiles to json) and
use client certificates + a persistent server-side data store for user
state. The script would be the same for every story, it'd "just" need a
way to store per-user state.

If you want to focus on GemIF specifically, I might have a crack at
this, it sounds fun.

> Maybe once I do I'll find a better
> configuration format than YAML, cause I agree giant YAML files are
> the worst.

I've not actually looked at *how* ink's language compiles down to json,
but I wonder how many unique ways there really are to represent a
branching storyline in this kind of format. It'd be amazing if the two
formats ended up being compatible just through convergent evolution :D.


> Thanks for linking me to this, if nothing else it will give me more
> prior art to draw from but potentially also shows a valuable
> integration
> for the future.

Best of luck! Keep us updated on exciting new stories as they arise :).



More information about the Gemini mailing list