I decided to start sharing parts of as they become mature.

Today, I am releasing a library for decoding ActivityStreams 2.0 objects into native Go objects and also for encoding Go objects into ActivityStreams 2.0 JSON objects.

Repo: github.com/MatejLach/astreams

The usage is your typical Go Marshal/Unmarshal, (see tests for examples).

The license is copyleft (AGPLv3).

Your feedback (and a star) are welcome :-)

@mariusor Interesting. I am working on a complete ActivityPub server as part of a project () and derided to extrapolate this into a library in case it's useful elsewhere, it was actually a monolith until recently.

Follow

@mariusor Haha, well, mine is copyleft anyway, so it's audience is going to be somewhat limited. :-)

Sign in to participate in the conversation
Matej Lach's mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!