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 (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. General Discussion
  3. I am just digging through the #golang #activitypub library.

I am just digging through the #golang #activitypub library.

Scheduled Pinned Locked Moved General Discussion
golangactivitypub
1 Cross-posts 9 Posts 4 Posters 8 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.
  • oliverandrich@social.tchncs.deO This user is from outside of this forum
    oliverandrich@social.tchncs.deO This user is from outside of this forum
    oliverandrich@social.tchncs.de
    wrote last edited by
    #1

    I am just digging through the #golang #activitypub library. Sadly, I can't find the entry point to get started. Anybody has a good idea for a starting point or a blog post that shows a minimal example?

    https://go-activitypub.federated.id/lib/index.html

    blainsmith@fosstodon.orgB jerger@social.meissa-gmbh.deJ mariusor@metalhead.clubM 3 Replies Last reply
    0
    • oliverandrich@social.tchncs.deO oliverandrich@social.tchncs.de

      I am just digging through the #golang #activitypub library. Sadly, I can't find the entry point to get started. Anybody has a good idea for a starting point or a blog post that shows a minimal example?

      https://go-activitypub.federated.id/lib/index.html

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

      @oliverandrich @mariusor is the person to help out here and can direct you to the right spot.

      1 Reply Last reply
      0
      • ? Guest crossposted this topic to General Discussion
      • oliverandrich@social.tchncs.deO oliverandrich@social.tchncs.de

        I am just digging through the #golang #activitypub library. Sadly, I can't find the entry point to get started. Anybody has a good idea for a starting point or a blog post that shows a minimal example?

        https://go-activitypub.federated.id/lib/index.html

        jerger@social.meissa-gmbh.deJ This user is from outside of this forum
        jerger@social.meissa-gmbh.deJ This user is from outside of this forum
        jerger@social.meissa-gmbh.de
        wrote last edited by
        #3

        @oliverandrich
        Maybe join us at forgejo federation ?

        1 Reply Last reply
        0
        • oliverandrich@social.tchncs.deO oliverandrich@social.tchncs.de

          I am just digging through the #golang #activitypub library. Sadly, I can't find the entry point to get started. Anybody has a good idea for a starting point or a blog post that shows a minimal example?

          https://go-activitypub.federated.id/lib/index.html

          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 last edited by
          #4

          @oliverandrich hey, what kind of application are you interested in? I'm AFK until Monday to give you more specific information, but maybe the list of modules can give you a better idea of what it can do: https://go-activitypub.federated.id/lib/index.html#the-module-layout

          oliverandrich@social.tchncs.deO 1 Reply Last reply
          0
          • mariusor@metalhead.clubM mariusor@metalhead.club

            @oliverandrich hey, what kind of application are you interested in? I'm AFK until Monday to give you more specific information, but maybe the list of modules can give you a better idea of what it can do: https://go-activitypub.federated.id/lib/index.html#the-module-layout

            oliverandrich@social.tchncs.deO This user is from outside of this forum
            oliverandrich@social.tchncs.deO This user is from outside of this forum
            oliverandrich@social.tchncs.de
            wrote last edited by
            #5

            @mariusor I am building my own blog engine in Go and want it to be a first class citizen on the fediverse from day one.

            So far, I have looked into your package and I will definetly use the vocabulary, which is an awesome library. Inbox, Outbox and Storage I have to implement myself, as I will use my ODM, my handlers and so on. But I am digging through your code and learn.

            mariusor@metalhead.clubM 2 Replies Last reply
            0
            • oliverandrich@social.tchncs.deO oliverandrich@social.tchncs.de

              @mariusor I am building my own blog engine in Go and want it to be a first class citizen on the fediverse from day one.

              So far, I have looked into your package and I will definetly use the vocabulary, which is an awesome library. Inbox, Outbox and Storage I have to implement myself, as I will use my ODM, my handlers and so on. But I am digging through your code and learn.

              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 last edited by
              #6

              @oliverandrich you can look at this project of mine which is basically a blog operated with activitypub: https://github.com/mariusor/oni

              1 Reply Last reply
              0
              • oliverandrich@social.tchncs.deO oliverandrich@social.tchncs.de

                @mariusor I am building my own blog engine in Go and want it to be a first class citizen on the fediverse from day one.

                So far, I have looked into your package and I will definetly use the vocabulary, which is an awesome library. Inbox, Outbox and Storage I have to implement myself, as I will use my ODM, my handlers and so on. But I am digging through your code and learn.

                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 last edited by
                #7

                @oliverandrich so I'm back behind a keyboard, if you need more help with using GoActivityPub.

                And as a separate thing, since this discussion started from the documentation website, I would be interested in how it failed to provide you with the information that could have helped you.

                oliverandrich@social.tchncs.deO 1 Reply Last reply
                0
                • mariusor@metalhead.clubM mariusor@metalhead.club

                  @oliverandrich so I'm back behind a keyboard, if you need more help with using GoActivityPub.

                  And as a separate thing, since this discussion started from the documentation website, I would be interested in how it failed to provide you with the information that could have helped you.

                  oliverandrich@social.tchncs.deO This user is from outside of this forum
                  oliverandrich@social.tchncs.deO This user is from outside of this forum
                  oliverandrich@social.tchncs.de
                  wrote last edited by
                  #8

                  @mariusor Sorry, for the late response. I was a few days off myself.

                  I think, what I was looking for was a "How to write a minimal AP server"-type of article. I know, a tough request for such a complex topic. But I also underestimated the complexity.

                  mariusor@metalhead.clubM 1 Reply Last reply
                  0
                  • oliverandrich@social.tchncs.deO oliverandrich@social.tchncs.de

                    @mariusor Sorry, for the late response. I was a few days off myself.

                    I think, what I was looking for was a "How to write a minimal AP server"-type of article. I know, a tough request for such a complex topic. But I also underestimated the complexity.

                    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 last edited by
                    #9

                    @oliverandrich I'll ponder on this and see if I can come up with some starting points.

                    The library does have a "reference server implementation"[1] but it's not entirely "minimal", because in it's smallest form an ActivityPub server needs to do quite a lot already:

                    1/ dispatch locally stored objects when requested
                    2/ process remote activities targeted at local actors
                    3/ process and dispatch client activities of local actors

                    On top of these actions, a server might need to have additional behaviours attached to certain Activity+Object combinations.

                    https://github.com/go-ap/fedbox

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    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