Lemmy Federation Alpha Version

We are happy to announce that we have finished the initial version of our ActivityPub implementation. At the moment, it can only federate a limited set of data, like communities, users and posts, but not comments or votes. So this initial version is mainly interesting for those who are familiar with the ActivityPub protocol, and those who would like to contribute to Lemmy.

These are our test instances, Be aware that they are not permanent, and we might wipe the data at any time. Federation uses a whitelist for now, until we are confident that the implementation is secure.

If you are interested in contributing to the development, check out this issue and the dev instructions. Please use the issue tracker to report bugs, so that we can keep everything organized.

We also want to give a huge thanks to Aode, whose ActivityStreams library and advice have helped us immensely.

If you like what we are doing, please consider donating towards Lemmy development. Besides Liberapay and Patreon, we are also on OpenCollective now. Donations are a big help for us, because they allow us to spend more time to work on Lemmy, instead of selling our labour to a company just to pay for rent and other necessities.

Originally posted here

1 Like

Out of curiosity, I tried fetching AP actors for the https://enterprise.lemmy.ml/c/main community and the https://enterprise.lemmy.ml/u/nutomic user, but both these URLs return (very compact) HTML pages regardless of the Accept header. Thereā€™s no <link rel="alternate"> either. The only federation-related thing I was able to use is nodeinfo.

Anyway, how do I get those actors?

Oops I messed up a bit there. You can get the json with the header content-type: application/activity+json for now.

1 Like

curl -H ā€œContent-Type:application/activity+jsonā€ https://enterprise.lemmy.ml/c/main

This is our bad, Iā€™m realizing this should be the Accept header, not Content-Type.

1 Like