The presentation needs to be improved a bit, but we now have #Fediverse posts in #mutt complete with attachments and other links, with descriptions, as an attached #linkset. This is using #fcli, which is my #Mastodon to #maildir / #SMTP bridge.

The main problem is that the linkset viewer is a bit slow - it probably needs to become a simple C application rather than part of the Python monolith.

I also need to implement support for posting with attachments in the SMTP side of the bridge.

I'm adding support for attachments and other links to my #Mastodon to #maildir bridge. I didn't want to use standard #MIME attachments, as that would require me to download every attachment from all of the posts in my feed, so instead I've decided to create a #linkset object as defined in https://www.rfc-editor.org/rfc/rfc9264.html.

I've written a small utility to load these files and present a menu of links which can be opened in the relevant application, which works pretty well from a mailcap entry. Right now the main problem is that there's no sensible way to surface the alt text, which helps me decide whether I want to open the attachment. I haven't really checked whether there's anything relevant in the RFC, so there may be an obvious way of doing this.

RFC 9264: Linkset: Media Types and a Link Relation Type for Link Sets

This specification defines two formats and associated media types for representing sets of links as standalone documents. One format is based on JSON, and the other is aligned with the format for representing links in the HTTP "Link" header field. This specification also introduces a link relation type to support the discovery of sets of links.

Exploring The New Linkset IETF Specification | Nordic APIs |

We examine a new proposed standard, formerly called Linkset: Media Types and a Link Relation Type for Link Sets RFC 9264, from IETF.

Nordic APIs