Hi @marius!

I just managed to make a C2S post to my work-in-progress ActivityPub instance using your BOX client.

I had to make a couple of minor changes to it:
  • The authorize command respects $HTTPS_PROXY, but the post command doesn't. I had to change this to get it to talk to services on my test network.
  • It doesn't send an OAuth state parameter; the OAuth server library I'm using complains about this so I fixed it.

Are you interested in patches/PRs? What's the best way to submit them?

#ActivityPubDev
marius (@[email protected])

7.06K Posts, 821 Following, 968 Followers · Mostly a programmer. Implementing #ActivityPub in the #Go programming language. Current projects: * #GoActivityPub - a library to use ActivityPub in Go. * #FedBOX - a generic ActivityPub service supporting the client to server API. * #brutalinks - a link aggregator inspired by (old) reddit, hacker news and lobste.rs built on top of FedBOX. * #oni - a single user ActivityPub server with minimal fuss. My posts are mostly related to ActivityPub and web development.

Metalhead.club

@fentiger yes, yes, patches welcome. 🤗

There's a develop mailing list for BOX (and the rest of the GoActivityPub library modules) at https://lists.sr.ht/~mariusor/go-activitypub-dev

You can send a patch to it, or, if it's easier for you, send me just a link to a forked repository and I can pull from there.

~mariusor/go-activitypub-dev archives — lists.sr.ht

@fentiger PS, I'd also be super interested in seeing your work to integrate Ory with something for ActivityPub.

I'm planning to replace my home backed authorization server with Ory at some point, but just getting started on that seemed daunting for the amount of time I have to dedicate to it.

@marius Well, I had a go at doing it by email, but git send-email doesn't want to play nicely with my email configuration, so I've made a GitHub fork instead: #^https://github.com/FenTiger/go-ap-client/commits/fentiger/

I'm not entirely sure yet what the Ory integration will look like in detail. I have some serious concerns with the way C2S auth is specified right now; it's OK for development and testing but I'm holding out hope for the community to come to a consensus on something better.

In the long term FedIAM will become the auth/identity server that I use, so that people can use their existing accounts rather than being forced to make new ones, but right now I'm testing against a simplified mock rather than a real auth server.
marius (@[email protected])

7.06K Posts, 821 Following, 968 Followers · Mostly a programmer. Implementing #ActivityPub in the #Go programming language. Current projects: * #GoActivityPub - a library to use ActivityPub in Go. * #FedBOX - a generic ActivityPub service supporting the client to server API. * #brutalinks - a link aggregator inspired by (old) reddit, hacker news and lobste.rs built on top of FedBOX. * #oni - a single user ActivityPub server with minimal fuss. My posts are mostly related to ActivityPub and web development.

Metalhead.club
@fentiger that's good to know, thank you.
@fentiger hey, I cherry-picked the commits to the master branch. Thank you.
@marius No problem :)
marius (@[email protected])

7.06K Posts, 821 Following, 968 Followers · Mostly a programmer. Implementing #ActivityPub in the #Go programming language. Current projects: * #GoActivityPub - a library to use ActivityPub in Go. * #FedBOX - a generic ActivityPub service supporting the client to server API. * #brutalinks - a link aggregator inspired by (old) reddit, hacker news and lobste.rs built on top of FedBOX. * #oni - a single user ActivityPub server with minimal fuss. My posts are mostly related to ActivityPub and web development.

Metalhead.club