💾 Archived View for gemi.dev › gemini-mailing-list › 000416.gmi captured on 2024-03-21 at 17:34:15. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-12-28)
-=-=-=-=-=-=-
Hello! I wrote a Gemini library for Go similar to net/http. https://sr.ht/~adnano/go-gemini On the client side, it provides an easy-to-use TOFU implementation using a list of known hosts (located at $XDG_DATA_HOME/gemini/known_hosts by default). It also makes it easy for clients to provide client-side certificates when servers request them. TOFU is implemented following these guidelines: https://drewdevault.com/2020/09/21/Gemini-TOFU.html Drew and I have since agreed to conform to using $XDG_DATA_HOME/gemini/known_hosts (or ~/.local/share/gemini/known_hosts if $XDG_DATA_HOME is not set) as the default known hosts path, to make it consistent between clients. On the server side, it supports handling different schemes and hosts (including wildcard hostnames). There is also support for parsing gemtext and outputting it as HTML, which is useful for HTTP to Gemini proxies. Enjoy!
https://github.com/makeworld-the-better-one/go-gemini You're infringing on my namespace there pal ;) No real worries of course, it's just too bad to have the same name like that. Your library definitely looks a lot more featureful though. I might think about switching to using it, but I'm pretty comfortable with mine right now. It's mostly a personal library. Nice work! I will add a link to yours on my README. Cheers, makeworld
Should have put it on sourcehut for better discoverability :)
Awesome and congrats! I'm interested in checking this out soon. Also, I totally agree, it needs to be on sr.ht. Thanks, Jordan
---
Previous Thread: Preferred convention for converting inline links?
Next Thread: Trying to play catch-up on clients, authoring, and hosting.