Elgg icon indicating copy to clipboard operation
Elgg copied to clipboard

Support ActivityPub

Open evanp opened this issue 7 years ago • 13 comments

Elgg should support the ActivityPub standard for federated social networking and social API. The standard has been in development at the W3C for 2 years. It's based on the work that I and others have done to upgrade and streamline OStatus. Other social applications like pump.io and GNU MediaGoblin are working to implement ActivityPub.

There is some more information on the state of the ActivityPub network on the W3C wiki. We're trying to get everyone involved in open source social networking to rally around this standard and get a truly federated network working.

evanp avatar Apr 11 '17 17:04 evanp

ActivityPub is pretty cool. We're planning on implementing it over at Known.

benwerd avatar May 16 '17 19:05 benwerd

Elgg should many things. Sadly there are too many ideas with no actual contributions. I don't think this is going to get anyone's attention unless you put your own time into it and make a PR

hypeJunction avatar May 16 '17 21:05 hypeJunction

+1 to @hypeJunction - I think what I'll try and do is take the Known code, and see if it can be rewrapped into an Elgg plugin afterwards. That way it won't require participation from the core Elgg team, who are already overstretched.

benwerd avatar May 16 '17 21:05 benwerd

This currently will not get the focus of anyone at the core team. Feel free to provide a PR or a plugin with the features you need so we can discuss it further then. Closing this for now as i expect no activity on this issue.

jdalsem avatar Jul 26 '17 10:07 jdalsem

@benwerd

what I'll try and do is take the Known code, and see if it can be rewrapped into an Elgg plugin afterwards

I see that Known, like Elgg, is PHP. So are GNU Social, postActiv, Hubzilla, and Friendica, all of which are working on implementing ActivityPub (or have already rolled it out). Maybe the best long-term solution would be to create a PHP federation library that supports ActivityPub, and potentially other protocols, as Jason from SocialHome has done with ~Ruby~ Python (see: https://github.com/jaywink/socialhome/issues/320#issuecomment-385733161)? That way devs from all the PHP projects that want to federate can contribute to one codebase as they are able, rather than doing essentially the same work in parallel.

strypey avatar May 03 '18 09:05 strypey

I think we would have to start with support for ActivityStreams, but just as @strypey there is no decent wrapper to work with for either ActivityStreams or ActivityPub. I personally don't want to start from scratch.

hypeJunction avatar May 03 '18 10:05 hypeJunction

Update FYI - Currently there are 2 PHP ActivityPub libraries:

aschrijver avatar Aug 02 '20 13:08 aschrijver

May we reopen this ? As the protocol use seems to increase, with better adoption, it might be interesting to keep track of projects (also besides core) working on this in the Elgg world.

Note : https://landrok.github.io/activitypub/ seems maintained and might be a good candidate for tests.

Facyla avatar Dec 10 '21 13:12 Facyla

I will reopen this for now. Just to keep it in the picture. If there are people willing to investigate time into integrating this in Elgg that would be nice. At the moment i do not expect core development team to put in any effort. I will check back for activity in this ticket in a year :)

jdalsem avatar Dec 14 '21 08:12 jdalsem

Great to hear! I announced this to the fediverse: https://mastodon.social/@humanetech/107445400205978550

PS. I anyone starts working on AP support, pls give me a heads up and I make reference on delightful-fediverse-apps, or you can PR yourself.

Update:

There are three delightful lists, actually (via delightful.club):

  • https://delightful.club/delightful-activitypub-development/
  • https://delightful.club/delightful-fediverse-apps/
  • https://delightful.club/delightful-fediverse-clients/

Once you start developing, be sure to join the discussions on: https://socialhub.activitypub.rocks And you can also get a separate listing in the 'Software' category (e.g. for announcements).

And then https://fedidb.org by @dansup of Pixelfed is a great resource to watch. There are updates in the pipeline here that can be of huge help.

aschrijver avatar Dec 14 '21 13:12 aschrijver

My small team are starting to do it right now. ActivityPub is an important part of what should be in Elgg.

RiverVanRain avatar May 05 '22 19:05 RiverVanRain

My small team are starting to do it right now.

Good to hear. Make sure to submit a PR on the 4.x branch (this is the feature branch). If you make a draft PR, you can receive feedback early!

jdalsem avatar May 09 '22 07:05 jdalsem

I'm the developer of pixelfed, a php based ActivityPub implementation. Feel free to reach out if you need any assistance with implementing ActivityPub support!

dansup avatar May 21 '22 08:05 dansup