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. If I wanted to mess around with ActivityPub c2s clients what's a server I can host that has support for it?

If I wanted to mess around with ActivityPub c2s clients what's a server I can host that has support for it?

Scheduled Pinned Locked Moved General Discussion
activitypubc2s
26 Posts 7 Posters 988 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.
  • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

    @tom I'm slowly working on one, but it's completely unpaid work.

    tom@tomkahe.comT This user is from outside of this forum
    tom@tomkahe.comT This user is from outside of this forum
    tom@tomkahe.com
    wrote on last edited by
    #7

    @thisismissem is that related to the stuff you were doing w/ PDSes a few weeks ago or are those separate projects?

    thisismissem@hachyderm.ioT 1 Reply Last reply
    0
    • mariusor@metalhead.clubM mariusor@metalhead.club

      @tom check if this one I wrote can be of use:

      Link Preview Image
      GitHub - mariusor/oni: Single user ActivityPub instance with minimal fuss. (mirror repository)

      Single user ActivityPub instance with minimal fuss. (mirror repository) - mariusor/oni

      favicon

      GitHub (github.com)

      PS: Any feedback about setting it up and configuring it for your use case will be appreciated, either here, or on github/mailing list.

      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.orgJ This user is from outside of this forum
      julian@community.nodebb.org
      wrote on last edited by
      #8

      mariusor@metalhead.club is there a public instance available?

      1 Reply Last reply
      0
      • tom@tomkahe.comT tom@tomkahe.com

        If I wanted to mess around with ActivityPub c2s clients what's a server I can host that has support for it?

        box464@mastodon.socialB This user is from outside of this forum
        box464@mastodon.socialB This user is from outside of this forum
        box464@mastodon.social
        wrote on last edited by
        #9

        @tom I see others are pointing you in a similar direction, but funnily enough I tinkered with Social Web's ap-component test instance this afternoon!

        Look at the sample client "acct-handler", too. That's what I tried today.

        Link Preview Image
        ap-components

        I want to share some information about a repository we just published. ap-components is a set of Web Components for building interfaces for the ActivityPub API. I built it as I was making a sample application for handling the acct: URI scheme. I found myself making more and more components for the UI, and realised…

        favicon

        Social Web Foundation (socialwebfoundation.org)

        Link Preview Image
        GitHub - social-web-foundation/acct-handler: Experiment with the acct: URL format

        Experiment with the acct: URL format. Contribute to social-web-foundation/acct-handler development by creating an account on GitHub.

        favicon

        GitHub (github.com)

        evan@cosocial.caE 1 Reply Last reply
        0
        • tom@tomkahe.comT tom@tomkahe.com

          @thisismissem is that related to the stuff you were doing w/ PDSes a few weeks ago or are those separate projects?

          thisismissem@hachyderm.ioT This user is from outside of this forum
          thisismissem@hachyderm.ioT This user is from outside of this forum
          thisismissem@hachyderm.io
          wrote on last edited by
          #10

          @tom yeah, activitypds is the research project name, but there's a bunch of upstream work in Fedify to enable C2S in Fedify, and then also to enable reusing the Fedify vocabularies (they take JSON-LD and convert into classes that Fedify understands, and handles serialisation to JSON-LD)

          thisismissem@hachyderm.ioT 1 Reply Last reply
          0
          • thisismissem@hachyderm.ioT thisismissem@hachyderm.io

            @tom yeah, activitypds is the research project name, but there's a bunch of upstream work in Fedify to enable C2S in Fedify, and then also to enable reusing the Fedify vocabularies (they take JSON-LD and convert into classes that Fedify understands, and handles serialisation to JSON-LD)

            thisismissem@hachyderm.ioT This user is from outside of this forum
            thisismissem@hachyderm.ioT This user is from outside of this forum
            thisismissem@hachyderm.io
            wrote on last edited by
            #11

            @tom basically the things I'm trying to solve in ActivityPDS are:
            - an OAuth profile (based on AT Proto's OAuth profile)
            - webfinger & DIDs & Handles
            - what should a "PDS" do in the context of ActivityPub C2S, how much logic does it implement, or is it just a simple pipe?

            1 Reply Last reply
            0
            • tom@tomkahe.comT tom@tomkahe.com

              If I wanted to mess around with ActivityPub c2s clients what's a server I can host that has support for it?

              evan@cosocial.caE This user is from outside of this forum
              evan@cosocial.caE This user is from outside of this forum
              evan@cosocial.ca
              wrote on last edited by
              #12

              @tom https://github.com/evanp/one page.pub/

              tom@tomkahe.comT 1 Reply Last reply
              0
              • evan@cosocial.caE evan@cosocial.ca

                @tom https://github.com/evanp/one page.pub/

                tom@tomkahe.comT This user is from outside of this forum
                tom@tomkahe.comT This user is from outside of this forum
                tom@tomkahe.com
                wrote on last edited by
                #13

                @evan oh yeah this should be perfect

                evan@cosocial.caE 1 Reply Last reply
                0
                • tom@tomkahe.comT tom@tomkahe.com

                  @evan oh yeah this should be perfect

                  evan@cosocial.caE This user is from outside of this forum
                  evan@cosocial.caE This user is from outside of this forum
                  evan@cosocial.ca
                  wrote on last edited by
                  #14

                  @tom I can also send you an invite code.

                  There's a chapter on the social API in the ActivityPub book.

                  Link Preview Image
                  ActivityPub book

                  In September 2023, I started work on a book about ActivityPub for O'Reilly Media. As of September 2024, the book is now available! Ebook The book is available from several different ebook vendors in different formats. O'Reilly Learning Platform Amazon Apple Books ebooks.com Kobo Print The book is not yet available in print format. O'Reilly…

                  favicon

                  Evan Prodromou's Blog (evanp.me)

                  tom@tomkahe.comT 1 Reply Last reply
                  0
                  • box464@mastodon.socialB box464@mastodon.social

                    @tom I see others are pointing you in a similar direction, but funnily enough I tinkered with Social Web's ap-component test instance this afternoon!

                    Look at the sample client "acct-handler", too. That's what I tried today.

                    Link Preview Image
                    ap-components

                    I want to share some information about a repository we just published. ap-components is a set of Web Components for building interfaces for the ActivityPub API. I built it as I was making a sample application for handling the acct: URI scheme. I found myself making more and more components for the UI, and realised…

                    favicon

                    Social Web Foundation (socialwebfoundation.org)

                    Link Preview Image
                    GitHub - social-web-foundation/acct-handler: Experiment with the acct: URL format

                    Experiment with the acct: URL format. Contribute to social-web-foundation/acct-handler development by creating an account on GitHub.

                    favicon

                    GitHub (github.com)

                    evan@cosocial.caE This user is from outside of this forum
                    evan@cosocial.caE This user is from outside of this forum
                    evan@cosocial.ca
                    wrote on last edited by
                    #15

                    @box464 @tom awesome! Make sure to add issues or PRs as you come up with ideas.

                    1 Reply Last reply
                    0
                    • tom@tomkahe.comT tom@tomkahe.com

                      If I wanted to mess around with ActivityPub c2s clients what's a server I can host that has support for it?

                      fedicat@pc.cafeF This user is from outside of this forum
                      fedicat@pc.cafeF This user is from outside of this forum
                      fedicat@pc.cafe
                      wrote on last edited by
                      #16

                      @tom there's a discussion here

                      Link Preview Image
                      Which ActivityPub applications support Client-to-Server (C2S)?

                      delightful-fediverse-experience - A curated list of server applications supported on the ActivityPub Fediverse and related standards.

                      favicon

                      Codeberg.org (codeberg.org)

                      1 Reply Last reply
                      0
                      • evan@cosocial.caE evan@cosocial.ca

                        @tom I can also send you an invite code.

                        There's a chapter on the social API in the ActivityPub book.

                        Link Preview Image
                        ActivityPub book

                        In September 2023, I started work on a book about ActivityPub for O'Reilly Media. As of September 2024, the book is now available! Ebook The book is available from several different ebook vendors in different formats. O'Reilly Learning Platform Amazon Apple Books ebooks.com Kobo Print The book is not yet available in print format. O'Reilly…

                        favicon

                        Evan Prodromou's Blog (evanp.me)

                        tom@tomkahe.comT This user is from outside of this forum
                        tom@tomkahe.comT This user is from outside of this forum
                        tom@tomkahe.com
                        wrote on last edited by
                        #17

                        @evan I signed up to get notified for the print edition a few months ago, still prefer actually holding physical books haha

                        evan@cosocial.caE 1 Reply Last reply
                        0
                        • tom@tomkahe.comT tom@tomkahe.com

                          @evan I signed up to get notified for the print edition a few months ago, still prefer actually holding physical books haha

                          evan@cosocial.caE This user is from outside of this forum
                          evan@cosocial.caE This user is from outside of this forum
                          evan@cosocial.ca
                          wrote on last edited by
                          #18

                          @tom OK!

                          1 Reply Last reply
                          0
                          • tom@tomkahe.comT tom@tomkahe.com

                            @mariusor I got it running w/o many issues (maybe I missed it but I didn't see any wiki pages on building Box? I got that working as well regardless)

                            Is there an active issue w/ fetching oni content in Mastodon? I can't seem to grab my user or any statuses from my server or from activitypub.academy. I also tried fetching your posts (because it sounded like it at least worked last year, https://metalhead.club/@mariusor/113708953874760675) but that didn't work either so maybe I'm missing something.

                            mariusor@metalhead.clubM This user is from outside of this forum
                            mariusor@metalhead.clubM This user is from outside of this forum
                            mariusor@metalhead.club
                            wrote on last edited by
                            #19

                            @tom I basically follow actors and that's how seeing posts by others in your /inbox works.

                            The frontend loads stuff directly through JavaScript fetch and needs all the mechanisms of that to work (and I imagine what you see might be things failing to load due to CORS rules being too restrictive on remote Mastodon instances)

                            I am not aware of any issues with receiving activities though, and in this process the objects themselves should be fully dereferenced to local copies.

                            I'll add a note about BOX compilation. Thanx.

                            mariusor@metalhead.clubM 1 Reply Last reply
                            0
                            • mariusor@metalhead.clubM mariusor@metalhead.club

                              @tom I basically follow actors and that's how seeing posts by others in your /inbox works.

                              The frontend loads stuff directly through JavaScript fetch and needs all the mechanisms of that to work (and I imagine what you see might be things failing to load due to CORS rules being too restrictive on remote Mastodon instances)

                              I am not aware of any issues with receiving activities though, and in this process the objects themselves should be fully dereferenced to local copies.

                              I'll add a note about BOX compilation. Thanx.

                              mariusor@metalhead.clubM This user is from outside of this forum
                              mariusor@metalhead.clubM This user is from outside of this forum
                              mariusor@metalhead.club
                              wrote on last edited by
                              #20

                              @tom looking at the post of mine you linked, I realize you're probably thinking of regular object discovery, and there isn't any mechanism for it yet, or for viewing remote objects that haven't reached your inbox.

                              tom@tomkahe.comT 1 Reply Last reply
                              0
                              • mariusor@metalhead.clubM This user is from outside of this forum
                                mariusor@metalhead.clubM This user is from outside of this forum
                                mariusor@metalhead.club
                                wrote on last edited by
                                #21

                                @julian yes, two of them:

                                https://rattlehead.bruta.link < where a bot posts daily metal releases scraped from the internet

                                https://marius.federated.id < where I write a bit about stuff and play with more expressive ActivityPub objects.

                                1 Reply Last reply
                                0
                                • mariusor@metalhead.clubM mariusor@metalhead.club

                                  @tom looking at the post of mine you linked, I realize you're probably thinking of regular object discovery, and there isn't any mechanism for it yet, or for viewing remote objects that haven't reached your inbox.

                                  tom@tomkahe.comT This user is from outside of this forum
                                  tom@tomkahe.comT This user is from outside of this forum
                                  tom@tomkahe.com
                                  wrote on last edited by
                                  #22

                                  @mariusor sorry I meant the reverse behavior, viewing Oni users/activities from my mastodon instance (or from mastodon.social) not viewing remote activities from oni

                                  I.e. searching for https://marius.federated.id/outbox/1725894299052/object doesn't pull up the object in mastodon (and searching for the user doesn't bring that up either)

                                  tom@tomkahe.comT mariusor@metalhead.clubM 2 Replies Last reply
                                  0
                                  • tom@tomkahe.comT tom@tomkahe.com

                                    @mariusor sorry I meant the reverse behavior, viewing Oni users/activities from my mastodon instance (or from mastodon.social) not viewing remote activities from oni

                                    I.e. searching for https://marius.federated.id/outbox/1725894299052/object doesn't pull up the object in mastodon (and searching for the user doesn't bring that up either)

                                    tom@tomkahe.comT This user is from outside of this forum
                                    tom@tomkahe.comT This user is from outside of this forum
                                    tom@tomkahe.com
                                    wrote on last edited by
                                    #23

                                    @mariusor actually nevermind ignore me, searching for your federated id user seems to work so I must have something wrong with my network configuration, I'll do some debugging later

                                    mariusor@metalhead.clubM 1 Reply Last reply
                                    0
                                    • tom@tomkahe.comT tom@tomkahe.com

                                      @mariusor sorry I meant the reverse behavior, viewing Oni users/activities from my mastodon instance (or from mastodon.social) not viewing remote activities from oni

                                      I.e. searching for https://marius.federated.id/outbox/1725894299052/object doesn't pull up the object in mastodon (and searching for the user doesn't bring that up either)

                                      mariusor@metalhead.clubM This user is from outside of this forum
                                      mariusor@metalhead.clubM This user is from outside of this forum
                                      mariusor@metalhead.club
                                      wrote on last edited by
                                      #24

                                      @tom I understand.

                                      Indeed in the past two/three weeks I must have deployed something (or Mastodon made some changes) that regular objects posted by ONI aren't findable any more. The problem is that I don't have a development setup for mastodon on which to test what the problem is. 😞

                                      However the actors should still be available.

                                      1 Reply Last reply
                                      0
                                      • tom@tomkahe.comT tom@tomkahe.com

                                        @mariusor actually nevermind ignore me, searching for your federated id user seems to work so I must have something wrong with my network configuration, I'll do some debugging later

                                        mariusor@metalhead.clubM This user is from outside of this forum
                                        mariusor@metalhead.clubM This user is from outside of this forum
                                        mariusor@metalhead.club
                                        wrote on last edited by
                                        #25

                                        @tom a quick check list for you:

                                        1. Check if the actor is publicly accessible from the internet.

                                        2. Check if it has a RSA private/public key.

                                        3. Check that if you have a proxy in front of ONI it doesn't mangle Accept/Vary/Content-Type headers.

                                        4. Check that if you have a proxy the `/.well-known/webfinger` route is handled by ONI. (your proxy should forward all routes to ONI directly as a start)

                                        julian@community.nodebb.orgJ 1 Reply Last reply
                                        0
                                        • mariusor@metalhead.clubM mariusor@metalhead.club

                                          @tom a quick check list for you:

                                          1. Check if the actor is publicly accessible from the internet.

                                          2. Check if it has a RSA private/public key.

                                          3. Check that if you have a proxy in front of ONI it doesn't mangle Accept/Vary/Content-Type headers.

                                          4. Check that if you have a proxy the `/.well-known/webfinger` route is handled by ONI. (your proxy should forward all routes to ONI directly as a start)

                                          julian@community.nodebb.orgJ This user is from outside of this forum
                                          julian@community.nodebb.orgJ This user is from outside of this forum
                                          julian@community.nodebb.org
                                          wrote on last edited by
                                          #26

                                          mariusor@metalhead.club Can you use ActivityPub.academy? There is a logger built in so you can see the activities coming and going. It might help you debug why the ONI activities aren't being processed.

                                          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