Created: 2026-06-18T00:05:06Z
As mentioned in the previous blog post, I didn't want to maintain two versions of every blog post.
👉 Blog post announcing moving the blog to Gemini
So I now changed the code of my blog so that it reads Gemtext (.gmi) files and renders them as HTML and Atom.
🌐 Source code of my blog
It all started with me wanting to be able to render .gmi files in my Forgejo repositories. So after figuring out that Forgejo supports running a command to convert any format to HTML to be then displayed by Forgejo, I wrote a small utility called Gemtext2HTML that acts a command line utility that is a filter. It tries to render things nicely, a bit inspired by Lagrange, and also inlines images. You can see a demonstration of it in the Gemtext2HTML repository itself.
🌐 Gemtext2HTML
🌐 Lagrange, which inspired the rendering a bit
Since I like reusing things, I turned it into a library - and that library powers the blog now.
I'm considering whether I should add a HTTP server to ObjGemCap that serves the same content it serves on Gemini, just with Gemtext automatically converted to HTML when served via HTTP.
🌐 ObjGemCap