this post was submitted on 14 Mar 2024
52 points (100.0% liked)
Fediverse
27910 readers
1 users here now
A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).
If you wanted to get help with moderating your own community then head over to [email protected]!
Rules
- Posts must be on topic.
- Be respectful of others.
- Cite the sources used for graphs and other statistics.
- Follow the general Lemmy.world rules.
Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ah yes know exactly what you mean. I follow Mastodon, PieFed, Lemmy stuff via RSS too.
I have a little program which follows/unfollows:
Then things get delivered to my inbox. That's been working ok. I'm adding a "Following" section to the docs soon.
But I think the main idea is getting Activity into a RFC5322 message in a filesystem. The system doesn't really care how that file is written. It could be from an ActivityPub server sending stuff to you. But it could also be from reading a RSS feed and fetching the items. My first stab at this was actually a couple of scripts which dumped my Mastodon timeline and some Lemmy stuff to message files.
What I do now is clunky. First, I've written a couple of very basic frontends using both the Lemmmy & Mastodon API. These expose the unique ID of each post, which I copy/paste around...
I run this command:
Then open the file in a mail client, and reply to it. Like I said: pretty clunky! :D
One thing I've thought about is hijacking the header's Subject field to hint to apas that we're replying to something. Modifying Subject is exposed in more mail clients than being able to modify arbitrary fields in the header (ideally we set
In-Reply-To
). For example for this message I'm writing now:Taking it further, frontends could render
mailto:
links. Here's one to reply to your message:mailto:[email protected][email protected]&subject=https%3A%2F%2Flemmy.ml%2Fcomment%2F9266238
Using Subject as both the
name
orinReplyTo
properties of an Activity depending on its value feels unclear.Reading RFC 6068, it's theoretically possible that we could inject a
In-Reply-To
in amailto
URL. It's up to the mail application to interpret it.mailto:[email protected][email protected]&in-reply-to=%3Chttps%3A%2F%2Flemmy.ml%2Fcomment%2F9266238%3E
This encodes the message:Just tested and found that MailMate actually handles this. Still feels unclear... I dunno. What do you think?