💾 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

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

Announcing go-gemini, a Go library implementing the Gemini protocol

1. Adnan Maolood (me (a) adnano.co)

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!

Link to individual message.

2. colecmac (a) protonmail.com (colecmac (a) protonmail.com)

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

Link to individual message.

3. Drew DeVault (sir (a) cmpwn.com)

Should have put it on sourcehut for better discoverability :)

Link to individual message.

4. Jordan (jordan (a) crowesnest.io)

Awesome and congrats! I'm interested in checking this out soon. Also, I
totally agree, it needs to be on sr.ht.

Thanks,

Jordan

Link to individual message.

---

Previous Thread: Preferred convention for converting inline links?

Next Thread: Trying to play catch-up on clients, authoring, and hosting.