Repository navigation
Integrate ActivityPub #146
Description
Activity
Got this email
Hey there, I saw your issue #146 and wanted to take the opportunity to invite you to the SocialHub, where ActivityPub developers gather. If you like I can setup a category for you so you can share your experience implementing ActivityPub, and get help from the people who advance the protocol specifications. <invite link, check email for invite link>Here's the basics on making a page discoverable by the fediverse
https://maho.dev/2024/02/a-guide-to-implementing-activitypub-in-a-static-site-or-any-website-part-3/
and here is the work needed to make activities get posted to the fediverse
Additional details here https://dev.to/thasmin/getting-started-with-activitypub-2mgm
It looks like with this the absolute easiest thing to do is to start with a webfinger.
Simply a +1 on this. There are fedi tools for "micro-blogging" , image & video sharing, and various clients, but I am not aware of any music streaming tool, particularly that has a payment/ tipping option built in. I think there are many potential synergies.
Big support to connecting Mirlo with the Fediverse! In fact, the lack of this connection is an important factor making me hesitate to set my tiny humble home here, and I was a crowdfunding backer with a T-shirt (meaning, I'm convinced about Mirlo's goodness). 🙂
I was wondering, does the ongoing development of https://emissary.dev/ and https://bandwagon.fm help to get inspiration and see how they are solving things?
Reacted by Andy Piper, AxWax and Ben Pateif activityPub is fully integrated that means musicians don't have to put their music on multiple places as anyone with a fedi account can follow one's releases, and posts, from any domain. this interoperability is very important. what's more, could such federation work also for collections of bought albums/releases? could even "competing" projects like jamCoop, bandwagon, and mirlo interoperate, forming a federated network of interconnected nodes on plural but compatible "marketplace" for music?
whatever the implementation, any move towards use of activityPub protocol gets my highest vote!
Reacted by Andy Piper, AxWax, sknob and Filipe MedeirosSome updates on this:
Users in Mirlo can activate their ActivityPub integration by going on their artist details page and toggling the relevant button there. This is still a WIP so don't expect much.
When they do that, a webfinger will be enabled, eg. https://webfinger.net/lookup/?resource=team%40mirlo.space
The webfinger points to an actor page: https://verify.funfedi.dev/?actor_uri=https%3A%2F%2Fmirlo.space%2Fv1%2Fartists%2Fteam
Which does seem to work (even though POSTs don't work, but that should be fine?), however, mastodon isn't finding our team Person, nor does NodeBB, which implies there's something going wrong: https://community.nodebb.org/user/team@mirlo.space
Made a post on the activitypub forum: https://socialhub.activitypub.rocks/t/help-debugging-why-mastodon-isnt-finding-an-actor/5056
Reacted by Andy Piper, AxWax, sknob, thevril and Arnold SchrijverReacted by icaria36Thank you! ActivityPub integration enabled in my artist profile, and I will start uploading my music (regardless of the status of this bug; seeing a clear intention is all I needed to convince myself from doing the move). :)
Update: because this is so flaky I hid it behind a feature flag. If you're interested in testing it out pls email us at hi@mirlo.space
Should look into transitioning to fedify https://github.com/fedify-dev/fedify/ to take a lot of this work off our plate
After some research and try&error I've found out that to integrate fedify we should use the sub library @fedify/express, as you can see here it needs at most express 4 and we are using expres 5.1 which blocks the integration
Hey, has anything else happened regarding federation that's not been mentioned here?
@JuxGD Just to clarify that federation isn't exclusively about ActivityPub, but yeah, there's been ActivityPub progress. Artists can (as of this morning) toggle ActivityPub on their profile and they'll appear like we do https://browser.pub/@team@mirlo.space
Reacted by Remy Way, JuxGD and Andy Piperhi :)
I'm one of the dev of Funkwhale and i wanted to propose my help if you want to implement the ActivityPub objects we support. Unlike Canimus we have multiple artists support which is a should have from my pov. You can find the FEP here : https://codeberg.org/petitminion/fep/src/branch/fep-be68/fep/be68/fep-be68.md and the discussion : https://socialhub.activitypub.rocks/t/fep-be68-audio-objects/8614@petitminion would you be down to create a discussion for this? https://github.com/funmusicplace/mirlo/discussions I think actually the scope of this ticket is mostly done and anything more specific should be a new ticket.
I wonder if this would be the way to do activity-pub-express at the easiest level, though it seems to be primarily based around a mongo database.