💾 Archived View for gemi.dev › gemini-mailing-list › 000165.gmi captured on 2024-08-25 at 09:48:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-12-28)

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

[ANN] Diohsc: incredibly ordinary haskell client

1. Martin Bays (mbays (a) sdf.org)

I hacked together a little haskell client:

gemini://gemini.thegonz.net/diohsc/
https://repo.or.cz/diohsc.git

It implements everything except client certificates. Those may get added 
at some point.

For now at least, the interface is line-based, similar to AV-98.

For TLS, it uses the rather nice pure haskell libraries (tls, x509, 
cryptonite) by Vincent Hanquez. It allows a mix of TOFU and trusting 
specified CAs.

Currently it's tested only on my linux machine, but in theory it should 
be pretty portable.

The code is fairly terse:
$ grep -hv '^--' *.hs | grep -v '^


 | wc
724    4312   34955

Let me know if you find any bugs or other inadequacies.

Link to individual message.

2. Ben (benulo (a) systemli.org)

Sweet! I love Haskell.

How about a server too? Or maybe erlang would be better for that.

On 5/30/20 10:41 PM, Martin Bays wrote:
> I hacked together a little haskell client:
> 
> gemini://gemini.thegonz.net/diohsc/
> https://repo.or.cz/diohsc.git

-- 
gemini://kwiecien.us/

Link to individual message.

3. Martin Bays (mbays (a) sdf.org)



>Sweet! I love Haskell.
>How about a server too?

I thought about that, but couldn't come up with a decent pun for the 
name. I might do it anyway, if the mood takes me -- but if someone else 
wants to do it first, carry on.

Link to individual message.

---

Previous Thread: Syntax highlighting for GtkSourceView (GNOME Builder, gedit)

Next Thread: Ambiguity in unordered list item definition