by thejohnconway · 6y ago · 0 comments
In my opinion, ActivityPub is way too complicated, and federating is just too hard to do for smaller projects. You mention that there are many new projects – this has been the case for a while. Last time I looked, nearly all of them had failed/stopped/paused before actually getting federation working. The test suite is down, and has been for at least a year:
https://test.activitypub.rocks
I think that ActivityPub should have started out far simpler, and it should have been in reach of hobbyist developers. Something probably closer to RSS, with verify-from-source rather than cryptographically signed posts.
Just my experience, obviously. I would love to be able to write and run my own little Twitter-like instance that people can subscribe to, but I can't because ActivityPub was too difficult for me to get working.
[1]: https://blog.joinmastodon.org/2018/06/how-to-implement-a-bas... https://blog.joinmastodon.org/2018/07/how-to-make-friends-an...
I did follow your tutorials, by the way, but I got stuck on certain things (cryptographic signing being the main one I remember), couldn't test them easily with the test suite being down, and gave up eventually.
Am I too stupid? Probably. But I can imagine a spec that gives me practically everything I want in a decentralised Twitter replacement being almost as simple as RSS or JSONfeed for example, which took me a few hours to implement.
Yeah, that's lame. According to the Github issue it's been down since March 2019 [0]
OP wrote an unofficial Activity Streams test suite [1] to fill the gap [2].
[0] https://github.com/w3c/activitypub/issues/337
[1] https://github.com/go-fed/testsuite
[2] https://mastodon.technology/@cj/104519578501508322
edit: link correction
This is bad, of course, but there was organic, though chaotic growth. The AP community has recognized the problem and is slowly catching up. Slow, because its an all-volunteer FOSS movement, atm.
The testsuite being down is a known issue and on the todo-list for a long while [0]. Just yesterday an alternative testsuite was announced [1]. Also the creator of PixelFed has a great test tool called FediDB [2] in private beta.
Finally note that federation with the Fediverse is often not the first goal of new projects, but something that comes later on the roadmap, if at all. Some projects like ForgeFed [3] - federated code forges - need no Mastodon connectivity per se, just interconnect github, gitlab, gitea, etc. and is developing their own spec on top of AP for that.
PS. There is also a guide for new implementers in the making, but currently exists as a wiki post [4] on SocialHub (that you can improve based on own experience).
[0] https://socialhub.activitypub.rocks/t/the-activitypub-test-s...
[1] https://socialhub.activitypub.rocks/t/unofficial-test-suite-...
[2] https://socialhub.activitypub.rocks/t/introducing-fedidb-dev...
[3] https://forgefed.peers.community
[4] https://socialhub.activitypub.rocks/t/guide-for-new-activity...
However, I can't imagine that spec is going to be drastically simplified, so I probably won't have another go even if the tooling improves. I don't properly understand large parts of it, and therefore won't be able to troubleshoot or keep up with changes.
I wish the projects that do have the tech chops to implement this properly well, and I'll continue as a user. But I'm going use something simpler if it comes along.
> go-fed/activity is unlike most other software on the Fediverse. It is the first standalone ActivityPub library. It is also the pioneering solution in Go. It is designed for those who have no prior experience with ActivityPub, ActivityStreams, JSON-LD, or RDF.