💾 Archived View for vectorprime.deszaras.xyz › passages › 2021-02-21_Doppio_and_favicons.gmi captured on 2023-01-29 at 02:52:41. Gemini links have been rewritten to link to archived content

View Raw

More Information

-=-=-=-=-=-=-

Doppio and favicons

2021-02-21

The Gemini mailing list currently hosts some animated discussion about how favicons might be employed with the protocol. There are some good arguments for and against them in several aspects.

One community member is so very against them that he's threatened to ban the IP addresses of clients that request them. Since his resources on offer are significant in relation to the current community size, this isn't ignorable.

So, I added favicon support to my Gemini server implementation, Doppio.

https://github.com/bhavanki/doppio/commit/b18b77c7c6de510e55a414d20448b2876b544dbe

For reference, here's the informal (I guess) RFC.

gemini://mozz.us/files/rfc_gemini_favicon.gmi

I didn't need to do anything, really. The RFC is about client behavior. A content author can just plop a "favicon.txt" file onto their server and it'll work fine, so there's absolutely nothing for a server implementation to do here.

But, it seemed fun, and would vex people who ought to be vexed, so I did it anyway. I also learned a little about how poorly Java handles emoji strings, which will probably help me in my actual work at some point. But it was mostly for the lulz.

😈