-
Allie
anyone happen to know if any of the social networking-type xmpp implementations provide an activitypub gateway? or if there are any xmpp-to-activitypub gateways? I've searched and haven't found anything so far
-
Link Mauve
Allie, I’ve started one as a Prosody module, but addressing issues are preventing me from getting there.
-
Allie
Link Mauve: link trying to figure out how to refer to other people? or referring to individual posts and such?
-
Allie
I ask mostly out of curiosity, since I don't know that I'd have the expertise to help, but who knows? hehe
-
Link Mauve
Allie, both.
-
Allie
heh, yeah... not sure how you'd do that since there's only so much you can to a JID
-
ralphm
Right, but the reverse seems possible. ActivityPub doesn't restrict URIs to be https. They could just as well be xmpp URIs.
-
Allie
and I'd guess you could use other attributes to represent the post ID and such
-
ralphm
FWIW I federated 60 social networks using XMPP PubSub, using Atom entry documents to represent things, and also supported activitystreams. Back in 2008-2011.
-
ralphm
Way before activitypub was a thing.
-
Allie
Yeah, I know xmpp itself can be used for a whole lot of that stuff. I was asking mainly because I'd like to be able to interact with the fediverse stuff via xmpp, or somehow extend movim/SaT to provide access to activitypub stuffs.
-
Allie
although I dunno why I care, like 95% of the activitypub stuff I've found was just garbage lol
-
ralphm
Hehe
-
ralphm
I've wondered what the best way is to connect two networks where each have their own federation protocols.
-
ralphm
Not just here, but also for Matrix.
-
ralphm
It seems to me that a single gateway that maps addressing is not a great idea.
-
Allie
yeah :(
-
ralphm
But the alternative means you have to support both in all the nodes. Or something.
-
Allie
I hate that we're just back to doing all the same stuff we tried to get away from years ago :/
-
ralphm
And indeed the third model is having private gateways like our old transports.
-
ralphm
Where you define multiple addresses for an entity and keep mappings.
-
Allie
private gateways is probably the easiest
-
ralphm
What I did at Mediamatic, when trying to subscribe to an unknown entity was the following. Retrieve the document pointed to with the http URI. See what link headers it had. If it had a link pointing to an XMPP PubSub node, subscribe using pubsub: done. If not, check for an Atom entry document link. If that existed, import the document once locally.
-
ralphm
(this was not for activitystreams)
-
Allie
that does sound like a pretty ingenious way to do it :)
-
ralphm
Yeah, I like to think that I did some cool stuff around this back then.
-
ralphm
The ikDisplay software was originally built for displaying all kinds of activitystreams stuff, along with Tweets. Nowadays it is mainly used for the latter, but there's not reason it could still do the former.
-
ralphm
No reason it couldn't
-
Allie
I do think it'd be nice to be able to easily federate with matrix, at least so the whole competition thing wouldn't really matter that much from a user standpoint. I just know I've used matrix a bit here and there and I just find it weird and don't like it :/
-
Allie
ralphm: is that for read-only access?
-
ralphm
What do you mean?
-
Allie
ralphm: about matrix or about the read-only access thing?
-
ralphm
IkDisplay is a waterfall display for realtime information. Example here https://display.ik.nu/fosdem
-
ralphm
This old presentation shows examples with activitystreams stuff in it: https://ralphm.net/publications/fosdem_2011/
-
Allie
I looked at the github project real quick since I just searched for it when you mentioned it hehe
-
Allie
interesting :)
-
ralphm
It is basically two things: an aggregator that subscribes to things via xmpp pubsub, polling feeds, or Twitter's Streaming API, and publishes aggregate feeds to XMPP pubsub. Then a Strophejs client to subscribe and display.
-
ralphm
We built it for showing stuff happening with our interactive installations at events.
-
Allie
makes sense
-
ralphm
As well as Twitter, resulting in a backchannel that was projected
-
ralphm
One of the best and fun projects I've worked on.
-
Allie
yeah the best times I've had are coming up with new ways to do things and seeing the results :) well, best times programming stuff ... there are other things to do that are arguably better lol
-
ralphm
Allie: I suppose XMPP could be useful to ActivityPub in two ways: 1) as a more efficient s2s exchange, 2) as a realtime stream for clients (just like Twitter's Realtime API).
-
Allie
I've been fiddling around with some of the Go xmpp libraries, also had been looking at how to implement some activitypub stuffs ... but a lot of reading the standards/specifications just makes my eyes glaze over :(
-
ralphm
😃
-
ralphm
Getting some sleep now. Cheers
-
Allie
night! :)