Replies: 9 comments 4 replies
-
So, as an alleged expert in this now, here's what I think the basic coverage of ActivityPub (i.e. sending posts to followers with only a single "account" you follow for the whole server) would entail:
Needless to say, this means you also need a working JSON-LD and signature implementation, but those could be lifted from another project directly or placed into a reuseable library. |
Beta Was this translation helpful? Give feedback.
-
I personally think that something like this would be better suited to be an external package. Maybe even starting as a blog post or two from anyone in the community. While I agree that this capability would be awesome and I'm all for ActivityPub - this is not something that all sites would use and might not be suitable for Wagtail core. It might be worth discussing what parts are missing that may be suitable for Wagtail. For example there is an existing RFC to add background workers to Wagtail - wagtail/rfcs#72 I'll let other core team members add their thoughts and maybe experience with implementing something similar. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your feedback. |
Beta Was this translation helpful? Give feedback.
-
Thanks @pauloxnet - I 100% think this is a good discussion to have and agree that the more Wagtail can do for developers the better it is. However, some things are often best suited as an external package even if it may end up in core in the future. Let's give others a week or so to give feedback and thoughts - we may end up moving this to a discussion not an issue from there. |
Beta Was this translation helpful? Give feedback.
-
I agree with you. Maybe this would be a starting point for an external package, if feasible. |
Beta Was this translation helpful? Give feedback.
-
Interesting article on Python / Mastodon - https://dev.to/andypiper/a-opportunity-for-developers-1ee4 |
Beta Was this translation helpful? Give feedback.
-
WordPress just announced a plugin for Mastadon / Activity Pub support. Based on an acquired plugin earlier this year. https://techcrunch.com/2023/03/13/wordpress-com-owner-automattic-acquires-an-activitypub-plugin-so-blogs-can-join-the-fediverse/ |
Beta Was this translation helpful? Give feedback.
-
Thank you for keeping the conversation going @lb- and @pauloxnet :) Personally I think this would definitely be a great fit for Wagtail/Django, both on functionality and also alignment of value. But I’d agree in the immediate term this is a clear case where we’d recommend creating a package. We simply currently don’t have enough expertise with ActivityPub within our current "core" maintainer group to help make this happen in It could however still be an "official" Wagtail project if there’s enough interest. We have a lot of code that’s opt-in functionality in a package and nonetheless well supported. If it helps, here are the kinds of things that I think are possible, based on similar initiatives we’ve supported in the past:
In the short term, if anyone wants to push for this, I’d recommend to:
And from my perspective with little understanding of the work needed here, I’d appreciate:
|
Beta Was this translation helpful? Give feedback.
-
hi everyone (happy new year! ), this weekend I got the chance to meet people working at Mastodon and run this idea past them. They said it was a good idea :) They also said minimal ActivityPub support should only be a few hundred lines of code (I assume they meant very minimal), and provided a recent "minimal ActivityPub server" tutorial (Russian). For comparison I see that wordpress-activitypub is on the order of 11k lines of code. So – this feels doable? Do you all think this idea is still relevant or not so much? Feels to me like a quite neat Wagtail package for sure. For context, RFC 72: background workers which has been identified as a likely requirement – is provisionally on the roadmap for Wagtail 6.1* (May 2024 release, see RFC 91). I’ve also asked what people think on Mastodon, if you want to check what the wisdom of the crowd is on the Fediverse. |
Beta Was this translation helpful? Give feedback.
-
Is your proposal related to a problem?
I want the readers of my Wagtail based website will be able to follow my news on Mastodon and other federated platforms that support ActivityPub.
Describe the solution you'd like
Add support for ActivityPub in Wagtail so that it works out-of-the-box.
I'm no expert on the ActivityPub protocol, but I imagine that the functionality you could add in Wagtail with an integration with ActivityPub (in addition to an RSS bot) could basically be the ability to receive and track reactions (e.g. reply, boost, fav, bookmark) and maybe show threaded comments.
Describe alternatives you've considered
Wordpress already have a plugin to add ActivityPub support to already published website.
Drupal has ActivityPub support too.
Additional context
There are already some Django-based implementation of ActivityPub protocol for standalone servers (es: takahe or bookwyrm) but it would be very useful to add ActivtyPub support to an already published Wagtail based website.
Beta Was this translation helpful? Give feedback.
All reactions