Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. "how to not regret c2s"w.on-t.work/activitypub/c2smy opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously.

"how to not regret c2s"w.on-t.work/activitypub/c2smy opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously.

Scheduled Pinned Locked Moved Uncategorized
activitypubfedidevs
23 Posts 11 Posters 10 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.
  • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
    "how to not regret c2s"
    w.on-t.work/activitypub/c2s

    my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

    #activityPub #fediDevs
    doskel@masto.doskel.netD This user is from outside of this forum
    doskel@masto.doskel.netD This user is from outside of this forum
    doskel@masto.doskel.net
    wrote on last edited by
    #2

    @kopper tbh I always got the idea this was the only good way to use AP given the nature of it using rdf and just begging for extensible content

    1 Reply Last reply
    1
    0
    • R relay@relay.infosec.exchange shared this topic on
    • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
      "how to not regret c2s"
      w.on-t.work/activitypub/c2s

      my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

      #activityPub #fediDevs
      nelson@wetdry.worldN This user is from outside of this forum
      nelson@wetdry.worldN This user is from outside of this forum
      nelson@wetdry.world
      wrote on last edited by
      #3

      @kopper should i read this if i'm not working with AP

      i was considering whether i should just do c2s versia

      kopper@not-brain.d.on-t.workK 1 Reply Last reply
      0
      • nelson@wetdry.worldN nelson@wetdry.world

        @kopper should i read this if i'm not working with AP

        i was considering whether i should just do c2s versia

        kopper@not-brain.d.on-t.workK This user is from outside of this forum
        kopper@not-brain.d.on-t.workK This user is from outside of this forum
        kopper@not-brain.d.on-t.work
        wrote on last edited by
        #4
        @nelson given the architecture i'm proposing is effectively the atproto PDS/AppView split, i don't think there's too much that's activitypub-specific here
        smallcircles@social.coopS 1 Reply Last reply
        0
        • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
          @nelson given the architecture i'm proposing is effectively the atproto PDS/AppView split, i don't think there's too much that's activitypub-specific here
          smallcircles@social.coopS This user is from outside of this forum
          smallcircles@social.coopS This user is from outside of this forum
          smallcircles@social.coop
          wrote on last edited by
          #5

          @kopper @nelson

          This is marvelous. I wasn't aware of your project, but now I am and added it to the #ActivityPub #C2S tracking list.

          I've also lined up #Outpost for inclusion on the delightful #fediverse curated lists at https://delightful.coding.social

          1 Reply Last reply
          0
          • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
            "how to not regret c2s"
            w.on-t.work/activitypub/c2s

            my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

            #activityPub #fediDevs
            kopper@not-brain.d.on-t.workK This user is from outside of this forum
            kopper@not-brain.d.on-t.workK This user is from outside of this forum
            kopper@not-brain.d.on-t.work
            wrote on last edited by
            #6
            did some minor updates, no clue if the cached view updated yet but you can read the diff here if you already read the article before:

            codeberg.org/KittyShopper/w.on-t.work/commit/5e22c16b6df73b8c36cba07171ffe8a0b509aa32
            kopper@not-brain.d.on-t.workK 1 Reply Last reply
            0
            • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
              "how to not regret c2s"
              w.on-t.work/activitypub/c2s

              my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

              #activityPub #fediDevs
              hipsterelectron@circumstances.runH This user is from outside of this forum
              hipsterelectron@circumstances.runH This user is from outside of this forum
              hipsterelectron@circumstances.run
              wrote on last edited by
              #7

              @kopper unfortunately not the point but this is easily the craziest css i've ever seen. bravo

              1 Reply Last reply
              0
              • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                "how to not regret c2s"
                w.on-t.work/activitypub/c2s

                my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

                #activityPub #fediDevs
                amy@sk.girlthi.ngA This user is from outside of this forum
                amy@sk.girlthi.ngA This user is from outside of this forum
                amy@sk.girlthi.ng
                wrote on last edited by
                #8

                @kopper@not-brain.d.on-t.work 1am rants are always peak writing

                1 Reply Last reply
                0
                • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                  "how to not regret c2s"
                  w.on-t.work/activitypub/c2s

                  my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

                  #activityPub #fediDevs
                  fiore@brain.worm.pinkF This user is from outside of this forum
                  fiore@brain.worm.pinkF This user is from outside of this forum
                  fiore@brain.worm.pink
                  wrote on last edited by
                  #9

                  @kopper@not-brain.d.on-t.work what does c2s mean in this context ?

                  kopper@not-brain.d.on-t.workK 1 Reply Last reply
                  0
                  • fiore@brain.worm.pinkF fiore@brain.worm.pink

                    @kopper@not-brain.d.on-t.work what does c2s mean in this context ?

                    kopper@not-brain.d.on-t.workK This user is from outside of this forum
                    kopper@not-brain.d.on-t.workK This user is from outside of this forum
                    kopper@not-brain.d.on-t.work
                    wrote on last edited by
                    #10
                    @fiore activitypub client-to-server
                    1 Reply Last reply
                    0
                    • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                      did some minor updates, no clue if the cached view updated yet but you can read the diff here if you already read the article before:

                      codeberg.org/KittyShopper/w.on-t.work/commit/5e22c16b6df73b8c36cba07171ffe8a0b509aa32
                      kopper@not-brain.d.on-t.workK This user is from outside of this forum
                      kopper@not-brain.d.on-t.workK This user is from outside of this forum
                      kopper@not-brain.d.on-t.work
                      wrote on last edited by
                      #11
                      another minor update, fixing a few typos and linking a few more things. also toned down the snark cuz i've been enough of a dick already

                      codeberg.org/KittyShopper/w.on-t.work/commit/d998852290e9652f4511108ea2b8729d5e148205
                      1 Reply Last reply
                      0
                      • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                        "how to not regret c2s"
                        w.on-t.work/activitypub/c2s

                        my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

                        #activityPub #fediDevs
                        alexia@shrimp.starlightnet.workA This user is from outside of this forum
                        alexia@shrimp.starlightnet.workA This user is from outside of this forum
                        alexia@shrimp.starlightnet.work
                        wrote on last edited by
                        #12
                        @kopper haven't read the full thing but so far I very much like this
                        1 Reply Last reply
                        0
                        • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                          "how to not regret c2s"
                          w.on-t.work/activitypub/c2s

                          my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

                          #activityPub #fediDevs
                          kopper@not-brain.d.on-t.workK This user is from outside of this forum
                          kopper@not-brain.d.on-t.workK This user is from outside of this forum
                          kopper@not-brain.d.on-t.work
                          wrote on last edited by
                          #13
                          i should open issues on github.com/swicg/activitypub-api/issues for all my proposals and end up committing 10 faux pas in a row because they still havent decided on if they want a monolithic One Server that replaces the mastodon api or something actually worthwhile to implement
                          1 Reply Last reply
                          0
                          • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                            "how to not regret c2s"
                            w.on-t.work/activitypub/c2s

                            my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

                            #activityPub #fediDevs
                            volpeon@icy.wyvern.ripV This user is from outside of this forum
                            volpeon@icy.wyvern.ripV This user is from outside of this forum
                            volpeon@icy.wyvern.rip
                            wrote on last edited by
                            #14

                            @kopper Your opinions are pretty much the same as mine. That's always how I approached my own instance server projects before the requirements inevitably grew way over my head haha

                            1 Reply Last reply
                            0
                            • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                              "how to not regret c2s"
                              w.on-t.work/activitypub/c2s

                              my opinions about how activitypub c2s ought to be implemented, probably with way too much snark for anyone to take it seriously. wrote pretty much all of it at like 1 am so expect the writing to not be great. will prolly regret it tomorrow but eh. whatever

                              #activityPub #fediDevs
                              kopper@not-brain.d.on-t.workK This user is from outside of this forum
                              kopper@not-brain.d.on-t.workK This user is from outside of this forum
                              kopper@not-brain.d.on-t.work
                              wrote last edited by
                              #15
                              also unrelated but i may as well throw this in here since i keep thinking about it but. doing c2s this way also opens your client up to being multi-protocol. say you want to be like wafrn and federate both via ap and atproto, you can then plug in PDSs the same way you plugged in AP C2S servers. your own client can then merge both into one

                              this does lose a handful of the benefits some features mentioned would bring. you would need to store all the data yourself as you'll need your own common API format, you'd need to maintain your own login tokens, your backend would need to act as a proxy for writing to the PDS/C2S server which enables you to cut that off completely if you "go evil". i did touch upon these downsides on
                              w.on-t.work/this-tall-to-interoperate

                              or alternatively, you could have a "personal bridgy" which can be both a c2s client and an atproto client/appview and bridge the objects of an individual actor, irrelevant of which client is used to create them in either direction, but bridging like this isn't really interop because e.g. replies from the other network would not be visible without client support
                              kopper@not-brain.d.on-t.workK 1 Reply Last reply
                              0
                              • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                                also unrelated but i may as well throw this in here since i keep thinking about it but. doing c2s this way also opens your client up to being multi-protocol. say you want to be like wafrn and federate both via ap and atproto, you can then plug in PDSs the same way you plugged in AP C2S servers. your own client can then merge both into one

                                this does lose a handful of the benefits some features mentioned would bring. you would need to store all the data yourself as you'll need your own common API format, you'd need to maintain your own login tokens, your backend would need to act as a proxy for writing to the PDS/C2S server which enables you to cut that off completely if you "go evil". i did touch upon these downsides on
                                w.on-t.work/this-tall-to-interoperate

                                or alternatively, you could have a "personal bridgy" which can be both a c2s client and an atproto client/appview and bridge the objects of an individual actor, irrelevant of which client is used to create them in either direction, but bridging like this isn't really interop because e.g. replies from the other network would not be visible without client support
                                kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                kopper@not-brain.d.on-t.work
                                wrote last edited by
                                #16
                                i guess you could make a frontend that talks both APIs natively and picks which one to use depending on how you log in, which would avoid the going evil bit, but that increases complexity on the user's device a fair bit (likely manageable though) and still requires you to proxy the content of the other network as trying to fetch it from the client will either rate-limit/be slow or cause auth failures (e.g. an atproto login trying to fetch AP objects)
                                kopper@not-brain.d.on-t.workK 1 Reply Last reply
                                0
                                • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                                  i guess you could make a frontend that talks both APIs natively and picks which one to use depending on how you log in, which would avoid the going evil bit, but that increases complexity on the user's device a fair bit (likely manageable though) and still requires you to proxy the content of the other network as trying to fetch it from the client will either rate-limit/be slow or cause auth failures (e.g. an atproto login trying to fetch AP objects)
                                  kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                  kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                  kopper@not-brain.d.on-t.work
                                  wrote last edited by
                                  #17
                                  now that i think about it, you would need actors and logins for both sides anyway if you're doing bridging, this is prolly not an issue
                                  kopper@not-brain.d.on-t.workK 1 Reply Last reply
                                  0
                                  • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                                    now that i think about it, you would need actors and logins for both sides anyway if you're doing bridging, this is prolly not an issue
                                    kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                    kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                    kopper@not-brain.d.on-t.work
                                    wrote last edited by
                                    #18
                                    bad ideas:

                                    xrpc/com.w3.activitystreams.proxyUrl?id=https://..
                                    {
                                        "endpoints": {
                                            "xrpcProxyUrl": "https://..."
                                        }
                                    }
                                    jb@waf.moeJ 1 Reply Last reply
                                    0
                                    • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                                      bad ideas:

                                      xrpc/com.w3.activitystreams.proxyUrl?id=https://..
                                      {
                                          "endpoints": {
                                              "xrpcProxyUrl": "https://..."
                                          }
                                      }
                                      jb@waf.moeJ This user is from outside of this forum
                                      jb@waf.moeJ This user is from outside of this forum
                                      jb@waf.moe
                                      wrote last edited by
                                      #19

                                      a XRPC endpoint returning AS2-compatible data would be funny

                                      1 Reply Last reply
                                      1
                                      0
                                      • R relay@relay.an.exchange shared this topic
                                      • kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                        kopper@not-brain.d.on-t.workK This user is from outside of this forum
                                        kopper@not-brain.d.on-t.work
                                        wrote last edited by
                                        #20
                                        @jb i should look this up do lexicons have any places they can have unrestricted json in or would it have to be a string or something
                                        jb@waf.moeJ 1 Reply Last reply
                                        0
                                        • kopper@not-brain.d.on-t.workK kopper@not-brain.d.on-t.work
                                          @jb i should look this up do lexicons have any places they can have unrestricted json in or would it have to be a string or something
                                          jb@waf.moeJ This user is from outside of this forum
                                          jb@waf.moeJ This user is from outside of this forum
                                          jb@waf.moe
                                          wrote last edited by
                                          #21

                                          lexicons do have unrestricted json, lexicon validation are there but its not required

                                          1 Reply Last reply
                                          1
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

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