home.social

#activitypubdev — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #activitypubdev, aggregated by home.social.

  1. I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

    Writing tests for the client module took the bulk of this time and it was a proper slog. We did manage to increase code coverage from under 20% to 80% plus.

    This makes it a bit harder to migrate to a new API when the future version 1 of the library will be tagged, but the changes I have planned shouldn't be insurmountable.

    Now I just need to implement the verification, and I'll be done with what is a very large milestone for the library. :goose_hacker:

    #ActivityPubDev #fedidev #httpsig

  2. I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

    Writing tests for the client module took the bulk of this time and it was a proper slog. We did manage to increase code coverage from under 20% to 80% plus.

    This makes it a bit harder to migrate to a new API when the future version 1 of the library will be tagged, but the changes I have planned shouldn't be insurmountable.

    Now I just need to implement the verification, and I'll be done with what is a very large milestone for the library. :goose_hacker:

    #ActivityPubDev #fedidev #httpsig

  3. I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

    Writing tests for the client module took the bulk of this time and it was a proper slog. We did manage to increase code coverage from under 20% to 80% plus.

    This makes it a bit harder to migrate to a new API when the future version 1 of the library will be tagged, but the changes I have planned shouldn't be insurmountable.

    Now I just need to implement the verification, and I'll be done with what is a very large milestone for the library. :goose_hacker:

    #ActivityPubDev #fedidev #httpsig

  4. I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

    Writing tests for the client module took the bulk of this time and it was a proper slog. We did manage to increase code coverage from under 20% to 80% plus.

    This makes it a bit harder to migrate to a new API when the future version 1 of the library will be tagged, but the changes I have planned shouldn't be insurmountable.

    Now I just need to implement the verification, and I'll be done with what is a very large milestone for the library. :goose_hacker:

    #ActivityPubDev #fedidev #httpsig

  5. I've started working on generating RFC9421 compatible HTTP-Signatures in #GoActivityPub about a week and a half ago, but it felt more like a month.

    Writing tests for the client module took the bulk of this time and it was a proper slog. We did manage to increase code coverage from under 20% to 80% plus.

    This makes it a bit harder to migrate to a new API when the future version 1 of the library will be tagged, but the changes I have planned shouldn't be insurmountable.

    Now I just need to implement the verification, and I'll be done with what is a very large milestone for the library. :goose_hacker:

    #ActivityPubDev #fedidev #httpsig

  6. Does anyone know of Mastodon servers that use outbound RFC9421 HTTP-Signatures ?

    According to the release notes, version 4.5 should have it enabled by default for outgoing requests using the double knocking mechanism, but so far I haven't seen any request containing them...

    #fediverse #activityPub #activityPubDev

  7. @julian regarding #FEP7888 the as:context property is non-functional, so an array of contexts is allowed. do you accept that or do you throw an http 500 ;-) and do you know if others can hanlde an context array ? #activitypub #activitypubdev

  8. @julian regarding #FEP7888 the as:context property is non-functional, so an array of contexts is allowed. do you accept that or do you throw an http 500 ;-) and do you know if others can hanlde an context array ? #activitypub #activitypubdev

  9. @julian regarding #FEP7888 the as:context property is non-functional, so an array of contexts is allowed. do you accept that or do you throw an http 500 ;-) and do you know if others can hanlde an context array ? #activitypub #activitypubdev

  10. @julian regarding #FEP7888 the as:context property is non-functional, so an array of contexts is allowed. do you accept that or do you throw an http 500 ;-) and do you know if others can hanlde an context array ? #activitypub #activitypubdev

  11. @julian regarding #FEP7888 the as:context property is non-functional, so an array of contexts is allowed. do you accept that or do you throw an http 500 ;-) and do you know if others can hanlde an context array ? #activitypub #activitypubdev

  12. If you're trying to dereference all RDF namespaces found in the #ActivityStreams JSON-LD document you must first download the internet.

    Now downloading google.com...

    #ActivityPub #ActivityPubDev

  13. Writing documentation was good for #GoActivityPub.

    It gives me the opportunity to go through some user scenarios for the tools I'm documenting and make sure that they work the way I'm describing.

    I've fixed a couple of issues in this way these past days.

    man.sr.ht/~mariusor/go-activit

    #ActivityPub #ActivityPubDev

  14. For the past couple of days I've been hard at work writing documentation in the attempt to decrease the friction for developers that try #GoActivityPub for their applications.

    I am of a mind to pay some #Go developers in the near future to do a weekend's worth of programming into trying to use the library in projects, so we can iron out potential issues with the use of the library itself and the documentation.

    Anyone interested?

    #go #ActivityPub #ActivityPubDev #fediverse

  15. I just realized that the default specifications for ActivityPub/ActivityStreams do not have a way to perform an update on an object's ID. (ie, moving it from example.com/1 -> example.com/2)

    An Update activity does not allow ID updates because it would lose the reference to the original one. (It can be massaged by using an Origin property, but I don't like that).

    Another option would be to use a Move activity (which is defined as moving objects between collections), where the Origin property is the object itself instead of a collection. (I like this behaviour better, as it requires less divergence from the spec)

    #ActivityPub #fedidev #ActivityPubDev

  16. ActivityPub question: why is it forbidden to change audience on an Activity after creation?


    #ActivityPub #Mastodon #FediverseDev #ActivityPubDev
  17. ActivityPub question: why is it forbidden to change audience on an Activity after creation?


    #ActivityPub #Mastodon #FediverseDev #ActivityPubDev
  18. ActivityPub question: why is it forbidden to change audience on an Activity after creation?


    #ActivityPub #Mastodon #FediverseDev #ActivityPubDev
  19. ActivityPub question: why is it forbidden to change audience on an Activity after creation?


    #ActivityPub #Mastodon #FediverseDev #ActivityPubDev
  20. ActivityPub question: why is it forbidden to change audience on an Activity after creation?


    #ActivityPub #Mastodon #FediverseDev #ActivityPubDev
  21. What to learn more about the #fediverse and #ActivityPub? This tutorial (fedify.dev/tutorial/microblog) from @fedify is a really good starter. It explains how to implement a really simple #federated server and see how communication exchange are done with AP.

    #tutorial #activitypubdev #fedify #typescript #library

  22. Interesting new tool.

    Each black box shows a single identifier, which can be a webfinger ID, web page URL, or ActivityPub actor. The arrows between them represent the links that were discovered.

    Blue boxes represent Fediverse accounts. They can contain several identifiers. Typically they'll contain a webfinger ID, profile page URL and ActivityPub actor, but this can vary; for instance, a Mastodon instance in "authorised fetch" mode won't present an ActivityPub actor. Blue arrows show the links which were used to decide which identifiers belong together.

    Brown boxes and arrows represent clones, on platforms which support them (Hubzilla/Streams).


     FenTiger wrote the following post Tue, 25 Feb 2025 12:28:33 -0800 New toy: Visualise your Fediverse / web identity as a graph! See how your Fediverse accounts and other web presences are related to each other via rel="me" and other discoverable relations: https://glider.mythik.co.uk/

    #FediDev #ActivityPubDev
  23. Anyone else keeping track of these tags feel free to jump in if you have any actionable ideas. :) TY

    #activitypub #activitypubdev #fedidev

  24. @silverpill any idea if there's a FEP regarding how to sign an activity that gets propagated through the Forwarding from Inbox mechanism? w3.org/TR/activitypub/#inbox-f

    My first instinct is to use the instance actor for the server that received it, but I'm not sure.

    Maybe the actor that received it in their inbox would be better, but that feels slightly unsanitary.

    #activitypub #fedidev #activitypubdev

  25. @pixelfed Is it possible to post to pixelfed (pixelfed.social) using a HTTPS web API? I notices I can create a PAT in the settings UI of pixelfed.
    Where can l learn how to make a post via HTTPS? #pixelfed #pixelfeddev #activitypub #activitypubdev

  26. I've finally got off my ass and created a Codeberg account in order to submit my first PR to the #FEP repository.

    I'm not very familiar with the FEP submission etiquette so any pointers from more experienced people would be helpful.

    The PR: codeberg.org/fediverse/fep/pul

    Mailing list thread for feedback: lists.sr.ht/~mariusor/go-activ

    #activitypub #activitypubdev

  27. Fediverse software developers:

    How long have you been working on software for? Software in general, that is, not just Fediverse stuff.

    Please boost for visibility, and all that!

    #ActivityPub #ActivityPubDev

  28. Hi: all the developers here at @activitypubtestsuite - I hope the efforts at getting the old version 1.0 TestSuite back up and running progress... and @dansup or others working on a #ActivityPub Test Sute 2.0 let us all know if there are anything any of the develers here can do to help!

    Given the #Threads launch on the 6th (even though it appears Federation for them will come later) any help we can all be, let us know!

    #SocialWG #ActivityPubDev

  29. 🔥 Cool: the @activitypubtestsuite group now is up to 139 developers, advocates, and followers in it!

    Been very cool to see the work being done by @OpinionatedGeek & @rmdes to rebuild the old 1.0 version of the AP Test Suite, and do think it's wise to put all firepower on that, while we await other implementations of a 2.0 from scratch to surface that are in the works....

    Anyone here new that want to help see Ricardo and Geoffs work...

    #ActivityPub #ActivityPubDev #SocialWG

  30. For everyone in #ActivtyPub #ActivityPubDev #SocialWG space: we created this mastodon-compatible Frenidica group for discussing the build-out of a robust ActivityPub test suite, akin to webmtion.rocks and the now gone activitypub.rocks...

    Just follow this account to join ➡️ @activitypubtestsuite

    ...and anything you post mentioning that account name will reflect to everyone else following it.

    See you there!

    cc: @fediversenews @activitypubblueskybridge @apconf @activitypub@bengo

  31. @liaizon Having a complete test suite is key for sure. I suspect that this is a hard task. But a crucial one. I Do think real world testing is key also - but wonder if folks think is something to build on too: github.com/go-fed/testsuite #activitypub #activitypubdev #socialwg

  32. Hi @evan @cwebber@pfefferle
    Timely question: Does anyone know the status of a formal or informal building out an #ActivtyPub test suite, akin to the one used to test webmention.rocks but for Acitivity pub.

    I know the activitypub.rocks effort ended & I see this - but seems abandoned.

    Is there any other effort active?

    #activitypub #activitypubdev #socialwg

    github.com/go-fed/testsuite

    and: socialhub.activitypub.rocks/t/

    lists.w3.org/Archives/Public/p

    cc: @activitypub @fedidevs

  33. Anyone have experience when dealing with "public" and "collection" addresses while implementing ActivityPub?
    In #ActivityPub / #ActivityStream , you can address "w3.org/ns/activitystreams#Publ" and follower collections (e.g. "todon.eu/u/<username>/followers" on activities - side by side with actual user uri.
    I think it's VERY difficult to implement these when importing to my own instance. For example, using #ObjectionJS to automatically join messages with addressees' accounts is hard, because it requires these "virtual users" in the table of actual users.
    Does anyone have any experience with implementing this in their own solution?
    #ActivityPubDev #webdevelopment #nodejs #Fediverse

  34. Hey fediverse-devs. Is it possible to authenticate an activitypub-profile from another location than home-server? Like using e.g. an mastodon profile as identity on other activitypub-apps? Can I make an app where people can authenticate with already existing activitypub identities? #ActivityPub #activitypubdev #fediverse #fediversedev (plz boost, if someone in your network might know)

  35. Hey fediverse-devs. Is it possible to authenticate an activitypub-profile from another location than home-server? Like using e.g. an mastodon profile as identity on other activitypub-apps? Can I make an app where people can authenticate with already existing activitypub identities? #ActivityPub #activitypubdev #fediverse #fediversedev (plz boost, if someone in your network might know)

  36. Hey fediverse-devs. Is it possible to authenticate an activitypub-profile from another location than home-server? Like using e.g. an mastodon profile as identity on other activitypub-apps? Can I make an app where people can authenticate with already existing activitypub identities? #ActivityPub #activitypubdev #fediverse #fediversedev (plz boost, if someone in your network might know)

  37. Hey fediverse-devs. Is it possible to authenticate an activitypub-profile from another location than home-server? Like using e.g. an mastodon profile as identity on other activitypub-apps? Can I make an app where people can authenticate with already existing activitypub identities? #ActivityPub #activitypubdev #fediverse #fediversedev (plz boost, if someone in your network might know)

  38. Hey fediverse-devs. Is it possible to authenticate an activitypub-profile from another location than home-server? Like using e.g. an mastodon profile as identity on other activitypub-apps? Can I make an app where people can authenticate with already existing activitypub identities? #ActivityPub #activitypubdev #fediverse #fediversedev (plz boost, if someone in your network might know)

  39. There's a thing I don't understand about #webfinger and #ActivityPub : I can lookup the URI of the user, if I split the "acct" at "@" and then combine it to a webfinger URL.
    But if I get the URI of a user - e.g. when they follow by site and it's sent as the "actor" part of the activity - there's no way that I can safely deconstruct this URI into a "acct" to use for webfinger? At least it seems that different services have different ways of structuring their urls.
    So webfinger is really only useful for the user themselves when they need to remember their username and instance?
    When should I store the "acct" of an external account?
    #ActivityPubDev #ActivityStream #Fediverse