💾 Archived View for station.martinrue.com › sgeo › 5237fefc7571485b82e24dac3c1cfd5d captured on 2024-08-18 at 23:48:06. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-06-20)
-=-=-=-=-=-=-
Playing around with WebTV and the possibility of adding gemini support to the minisrv the WebTV community made to allow WebTV to work in the modern day.
So far I have an overly simple gemtext -> HTML converter, but tuned to WebTV's limitations: Replacing emojis with img tags that can work with OpenMoji converted to gif, and replacing non-ASCII with character references (I originally converted to Windows-1252, but char refs are better as it results in valid UTF-8)
Already finding it educational: Learned that a regex can match emojis, even multi-codepoint emojis: /\p{RGI_Emoji}/gv
Wondering what else I need to take into consideration. I probably won't really support TOFU or client certificates.
5 months ago · 👍 m0xee, lykso
Quickly learning that emoji are more difficult than I expected, and I expected them to be tricky.
Apparently, the satellite used by Station doesn't actually count as an emoji because it doesn't have the variant selector, so is a "plain" version. I'm not sure how to handle that? Look for those and interpret as emoji anyway? Just leave it as character reference (shows up as question mark)?
Also, Minisrv is structured in a way that makes things slightly annoying. · 4 months ago