๐พ Archived View for agnos.is โบ posts โบ fully-native-gemini-content-serving.gmi captured on 2024-12-17 at 09:38:15. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Published: 2024-12-13T22:40:53+01:00
As of this post, the capsule is now serving all content natively via the Gemini protocol. There is no longer a separate HTML copy of the site.
Today, I discovered Kineto, a Gemini -> Web proxy.
Kineto is very simple. You give it a stylesheet and a Gemini domain, and it proxies the entire capsule. In fact, it's so simple that it's composed of one source code file. I kept the CSS generated by gmi-web, so the HTTP version of the capsule looks the same. But instead of receiving the HTML content from static HTML files hosted on my web server, you are receiving HTML dynamically generated from Gemtext on the Gemini protocol!
While this fits in with the ethos of my site being Gemini-first, it has also allowed me to drastically simplify how the site is generated. I was able to nuke the entirety of the HTML build process from the Justfile, which has removed probably around 100 lines of hacky bash scripting.
Additionally, I can store the CSS in the site's git repository now, and tweak it as I feel like. The capsule serves the CSS, and Kineto proxies it too. This will give me many more opportunities to change how the site looks in web browsers, without having to hack gmi-web.
License: CC-BY-SA-4.0.
โโโโโโโโโโโโโโโโโโโโ