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. “All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view.

“All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view.

Scheduled Pinned Locked Moved General Discussion
activitypub
19 Posts 8 Posters 651 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.
  • zoul@boskovice.socialZ This user is from outside of this forum
    zoul@boskovice.socialZ This user is from outside of this forum
    zoul@boskovice.social
    wrote on last edited by
    #1

    “All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view. #ActivityPub was originally designed so that all of the data presentation layers—Mastodon, PeerTube, Pixelfed—would be specialized clients communicating with the generic server. But the first popular apps cut out the client-to-server part of the protocol, so people think you need a separate identity for every client application. https://news.ycombinator.com/item?id=45396517

    badrihippo@fosstodon.orgB 1 Reply Last reply
    0
    • zoul@boskovice.socialZ zoul@boskovice.social

      “All a ‘true ActivityPub server’ is for is storing data, fanning out subscriptions and collecting incoming data for you to view. #ActivityPub was originally designed so that all of the data presentation layers—Mastodon, PeerTube, Pixelfed—would be specialized clients communicating with the generic server. But the first popular apps cut out the client-to-server part of the protocol, so people think you need a separate identity for every client application. https://news.ycombinator.com/item?id=45396517

      badrihippo@fosstodon.orgB This user is from outside of this forum
      badrihippo@fosstodon.orgB This user is from outside of this forum
      badrihippo@fosstodon.org
      wrote on last edited by
      #2

      @zoul this is an important point and one I've been thinking about too. In the #XMPP world, we have generic servers and let the clients do whatever they want on top of it, which means the same account can be used for various purposes. I was wondering why this wasn't so in the #ActivityPub world, so it's good to know there's no particular reason for it and it can be that way if we want it to be!

      It'd also reduce work for new projects as they "just" have to implement a client, not a server

      helge@mymath.rocksH 1 Reply Last reply
      0
      • badrihippo@fosstodon.orgB badrihippo@fosstodon.org

        @zoul this is an important point and one I've been thinking about too. In the #XMPP world, we have generic servers and let the clients do whatever they want on top of it, which means the same account can be used for various purposes. I was wondering why this wasn't so in the #ActivityPub world, so it's good to know there's no particular reason for it and it can be that way if we want it to be!

        It'd also reduce work for new projects as they "just" have to implement a client, not a server

        helge@mymath.rocksH This user is from outside of this forum
        helge@mymath.rocksH This user is from outside of this forum
        helge@mymath.rocks
        wrote on last edited by
        #3

        There are good reasons for the work being on the servers. They are just not explained / ignored in the ActivityPub specification documents.

        The reason is roughly: The data model of ActivityPub has no integrity mechanism. This is patched by requiring users to trust their origin server and servers communicating through signed messages.

        badrihippo@fosstodon.orgB 1 Reply Last reply
        0
        • helge@mymath.rocksH helge@mymath.rocks

          There are good reasons for the work being on the servers. They are just not explained / ignored in the ActivityPub specification documents.

          The reason is roughly: The data model of ActivityPub has no integrity mechanism. This is patched by requiring users to trust their origin server and servers communicating through signed messages.

          badrihippo@fosstodon.orgB This user is from outside of this forum
          badrihippo@fosstodon.orgB This user is from outside of this forum
          badrihippo@fosstodon.org
          wrote on last edited by
          #4

          @helge interesting: this is a little over my head so could you tell me a bit more? Do you mean at the level of "the server can impersonate any of its users and make them say whatever it wants" or also at the schema level somehow?

          I suppose the server impersonation thing is a potential issue and would need some kind of keys/signing to solve, but I can''t see how that relates to tighter or looser coupling between client and server 👀

          helge@mymath.rocksH 1 Reply Last reply
          0
          • badrihippo@fosstodon.orgB badrihippo@fosstodon.org

            @helge interesting: this is a little over my head so could you tell me a bit more? Do you mean at the level of "the server can impersonate any of its users and make them say whatever it wants" or also at the schema level somehow?

            I suppose the server impersonation thing is a potential issue and would need some kind of keys/signing to solve, but I can''t see how that relates to tighter or looser coupling between client and server 👀

            helge@mymath.rocksH This user is from outside of this forum
            helge@mymath.rocksH This user is from outside of this forum
            helge@mymath.rocks
            wrote on last edited by
            #5

            I'm talking here about the Fediverse and my experience with it (including ActivityPub).

            Due to the data model: A server needs to store / understand all the data owned by the server. This is due to

            • the nature of ActivityPub objects being fetchable by their id (a HTTPS uri).
            • people often expecting a HTML version if they click on the object

            This means all outgoing stuff needs to be tracked and understood by the server! Due to the desire of coordinating replies / like counts / etc ... the server also needs to understand the incoming traffic.

            silverpill@mitra.socialS 1 Reply Last reply
            0
            • helge@mymath.rocksH helge@mymath.rocks

              I'm talking here about the Fediverse and my experience with it (including ActivityPub).

              Due to the data model: A server needs to store / understand all the data owned by the server. This is due to

              • the nature of ActivityPub objects being fetchable by their id (a HTTPS uri).
              • people often expecting a HTML version if they click on the object

              This means all outgoing stuff needs to be tracked and understood by the server! Due to the desire of coordinating replies / like counts / etc ... the server also needs to understand the incoming traffic.

              silverpill@mitra.socialS This user is from outside of this forum
              silverpill@mitra.socialS This user is from outside of this forum
              silverpill@mitra.social
              wrote on last edited by
              #6

              @helge @badrihippo Having tried to build a generic ActivityPub server, I can confirm: this is very difficult, maybe impossible. The server needs to understand the payloads -- in order to generate collections, for example. And security implications of allowing arbitrary activities are not quite clear.

              However, I think a modified version of ActivityPub protocol could support generic servers.

              reiver@mastodon.socialR 1 Reply Last reply
              0
              • silverpill@mitra.socialS silverpill@mitra.social

                @helge @badrihippo Having tried to build a generic ActivityPub server, I can confirm: this is very difficult, maybe impossible. The server needs to understand the payloads -- in order to generate collections, for example. And security implications of allowing arbitrary activities are not quite clear.

                However, I think a modified version of ActivityPub protocol could support generic servers.

                reiver@mastodon.socialR This user is from outside of this forum
                reiver@mastodon.socialR This user is from outside of this forum
                reiver@mastodon.social
                wrote on last edited by
                #7

                @silverpill @helge @badrihippo

                Do you have a sense of what you feel would need to be modified with ActivityPub to make it work?

                xmppbrasil@mastodon.socialX sl007@digitalcourage.socialS 2 Replies Last reply
                0
                • reiver@mastodon.socialR reiver@mastodon.social

                  @silverpill @helge @badrihippo

                  Do you have a sense of what you feel would need to be modified with ActivityPub to make it work?

                  xmppbrasil@mastodon.socialX This user is from outside of this forum
                  xmppbrasil@mastodon.socialX This user is from outside of this forum
                  xmppbrasil@mastodon.social
                  wrote on last edited by
                  #8

                  @reiver @silverpill @helge @badrihippo

                  @zoul I really want a generic server. In that case I would have to start developing one of my own?

                  A generic server that has support to Mastodon, Lemmy and Peertube API would be awesome

                  1 Reply Last reply
                  0
                  • reiver@mastodon.socialR reiver@mastodon.social

                    @silverpill @helge @badrihippo

                    Do you have a sense of what you feel would need to be modified with ActivityPub to make it work?

                    sl007@digitalcourage.socialS This user is from outside of this forum
                    sl007@digitalcourage.socialS This user is from outside of this forum
                    sl007@digitalcourage.social
                    wrote on last edited by
                    #9

                    @reiver @silverpill @helge @badrihippo

                    @julian@activitypub.space @julian@community.nodebb.org
                    @by_caballero

                    full ack.
                    We are working heavily towards a generic server and in deed it is super important what Helge decribes but anyway, we need to come together.

                    original:
                    „the client APIs necessary to make this a reality haven't seen much development“

                    But many people want this.
                    We should change that now and meet.
                    After organizing the first official Confs https://conf.tube/c/apconf_channel/videos (tons of videos) I advised the EU for DMA and DSA and then Client To Server was eye-opening for them.

                    My last Talks (e.g. together with funder at fediday) and those after had been in German but when we showed the AP Client2Server boardgame at Public Spaces it was english https://video.publicspaces.net/w/9USsJ37cHVy4tY9Pn7DX2X 🙂

                    So, if anyone is interested in a nice dev. meeting about this topic apart from the new taskforces, please comment here !

                    reiver@mastodon.socialR 1 Reply Last reply
                    0
                    • sl007@digitalcourage.socialS sl007@digitalcourage.social

                      @reiver @silverpill @helge @badrihippo

                      @julian@activitypub.space @julian@community.nodebb.org
                      @by_caballero

                      full ack.
                      We are working heavily towards a generic server and in deed it is super important what Helge decribes but anyway, we need to come together.

                      original:
                      „the client APIs necessary to make this a reality haven't seen much development“

                      But many people want this.
                      We should change that now and meet.
                      After organizing the first official Confs https://conf.tube/c/apconf_channel/videos (tons of videos) I advised the EU for DMA and DSA and then Client To Server was eye-opening for them.

                      My last Talks (e.g. together with funder at fediday) and those after had been in German but when we showed the AP Client2Server boardgame at Public Spaces it was english https://video.publicspaces.net/w/9USsJ37cHVy4tY9Pn7DX2X 🙂

                      So, if anyone is interested in a nice dev. meeting about this topic apart from the new taskforces, please comment here !

                      reiver@mastodon.socialR This user is from outside of this forum
                      reiver@mastodon.socialR This user is from outside of this forum
                      reiver@mastodon.social
                      wrote on last edited by
                      #10

                      @sl007

                      I am happy to do a video call with anyone interested. (Assuming that is what you were suggesting.)

                      We would just need to figure out a day and time for it.

                      cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                      sl007@digitalcourage.socialS 1 Reply Last reply
                      0
                      • reiver@mastodon.socialR reiver@mastodon.social

                        @sl007

                        I am happy to do a video call with anyone interested. (Assuming that is what you were suggesting.)

                        We would just need to figure out a day and time for it.

                        cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                        sl007@digitalcourage.socialS This user is from outside of this forum
                        sl007@digitalcourage.socialS This user is from outside of this forum
                        sl007@digitalcourage.social
                        wrote on last edited by
                        #11

                        @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                        very nice, that was my suggestion.
                        I am just coding all day and so I'm very flexible.

                        reiver@mastodon.socialR 1 Reply Last reply
                        0
                        • sl007@digitalcourage.socialS sl007@digitalcourage.social

                          @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                          very nice, that was my suggestion.
                          I am just coding all day and so I'm very flexible.

                          reiver@mastodon.socialR This user is from outside of this forum
                          reiver@mastodon.socialR This user is from outside of this forum
                          reiver@mastodon.social
                          wrote on last edited by
                          #12

                          @sl007

                          What time-zone are you in?

                          cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                          sl007@digitalcourage.socialS 1 Reply Last reply
                          0
                          • reiver@mastodon.socialR reiver@mastodon.social

                            @sl007

                            What time-zone are you in?

                            cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                            sl007@digitalcourage.socialS This user is from outside of this forum
                            sl007@digitalcourage.socialS This user is from outside of this forum
                            sl007@digitalcourage.social
                            wrote on last edited by
                            #13

                            @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                            Europe/Berlin

                            PS
                            according to the temporal polyfill and "Intl to ActivityPub" I wrote yesterday:
                            This Olson id is the same timezone like e.g. id: "DE-BE" or "DE" and can now be parsed from all localized names of the .Intl world – which is serverside polyfilled as well https://digitalcourage.social/@sl007/115275358490217223
                            ¯\_(ツ)_/¯
                            At the moment it is summer in the EU which never implemented citizens demands or democracy results and so shifts are still in effect.
                            At the moment it is UTC+1
                            ¯\_(ツ)_/¯

                            reiver@mastodon.socialR 1 Reply Last reply
                            0
                            • sl007@digitalcourage.socialS sl007@digitalcourage.social

                              @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                              Europe/Berlin

                              PS
                              according to the temporal polyfill and "Intl to ActivityPub" I wrote yesterday:
                              This Olson id is the same timezone like e.g. id: "DE-BE" or "DE" and can now be parsed from all localized names of the .Intl world – which is serverside polyfilled as well https://digitalcourage.social/@sl007/115275358490217223
                              ¯\_(ツ)_/¯
                              At the moment it is summer in the EU which never implemented citizens demands or democracy results and so shifts are still in effect.
                              At the moment it is UTC+1
                              ¯\_(ツ)_/¯

                              reiver@mastodon.socialR This user is from outside of this forum
                              reiver@mastodon.socialR This user is from outside of this forum
                              reiver@mastodon.social
                              wrote on last edited by
                              #14

                              @sl007

                              I am away from home (on the west-coast Canada) right now — and I am currently in Korea.

                              So, I am in UTC+9 right now.

                              I think my very early morning (in Korea) is your late evening (in Germany).

                              Would you be able to do a video chat in your late evening?

                              cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                              sl007@digitalcourage.socialS 1 Reply Last reply
                              0
                              • reiver@mastodon.socialR reiver@mastodon.social

                                @sl007

                                I am away from home (on the west-coast Canada) right now — and I am currently in Korea.

                                So, I am in UTC+9 right now.

                                I think my very early morning (in Korea) is your late evening (in Germany).

                                Would you be able to do a video chat in your late evening?

                                cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                sl007@digitalcourage.socialS This user is from outside of this forum
                                sl007@digitalcourage.socialS This user is from outside of this forum
                                sl007@digitalcourage.social
                                wrote on last edited by
                                #15

                                @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                would be able.

                                just btw: If it is "South Korea", I recommend having coffee with https://toot.jeena.net/@jeena 😉

                                reiver@mastodon.socialR 1 Reply Last reply
                                0
                                • sl007@digitalcourage.socialS sl007@digitalcourage.social

                                  @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero

                                  would be able.

                                  just btw: If it is "South Korea", I recommend having coffee with https://toot.jeena.net/@jeena 😉

                                  reiver@mastodon.socialR This user is from outside of this forum
                                  reiver@mastodon.socialR This user is from outside of this forum
                                  reiver@mastodon.social
                                  wrote on last edited by
                                  #16

                                  @sl007

                                  I am in Korea right now. But where I am staying is far away from Seoul and Pangyo.

                                  cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                  reiver@mastodon.socialR 1 Reply Last reply
                                  0
                                  • reiver@mastodon.socialR reiver@mastodon.social

                                    @sl007

                                    I am in Korea right now. But where I am staying is far away from Seoul and Pangyo.

                                    cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                    reiver@mastodon.socialR This user is from outside of this forum
                                    reiver@mastodon.socialR This user is from outside of this forum
                                    reiver@mastodon.social
                                    wrote on last edited by
                                    #17

                                    @sl007

                                    How about doing the video chat on your Saturday evening?

                                    (Which would be my Sunday morning.)

                                    cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                    sl007@digitalcourage.socialS 1 Reply Last reply
                                    0
                                    • reiver@mastodon.socialR reiver@mastodon.social

                                      @sl007

                                      How about doing the video chat on your Saturday evening?

                                      (Which would be my Sunday morning.)

                                      cc: @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                      sl007@digitalcourage.socialS This user is from outside of this forum
                                      sl007@digitalcourage.socialS This user is from outside of this forum
                                      sl007@digitalcourage.social
                                      wrote on last edited by
                                      #18

                                      @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                      I would be fine. Is anyone else interested?

                                      julian@activitypub.spaceJ 1 Reply Last reply
                                      0
                                      • sl007@digitalcourage.socialS sl007@digitalcourage.social

                                        @reiver @silverpill @helge @badrihippo @julian@activitypub.space @julian@community.nodebb.org @by_caballero @hongminhee

                                        I would be fine. Is anyone else interested?

                                        julian@activitypub.spaceJ This user is from outside of this forum
                                        julian@activitypub.spaceJ This user is from outside of this forum
                                        julian@activitypub.space
                                        wrote on last edited by
                                        #19

                                        sl007@digitalcourage.social unfortunately not free but interested in any minutes and outcomes of this meeting!

                                        cc reiver@mastodon.social helge@mymath.rocks

                                        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