XMPP Service Operators - 2019-09-15


  1. 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

  2. Link Mauve

    Allie, I’ve started one as a Prosody module, but addressing issues are preventing me from getting there.

  3. Allie

    Link Mauve: link trying to figure out how to refer to other people? or referring to individual posts and such?

  4. Allie

    I ask mostly out of curiosity, since I don't know that I'd have the expertise to help, but who knows? hehe

  5. Link Mauve

    Allie, both.

  6. Allie

    heh, yeah... not sure how you'd do that since there's only so much you can to a JID

  7. ralphm

    Right, but the reverse seems possible. ActivityPub doesn't restrict URIs to be https. They could just as well be xmpp URIs.

  8. Allie

    and I'd guess you could use other attributes to represent the post ID and such

  9. 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.

  10. ralphm

    Way before activitypub was a thing.

  11. 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.

  12. Allie

    although I dunno why I care, like 95% of the activitypub stuff I've found was just garbage lol

  13. ralphm

    Hehe

  14. ralphm

    I've wondered what the best way is to connect two networks where each have their own federation protocols.

  15. ralphm

    Not just here, but also for Matrix.

  16. ralphm

    It seems to me that a single gateway that maps addressing is not a great idea.

  17. Allie

    yeah :(

  18. ralphm

    But the alternative means you have to support both in all the nodes. Or something.

  19. Allie

    I hate that we're just back to doing all the same stuff we tried to get away from years ago :/

  20. ralphm

    And indeed the third model is having private gateways like our old transports.

  21. ralphm

    Where you define multiple addresses for an entity and keep mappings.

  22. Allie

    private gateways is probably the easiest

  23. 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.

  24. ralphm

    (this was not for activitystreams)

  25. Allie

    that does sound like a pretty ingenious way to do it :)

  26. ralphm

    Yeah, I like to think that I did some cool stuff around this back then.

  27. 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.

  28. ralphm

    No reason it couldn't

  29. 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 :/

  30. Allie

    ralphm: is that for read-only access?

  31. ralphm

    What do you mean?

  32. Allie

    ralphm: about matrix or about the read-only access thing?

  33. ralphm

    IkDisplay is a waterfall display for realtime information. Example here https://display.ik.nu/fosdem

  34. ralphm

    This old presentation shows examples with activitystreams stuff in it: https://ralphm.net/publications/fosdem_2011/

  35. Allie

    I looked at the github project real quick since I just searched for it when you mentioned it hehe

  36. Allie

    interesting :)

  37. 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.

  38. ralphm

    We built it for showing stuff happening with our interactive installations at events.

  39. Allie

    makes sense

  40. ralphm

    As well as Twitter, resulting in a backchannel that was projected

  41. ralphm

    One of the best and fun projects I've worked on.

  42. 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

  43. 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).

  44. 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 :(

  45. ralphm

    😃

  46. ralphm

    Getting some sleep now. Cheers

  47. Allie

    night! :)