~nromdotcom/gemif

ref: 4537a2f30ac534f927315780f6176cd14ba1cbe4 gemif/static/templates/index.gmi.tmpl -rw-r--r-- 1.2 KiB
4537a2f3Norm MacLennan Update story 1 year, 1 month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
```
{{.Banner}}
```
v{{.Version}}

GemIF is a simple Interactive Fiction engine for Gemini (think: twine but with fewer features).

Each story below is written in a simple mark-up format similar to Gemini format and compiled into a (relatively-) simple YAML file describing the scenes and transitions.

Stories allow users to make choices, moving from scene to scene. Simple logic can be added in the form of "condition" tags attached to the game state. Making choices can apply those transitions, which allow for conditional text rendering and conditionally allowing use of transitions later in the story.

If you want to run your own instance, check out the repo linked below. There are instructions in the README.

## Stories

{{- range $key, $value := .Stories}}
=> /story/{{$value.ID}} {{$value.Name}} - 
{{- if gt (len $value.Description) 75}} {{slice $value.Description 0 74}}...
{{- else}} {{$value.Description}}
{{- end}} (by {{$value.Author}})
{{- end}}

## Learn More
=> https://git.sr.ht/~nromdotcom/gemif [https] source at sr.ht
=> mailto:~nromdotcom/gemif@lists.sr.ht [mailto] Send in your stories for free hosting

For anything else, feel free to email the project mailing list `~nromdotcom/gemif@lists.sr.ht` or me personally at `norm@iwritethe.codes`.