Co-serving a static site over Gemini

Right now, my personal site https://catgirl.ai is generated using a
static site generator (Zola). I have a git repo with a bunch of markdown
files, and when I want to update it I build and rsync to the server.
Pretty standard stuff.

I'd like to serve it over Gemini as well. So I'm working on a project
<https://github.com/deifactor/exarch> to do so. But now I'm thinking:
since Gemini servers are super easy to write, maybe instead of
converting the markdown to Gemtext and serving that using a generic
Gemini server, maybe I could have Exarch serve the md files and do the
conversion directly, sa well as the 'template' files I use to generate
the lists of posts. And then I just copy over the entire repo and run
`exarch serve repo-root` to serve it via Gemini (or define an archive
format that contains all the gmi files and templates and such).

What do you all think?

ps: I haven't looked too deeply to see if there's an existing solution,
because I want an excuse to learn async Rust :)

---

Next in thread (2 of 9): 🗣️ Sean Conner (sean (a) conman.org)

View entire thread.