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.
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?
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
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.
Check out bonfire
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.
Maybe more an alternative FrontEnd. Or maybe more bots.
Pleroma in based on Elixir, and honestly it feels to me like a much better fit than Rails and Mastodon.