home.social

#goactivitypub — Public Fediverse posts

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

  1. One good thing of my extended sabatical from corporate employment is that while I'm working on #GoActivityPub there's so many things to do, that as soon as something interesting catches my eye, I can go explore it and learn a new thing that can be used, adapted or added to one of the components of the library or its adjacent tooling and applications.

    Currently, I'm excited to replace the existing HTML sanitizer for TrustedTypes and setHTML in #ONI as they're finally making its way to Firefox.

  2. I started adding #C2S #proxy_url support for #GoActivityPub services and it looks like it's easier than I imagined it initially.

    On the server side, implementing the proxyURL handler doesn't need any new additions as it shares 90% code with other handlers that return #ActivityPub objects.

    On the client side, I'm creating a new http.RoundTripper that can use the proxyURL transparently for the caller.

    As a developer in your client code you only do a regular request for a remote URL, and the round-tripper handles the proxying part transparently if it has all the available bits: a server that supports proxyURL and a valid OAuth2 session towards that server.

  3. Fixed a number of failing tests in my simple state machine library for Go.

    Most of them were in the graphviz generation for the visualization of the state nodes. It's not perfect yet, but for sure it's in a better shape for the future.

    Overall I'm pleased, because any bit of the yak that gets shaved is a step ahead in the overall goal of getting the #GoActivityPub library to a stable release.

    #go #golang #statemachine