this post was submitted on 18 Jun 2023
5 points (85.7% liked)

Elixir

496 readers
1 users here now

founded 1 year ago
MODERATORS
 

Does anyone else think that Elixir could be really well-suited to writing fediverse applications? I'm really tempted to try my hand at writing an alternative Lemmy backend. If anyone is feeling the same way, I'd be more than happy to host a project on my GitHub and give y'all access and we can see what we can do.

you are viewing a single comment's thread
view the rest of the comments
[–] dadbod 4 points 1 year ago (1 children)

Not knowing, but guessing that ActivityPub is using some common of pub sub pattern, i agree it’d probably be a good application for OTP.

Do you know more about the underlying mechanics?

[–] cosmicrose 3 points 1 year ago

I'm reading through the spec now, here: https://www.w3.org/TR/activitypub/. Basically every user has an Inbox and an Outbox, and updates from a user's Outbox are added to relevant users' Inboxes. I also found an Elixir ActivityPub library here: https://github.com/bonfire-networks/activity_pub