๐Ÿ‘ฝ sgeo

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.

8 months ago ยท ๐Ÿ‘ m0xee, lykso

Actions

๐Ÿ‘‹ Join Station

1 Reply

๐Ÿ‘ฝ sgeo

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. ยท 8 months ago