💾 Archived View for bbs.geminispace.org › s › misfin › 915 captured on 2023-11-04 at 15:50:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-09-28)

➡️ Next capture (2023-11-14)

🚧 View Differences

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

gemini://gemini.hitchhiker-linux.org/gemlog/dory_a_misfin_protocol_library_in_rust.gmi

A new Misfin library project

Posted in: s/misfin

🦀 jeang3nie

2023-05-24 · 5 months ago · 👍 satch, Morgan

5 Comments ↓

🦀 jeang3nie

I mostly did a lot of refactoring today and added a lot of doc comments to make the eventual API more obvious. I also added optional serde support for some of the types so that the data can be serialized for storage or for client usage.

It occurs to me that if there were a Misfin server that served non-local clients it would need a way for people to get their mail off and also to send remotely. Something equivalent to imap for reading your mail remotely, but hopefully much simpler. Could be as simple as serving it up over Gemini and authenticating via client certificates, sort of a "GemMail" service. That doesn't quite handle sending, however. Probably should be brought up in s/misfin separately.

🐐 satch

@jeang3nie

— geminispace.org/s/Lagrange/453

The link is an idea for email and not misfin, but my brain made a connection to this thread when I read your post. A project I really want to work on this summer is a fully featured client for both misfin and email.

We’ll see how far I get.

Anyway, it’s awesome that you’re working on this library, thank you!

🦀 jeang3nie

I'll have a more complete status update on this project on my capsule soon, but I've reached the point where Tofu is tested and working and I'm about to test sending mail. I've got a little bit of progress towards the receiving end of things but that's where most of the remaining work lies.

2023-05-27 · 5 months ago

🦀 jeang3nie

Time for another quick status update.

I was working on a few things simultaneously within this project. One is a mail storage backend using the filesystem, which plugs into a generic interface so that it can be swapped out if desired. The filesystem backend should be sufficient for almost anyone's needs unless you are trying to scale dramatically to 1000's of mailboxes.

I did a little bit of work also on the message receiver, but got bogged down in verifying client certs. I think I just needed to come up for air for a minute, but I just wanted to move on to something else and come back later.

So yesterday and today's work has been around a Gemtext parser. What I've got right now borrows heavily from the parser used in Eva, but had to be extended with the new line types present in the Misfin spec. I'd say this part is about 90% complete, sans tests. It did provide exactly the break I needed. I'll finish it either later tonight or tomorrow morning and then give it a testing harness before circling back to the Tls quagmire.

2023-06-02 · 5 months ago

🦀 jeang3nie

So I've managed successful interop with the reference server for sending mail now. This is with a small sendmail-esque binary using Dory under the hood.

— https://codeberg.org/jeang3nie/sendmsg

2023-06-06 · 5 months ago