💾 Archived View for tilde.team › ~aprilnightk › gemlog › 2022 › 01 › 20-updates-to-this-site.gmi captured on 2022-07-16 at 14:34:57. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
Hello, fellow Geminauts! I finally made some long-postponed update to this capsule, I'm really delighted I finally managed it all!
My homepage is now available not only in Gemini, but via big Internet too.
This was a challenge of generating two sites statically from a single source. I could've done it a lot better, but I decided to cut a lot of initially planned functionality.
I initially wanted to do a simple GMI to HTML translator. Since my site is on tilde.team, and the server code is out of my reach, I decided to go the static way. After all, that's what Gemini is mostly about!
Then I thought - it would be cool, for example, to mark some things as HTTP-only or Gemini-only, to provide framework for more specific fine-tuning...
And then I realized that I made a monster machine of a custom macro-language, with no end in sight and with no clue of how to make it any stable.
I scraped it all and returned to my simple gmi->html translator (I am aware a lot of them exist already, I've seen recent posts on Antenna, but I started doing mine before I saw them ;) )
One and only custom thing I included is the "=>" tag for inline images. For Gemini, it translates into simple =>. For HTTP, it renders an <img> tag.
Mind you, I don't advocate for inclusion of inline images to Gemini! The protocol is fine as it is.
I welcome any feedback, or if something doesn't work or looks weird. Hope you are all having a good day!
I'll now go update the rest of my site.