Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. General Discussion
  3. There's a lot of energy on the #Fediverse right now to discuss/find a #Federated alternative to #Discord using #ActivityPub.

There's a lot of energy on the #Fediverse right now to discuss/find a #Federated alternative to #Discord using #ActivityPub.

Scheduled Pinned Locked Moved General Discussion
fediversefederateddiscordactivitypubemissary
38 Posts 9 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • benpate@mastodon.socialB benpate@mastodon.social

    There's a lot of energy on the #Fediverse right now to discuss/find a #Federated alternative to #Discord using #ActivityPub.

    @strypey suggested that I put this out there to anyone who's thinking about it. We could probably rebuild most of Discord's features as an #Emissary inbox without doing a lot of back end code.

    I'm too swamped to start on this right now. But if you're a great HTML+CSS designer, I'm able to give some time to a team who wants to take this on.

    strypey@mastodon.nzoss.nzS This user is from outside of this forum
    strypey@mastodon.nzoss.nzS This user is from outside of this forum
    strypey@mastodon.nzoss.nz
    wrote last edited by
    #15

    @benpate
    > We could probably rebuild most of Discord's features as an Emissary inbox without doing a lot of back end code

    One way to rapid prototype this would be to cheat. Copy as much as Discord's HTML/CSS/JS as you can get hold of. Chuck it in a private repo, accessible only to you/ your team.

    Then you only need to build a layer of scripting glue and gaffer tape between that and an existing AP back-end (#Emissary, @Bonfire, dealer's choice).

    (1/2)

    #Discord

    strypey@mastodon.nzoss.nzS crft@mastodon.socialC 2 Replies Last reply
    0
    • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

      @benpate
      > We could probably rebuild most of Discord's features as an Emissary inbox without doing a lot of back end code

      One way to rapid prototype this would be to cheat. Copy as much as Discord's HTML/CSS/JS as you can get hold of. Chuck it in a private repo, accessible only to you/ your team.

      Then you only need to build a layer of scripting glue and gaffer tape between that and an existing AP back-end (#Emissary, @Bonfire, dealer's choice).

      (1/2)

      #Discord

      strypey@mastodon.nzoss.nzS This user is from outside of this forum
      strypey@mastodon.nzoss.nzS This user is from outside of this forum
      strypey@mastodon.nzoss.nz
      wrote last edited by
      #16

      After a few days/ weeks of furious hacking, you'll either give up in disgust and tombstone your repo, or a get a PoC working. If you do, celebrate and announce the fact.

      Then you can recruit web/app designers who've never had access to the private repo (with the Discord layout code). They can then build Free Code interfaces on top of your glue and gaffer tape layer. Voila, a fully libre service with all the key features of Discord

      Rinse, repeat for other DataFarms we'd like to replace.

      (2/2)

      fluffy@plush.cityF mick_collins@toot.communityM 2 Replies Last reply
      0
      • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

        After a few days/ weeks of furious hacking, you'll either give up in disgust and tombstone your repo, or a get a PoC working. If you do, celebrate and announce the fact.

        Then you can recruit web/app designers who've never had access to the private repo (with the Discord layout code). They can then build Free Code interfaces on top of your glue and gaffer tape layer. Voila, a fully libre service with all the key features of Discord

        Rinse, repeat for other DataFarms we'd like to replace.

        (2/2)

        fluffy@plush.cityF This user is from outside of this forum
        fluffy@plush.cityF This user is from outside of this forum
        fluffy@plush.city
        wrote last edited by
        #17

        @strypey Personally I'd be much more interested in seeing what could be done using a more IndieWeb approach. atom or mf2 for publishing, WebSub+WebMention for push, bearer tokens exchanged via TicketAuth for private access.

        I'm not sure it would be *better* than ActivityPub but I do like the idea of building protocols on top of the web and which don't rely on .well-known paths to function.

        fluffy@plush.cityF 1 Reply Last reply
        0
        • fluffy@plush.cityF fluffy@plush.city

          @strypey Personally I'd be much more interested in seeing what could be done using a more IndieWeb approach. atom or mf2 for publishing, WebSub+WebMention for push, bearer tokens exchanged via TicketAuth for private access.

          I'm not sure it would be *better* than ActivityPub but I do like the idea of building protocols on top of the web and which don't rely on .well-known paths to function.

          fluffy@plush.cityF This user is from outside of this forum
          fluffy@plush.cityF This user is from outside of this forum
          fluffy@plush.city
          wrote last edited by
          #18

          @strypey I'm not sure it would be *better* than ActivityPub but it'd be a fun thing to experiment with, at least.

          strypey@mastodon.nzoss.nzS 1 Reply Last reply
          0
          • fluffy@plush.cityF fluffy@plush.city

            @strypey I'm not sure it would be *better* than ActivityPub but it'd be a fun thing to experiment with, at least.

            strypey@mastodon.nzoss.nzS This user is from outside of this forum
            strypey@mastodon.nzoss.nzS This user is from outside of this forum
            strypey@mastodon.nzoss.nz
            wrote last edited by
            #19

            @fluffy
            > what could be done using a more IndieWeb approach. atom or mf2 for publishing, WebSub+WebMention for push, bearer tokens exchanged via TicketAuth for private access

            Knock yourself out. Let a thousand flowers bloom! ; )

            fluffy@plush.cityF 1 Reply Last reply
            0
            • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

              @fluffy
              > what could be done using a more IndieWeb approach. atom or mf2 for publishing, WebSub+WebMention for push, bearer tokens exchanged via TicketAuth for private access

              Knock yourself out. Let a thousand flowers bloom! ; )

              fluffy@plush.cityF This user is from outside of this forum
              fluffy@plush.cityF This user is from outside of this forum
              fluffy@plush.city
              wrote last edited by
              #20

              @strypey Yeah, the problem I run into with that is that developing things for the sake of trying them out ends up eating into my limited energy and pain budget which is hard to feel worthwhile when nobody else wants to do the same thing.

              I have so many projects that I built because they felt like they served a need but then nobody else wanted to actually use them, and it ends up feeling not worth it given my disabilities.

              strypey@mastodon.nzoss.nzS 1 Reply Last reply
              0
              • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

                After a few days/ weeks of furious hacking, you'll either give up in disgust and tombstone your repo, or a get a PoC working. If you do, celebrate and announce the fact.

                Then you can recruit web/app designers who've never had access to the private repo (with the Discord layout code). They can then build Free Code interfaces on top of your glue and gaffer tape layer. Voila, a fully libre service with all the key features of Discord

                Rinse, repeat for other DataFarms we'd like to replace.

                (2/2)

                mick_collins@toot.communityM This user is from outside of this forum
                mick_collins@toot.communityM This user is from outside of this forum
                mick_collins@toot.community
                wrote last edited by
                #21

                @strypey
                I Am Not A Coder, but @laurenshof pointed out that all the pieces that make up a Discord replacement are already in the Fediverse (article here: https://connectedplaces.online/reports/fr153-what-does-a-discord-replacement-look-like/), just not in one app. It occurs to me that someone could write a front-end that calls those apps as if they were the same app, and the end user wouldn't need to know

                strypey@mastodon.nzoss.nzS 1 Reply Last reply
                0
                • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

                  @zicklag
                  > I'm always open to questions!

                  How far off the mark was I in this pair of posts, about how Roomy uses ATProto and what that suggests for how it might use ActivityPub?

                  Strypey (@strypey@mastodon.nzoss.nz)

                  (1/2) @benpate@mastodon.social > you’re only signing in with your ActivityPub identity though? The article is light on specifics, but it seems like Roomy is a client app, not a server+client app like Mastodon. So in ATProto jargon; https://dustycloud.org/blog/how-decentralized-is-bluesky/ ... Roomy is an AppView, using the PDS for a logged in ATProto account as a data store (not sure if or how it uses Relays). @klu9@ohai.social

                  favicon

                  Mastodon - NZOSS (mastodon.nzoss.nz)

                  > we don't need to replicate the chats to different servers

                  So "channels" and "servers" (as Discord uses these terms) would be tied to the originating server, like MUC in XMPP? Not replicated using the data storage of the participating accounts, as Matrix does?

                  @benpate @klu9

                  zicklag@mastodon.socialZ This user is from outside of this forum
                  zicklag@mastodon.socialZ This user is from outside of this forum
                  zicklag@mastodon.social
                  wrote last edited by
                  #22

                  Roomy does have a client and a server. The server has it's own protcol that isn't Roomy specific.

                  If we let you login with Mastodon it would just be for login still keep all of the data hosted on our server and wouldn't need to implement any Mastodon / AP APIs.

                  We do use the PDS for some storage / integrations, but once we get a tiny new feature in our server those can all be optional, and all the we need can be hosted on our server.

                  @strypey @benpate @klu9

                  zicklag@mastodon.socialZ 1 Reply Last reply
                  0
                  • zicklag@mastodon.socialZ zicklag@mastodon.social

                    Roomy does have a client and a server. The server has it's own protcol that isn't Roomy specific.

                    If we let you login with Mastodon it would just be for login still keep all of the data hosted on our server and wouldn't need to implement any Mastodon / AP APIs.

                    We do use the PDS for some storage / integrations, but once we get a tiny new feature in our server those can all be optional, and all the we need can be hosted on our server.

                    @strypey @benpate @klu9

                    zicklag@mastodon.socialZ This user is from outside of this forum
                    zicklag@mastodon.socialZ This user is from outside of this forum
                    zicklag@mastodon.social
                    wrote last edited by
                    #23

                    > So "channels" and "servers" (as Discord uses these terms) would be tied to the originating server, like MUC in XMPP?

                    Yes.

                    If I understand XMPP right, we have an advantage also in that we can have chat spaces use domains like handles for discovery, but it's possible to change the handle and the hosting server without everybody having to re-join.

                    @strypey @benpate @klu9

                    strypey@mastodon.nzoss.nzS 1 Reply Last reply
                    0
                    • fentiger@mastodon.socialF fentiger@mastodon.social

                      @strypey @zicklag @benpate @activitypods @erlend As far as I know, the "backup to PDS" thing is seen as "something we could do in principle, but haven't implemented yet".

                      As I understand it, Solid uses a strictly "RDF / JSON-LD" approach, and I doubt that Roomy's current data model would fit into this very well.

                      (I'm not directly involved in Roomy development, but I've been hanging out in their internal chats, and following their evolution really quite closely.)

                      zicklag@mastodon.socialZ This user is from outside of this forum
                      zicklag@mastodon.socialZ This user is from outside of this forum
                      zicklag@mastodon.social
                      wrote last edited by
                      #24

                      Yeah, we don't have backups yet, but probably will have them soon.

                      Those will be optional though. It's just to give the user more data security, while many ATProto users will trust their PDS more than our server.

                      There actually is pretty good chances we could do a similar integration with Solid pods, but we've only got so much we can take on as a small team and I'm not sure what we'll be able to get to when.

                      @FenTiger @strypey @benpate @activitypods @erlend

                      zicklag@mastodon.socialZ 1 Reply Last reply
                      0
                      • zicklag@mastodon.socialZ zicklag@mastodon.social

                        Yeah, we don't have backups yet, but probably will have them soon.

                        Those will be optional though. It's just to give the user more data security, while many ATProto users will trust their PDS more than our server.

                        There actually is pretty good chances we could do a similar integration with Solid pods, but we've only got so much we can take on as a small team and I'm not sure what we'll be able to get to when.

                        @FenTiger @strypey @benpate @activitypods @erlend

                        zicklag@mastodon.socialZ This user is from outside of this forum
                        zicklag@mastodon.socialZ This user is from outside of this forum
                        zicklag@mastodon.social
                        wrote last edited by
                        #25

                        The RDF / JSON-LD approach of Solid could possibly be bypassed reasonably by just storing blobs with some metadata, but I'm not very familiar with Solid.

                        For backups we'd mostly be storing bundled archives of events anyway, so it isn't super important that thhose archives be semantically indexed as long as we can just store our serialized archive blobs.

                        @FenTiger @strypey @benpate @activitypods @erlend

                        strypey@mastodon.nzoss.nzS 1 Reply Last reply
                        0
                        • zicklag@mastodon.socialZ zicklag@mastodon.social

                          > So "channels" and "servers" (as Discord uses these terms) would be tied to the originating server, like MUC in XMPP?

                          Yes.

                          If I understand XMPP right, we have an advantage also in that we can have chat spaces use domains like handles for discovery, but it's possible to change the handle and the hosting server without everybody having to re-join.

                          @strypey @benpate @klu9

                          strypey@mastodon.nzoss.nzS This user is from outside of this forum
                          strypey@mastodon.nzoss.nzS This user is from outside of this forum
                          strypey@mastodon.nzoss.nz
                          wrote last edited by
                          #26

                          @zicklag
                          > chat spaces [can] use domains like handles for discovery, but it's possible to change the handle and the hosting server

                          Ah, so the answer to my question above is more like yes *and* no. Your spaces aren't distributed across participating servers like @matrix spaces. But they can move servers, unlike in @xmpp. I had a skim through both the MUC and spaces specs and can't see anything about portability;

                          XEP-0045: Multi-User Chat

                          favicon

                          (xmpp.org)

                          XEP-XXXX: Server-side spaces

                          favicon

                          (xmpp.org)

                          @benpate @klu9

                          1 Reply Last reply
                          0
                          • zicklag@mastodon.socialZ zicklag@mastodon.social

                            The RDF / JSON-LD approach of Solid could possibly be bypassed reasonably by just storing blobs with some metadata, but I'm not very familiar with Solid.

                            For backups we'd mostly be storing bundled archives of events anyway, so it isn't super important that thhose archives be semantically indexed as long as we can just store our serialized archive blobs.

                            @FenTiger @strypey @benpate @activitypods @erlend

                            strypey@mastodon.nzoss.nzS This user is from outside of this forum
                            strypey@mastodon.nzoss.nzS This user is from outside of this forum
                            strypey@mastodon.nzoss.nz
                            wrote last edited by
                            #27

                            @zicklag
                            > we don't have backups yet, but probably will have them soon

                            The blog post I just read and posted a quote from says you'll only be able to backup public data in PDS (for now, at least). That's a pretty serious limitation.

                            I wonder if Solid pods could be used as PDS? Maybe by creating a fenced off area within a pod, containing only public data, readable and writable via the PDS API?

                            I'd love to get some comment from @activitypods team on all this.

                            @FenTiger @benpate @erlend

                            zicklag@mastodon.socialZ 1 Reply Last reply
                            0
                            • fluffy@plush.cityF fluffy@plush.city

                              @strypey Yeah, the problem I run into with that is that developing things for the sake of trying them out ends up eating into my limited energy and pain budget which is hard to feel worthwhile when nobody else wants to do the same thing.

                              I have so many projects that I built because they felt like they served a need but then nobody else wanted to actually use them, and it ends up feeling not worth it given my disabilities.

                              strypey@mastodon.nzoss.nzS This user is from outside of this forum
                              strypey@mastodon.nzoss.nzS This user is from outside of this forum
                              strypey@mastodon.nzoss.nz
                              wrote last edited by
                              #28

                              @fluffy I feel ya. Having some sense of buy-in and collaboration helps to sustain motivation when the terrain gets boggy. This is why I like the idea of a formalised competition/ hackathon approach.

                              1 Reply Last reply
                              0
                              • mick_collins@toot.communityM mick_collins@toot.community

                                @strypey
                                I Am Not A Coder, but @laurenshof pointed out that all the pieces that make up a Discord replacement are already in the Fediverse (article here: https://connectedplaces.online/reports/fr153-what-does-a-discord-replacement-look-like/), just not in one app. It occurs to me that someone could write a front-end that calls those apps as if they were the same app, and the end user wouldn't need to know

                                strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                strypey@mastodon.nzoss.nz
                                wrote last edited by
                                #29

                                (1/2)

                                @mick_collins
                                > someone could write a front-end that calls those apps as if they were the same app, and the end user wouldn't need to know

                                Ooh, you're wading into murky waters here Mick ; ) Here be (komodo) dragons!

                                Putting aside the messy details, you're right that one app could present a unified interface on top of a bunch of different components. In fact, most apps do that, we're just so used to seeing certain features bundled together that we don't notice.

                                @laurenshof

                                strypey@mastodon.nzoss.nzS 1 Reply Last reply
                                0
                                • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

                                  (1/2)

                                  @mick_collins
                                  > someone could write a front-end that calls those apps as if they were the same app, and the end user wouldn't need to know

                                  Ooh, you're wading into murky waters here Mick ; ) Here be (komodo) dragons!

                                  Putting aside the messy details, you're right that one app could present a unified interface on top of a bunch of different components. In fact, most apps do that, we're just so used to seeing certain features bundled together that we don't notice.

                                  @laurenshof

                                  strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                  strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                  strypey@mastodon.nzoss.nz
                                  wrote last edited by
                                  #30

                                  (2/2)

                                  But the devil is in the details. Specifically, what kind of plumbing is the most efficient, most maintainable way to connect all the bits together?

                                  Up until 2020, when it died without warning, I had the #Disintermedia blog and wiki on CoActivate.org. A site based on OpenPlans, a Free Code project creates by welding together WordPress and a bunch of other software with a Python framework (Django, I think?). The UX was pretty good for the time, but performance and maintenance were hell.

                                  1 Reply Last reply
                                  0
                                  • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

                                    @zicklag
                                    > we don't have backups yet, but probably will have them soon

                                    The blog post I just read and posted a quote from says you'll only be able to backup public data in PDS (for now, at least). That's a pretty serious limitation.

                                    I wonder if Solid pods could be used as PDS? Maybe by creating a fenced off area within a pod, containing only public data, readable and writable via the PDS API?

                                    I'd love to get some comment from @activitypods team on all this.

                                    @FenTiger @benpate @erlend

                                    zicklag@mastodon.socialZ This user is from outside of this forum
                                    zicklag@mastodon.socialZ This user is from outside of this forum
                                    zicklag@mastodon.social
                                    wrote last edited by
                                    #31

                                    Yeah, it looks like it's possible that ATProto might get private data this year, which we could use for private backups, but until then they'll have to stay public.

                                    It's also quite easy to make small tools / services that replicate a Roomy space to any other kind of backup target.

                                    I made a proof-of-concept that could replicate our wiki pages to markdown files in a git repo.

                                    @strypey @FenTiger @benpate @erlend

                                    zicklag@mastodon.socialZ 1 Reply Last reply
                                    0
                                    • zicklag@mastodon.socialZ zicklag@mastodon.social

                                      Yeah, it looks like it's possible that ATProto might get private data this year, which we could use for private backups, but until then they'll have to stay public.

                                      It's also quite easy to make small tools / services that replicate a Roomy space to any other kind of backup target.

                                      I made a proof-of-concept that could replicate our wiki pages to markdown files in a git repo.

                                      @strypey @FenTiger @benpate @erlend

                                      zicklag@mastodon.socialZ This user is from outside of this forum
                                      zicklag@mastodon.socialZ This user is from outside of this forum
                                      zicklag@mastodon.social
                                      wrote last edited by
                                      #32

                                      Even if you didn't login to Roomy directly with solid / ActivityPub, we could still have a backup service that replicates to a Solid pod.

                                      Or even just an app you run on your computer that backs up your data.

                                      @strypey @FenTiger @benpate @erlend

                                      strypey@mastodon.nzoss.nzS 1 Reply Last reply
                                      0
                                      • zicklag@mastodon.socialZ zicklag@mastodon.social

                                        Even if you didn't login to Roomy directly with solid / ActivityPub, we could still have a backup service that replicates to a Solid pod.

                                        Or even just an app you run on your computer that backs up your data.

                                        @strypey @FenTiger @benpate @erlend

                                        strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                        strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                        strypey@mastodon.nzoss.nz
                                        wrote last edited by
                                        #33

                                        (1/3)

                                        @zicklag
                                        > Even if you didn't login to Roomy directly with solid / ActivityPub, we could still have a backup service that replicates to a Solid pod

                                        Oh absolutely, please consider doing a PoC! @activitypods is an experimental project to see how Solid can work in combination with ActivityPub. But they're separate protocols, doing different things, and you can totally use one without the other.

                                        @FenTiger @benpate @erlend

                                        strypey@mastodon.nzoss.nzS 1 Reply Last reply
                                        0
                                        • strypey@mastodon.nzoss.nzS strypey@mastodon.nzoss.nz

                                          (1/3)

                                          @zicklag
                                          > Even if you didn't login to Roomy directly with solid / ActivityPub, we could still have a backup service that replicates to a Solid pod

                                          Oh absolutely, please consider doing a PoC! @activitypods is an experimental project to see how Solid can work in combination with ActivityPub. But they're separate protocols, doing different things, and you can totally use one without the other.

                                          @FenTiger @benpate @erlend

                                          strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                          strypey@mastodon.nzoss.nzS This user is from outside of this forum
                                          strypey@mastodon.nzoss.nz
                                          wrote last edited by
                                          #34

                                          (2/3)

                                          I'm bullish on Solid though, because it's supported by TBL, and offers a standardised way for social web apps to store user data in a protocol-neutral way. I see a potential social web where apps can choose whatever server-to-server and client-to-server protocols best suit their use cases, but identity and data storage are unified and under the control of the people who identity and data it is.

                                          strypey@mastodon.nzoss.nzS 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups