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.

top 7 comments
sorted by: hot top controversial new old
[–] cosmicrose 4 points 1 year ago

There are a handful of fediverse projects in Elixir out there already, like Pleroma. There is also a WIP ActivityPub library out there that might appreciate some PRs.

[–] 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

[–] [email protected] 2 points 5 months ago

Check out bonfire

[–] RobotDeathSquad 2 points 1 year ago

Yes, I think so. There is a couple Mastodon things written in Elixir (Pleroma being the main one), so i think there's an activitypub implementation already. Would be nice to have a lemmy frontend that was fast.

[–] [email protected] 1 points 1 year ago

Maybe more an alternative FrontEnd. Or maybe more bots.

[–] [email protected] 1 points 1 year ago

Pleroma in based on Elixir, and honestly it feels to me like a much better fit than Rails and Mastodon.