What have I done?! My abomination of an idea of bridging my email and ActivityPub progresses. If you see this message, something is working! Comments replies are welcome as it’s a good test of this system :)
People keep saying ActivityPub is a lot like email. If it’s so similar to email, could I use my email client to interact with the fediverse?
Previously I did this by writing a SMTP interface to the Mastodon HTTP API. That worked. But as we probably know, the fediverse is not Mastodon; it’s really ActivityPub. The real deal would be working with ActivityPub directly, not the Mastodon HTTP API.
And that’s now (mostly?) working! In shonky diagram form, sending looks like this:
laptop --SMTP--> my_server --ActivityPub--> fediverse
Replies look like this:
fediverse --ActivityPub--> my_server --SMTP--> mailbox <--IMAP-- laptop
my_server
translates back and forth between ActivityPub messages and
mail messages.
For example given the message:
Date: Wed, 6 Mar 2024 16:37:59 +1100
From: Oliver Lowe <otl@apubtest2.srcbeat.com>
To: localtesting@aussie.zone
Subject: test 2
test hello world!
The following ActivityPub message is created:
{
"@context": "https://www.w3.org/ns/activitystreams",
"id":"https://apubtest2.srcbeat.com/outbox/1709703480070628170",
"type":"Note",
"name":"test 2",
"to": ["https://aussie.zone/c/localtesting","https://www.w3.org/ns/activitystreams#Public"],
"cc": ["https://aussie.zone/c/localtesting"],
"published":"2024-03-06T16:37:59+11:00",
"attributedTo":"https://apubtest2.srcbeat.com/actor.json",
"content":"test hello world!",
"mediaType":"text/markdown"
}
There’s still a lot of bugs (of course) and unimplemented bits (of course). I can’t call this a proper fediverse service yet. I’m going to roll with this for a bit and see how it holds up.
I hereby bestow upon ye the title of “Interoperability Warlock”, for ye are tampering with forces beyond this mortal realm.
This is cool. Keep working on it.
Hello from Lemmy!
So this comment I am writing is going to appear as an email in a chain? Neat!
So this comment I am writing is going to appear as an email in a chain? Neat!
Yep, that’s what it looks like at my end!
This comment has a timestamp in the future. It says “in 8 hours” for me.
Oh huh. Good spotting.
After some quick digging… seems like a bug in the Lemmy web UI. I think= it’s assuming the timestamp is always UTC. Are you using the UI at https= ://lemmy.blahaj.zone ?
The timestamp of the source message is has the UTC+11 timezone (where I a= m): https://apubtest2.srcbeat.com/otl/outbox/1709878623152651007 And I no= tice that in the old-Reddit-like interface at https://old.lemmy.world/com= ment/8236475 it renders as a time in the past.
Hi is your stamina not what it used to be in the the bedroom? For only $69.99 all your problems can be solved with this As Bestus Men’s Enrichment Cream. Just clink the link here! —> Enlarge Me Now
Sorry… just trying to make you feel a little more at home, I know it must be disorienting coming from Email as that is a very long way away. I tried to learn a little bit about your customs and give you a customary greeting!
Here is an alternative Piped link(s):
Piped is a privacy-respecting open-source alternative frontend to YouTube.
I’m open-source; check me out at GitHub.
Lol
Bad bot.
UNSUBSCRIBE
;)
deleted by creator
404 - erections not working
UNSUBSCRIBE
;)
Dude was so preoccupied about whether he could, that he never stopped to think whether he should.
Oh I stopped and thought whether I should. The answer was “probably not” every time…
This is an excellent idea. It’s gateways like this that will continue to offer options that are not available on other platforms.
Look forward to seeing how this evolves!
This is interesting, but have you considered porting to Usenet? It’s basically a shared inbox thats whole intent is threaded conversation. Sound familiar?
Is Usenet opensource?
It’s a protocol, made with open RFC docs.
TIL. Always thought it was software.
This is interesting, but have you considered porting to Usenet?
Yes that’s on the list! Now that I have a whole bunch of RFC822 files, (in Maildirs) I can also serve them over read-only NNTP. This was the original goal actually - I like the idea of using the simpler protocol NNTP over IMAP to read stuff.
Brilliant, who needs new fancy apps when you have email clients
Tell Google to give us back our RSS feeds too, they stole em
Then there’s the irc client bridge to think about, posts could be channels and you reply in em
And ofc the extra spicy sms bridge where an AI gives you an executive summary of your memes for the day
And ofc the extra spicy sms bridge where an AI gives you an executive summary of your memes for the day
needs more crypto
RSS is not gone - you can read RSS by mail and it’s quite awesome. Check RSS2Email or Nachrichtensortiermaschine
@otl well done!
Thanks for replying from friendica! Confirming message received OK :)
@otl
You’re welcome! Great that it works :)
@fediverse
When you specify
To: localtesting@aussie.zone
how does the bridge know if you meanthttps://aussie.zone/c/localtesting
orhttps://aussie.zone/u/localtesting
instead?You’re weird. I like you.
Cool, now do it over Ping!
Don’t tempt me :D
The ghost of Lemmy Kilmister graces ur presence! 🎸🎤
Forward this to at least 3 of ur friends and you will have ur wish granted! 🤩
- 3 friends - ur wish granted in 5 years🌟⭐
- 5 friends - in 3 years
- 10 friends - in 1 year
- 20 friends - in 6 months
- 30 friends - in 3 months
- 50 friends - in 1 month
- 100 friends - TOMORROW! 🌠🌠🌠
But be careful, if you don’t pass on the good luck, Lemmy’s ghost will HAUNT you in 3 days!!! 👻😱😱 Hurry!
[The only thing missing is random colours of text]
Test