3 ms·
If you're working in rust I would recommend to have a look at the go-ap/processing[1] package, which provides a close representation of what the ActivityPub spe
by mariusor 4y ago
If you're working in rust I would recommend to have a look at the go-ap/processing[1] package, which provides a close representation of what the ActivityPub spec details about how to handle each Activity type. It's not complete at the moment, but it should be readable (I think) even for non Go developers and, in my experience it's not the vocabulary that trips people up.
For your use case you probably need to define your own custom ActivityPub types and logic, but for the default ones, it's a good starting point (I hope). :)
The go-ap org on github has a mailing list you can reach if you have questions or feedback.
[1] https://pkg.go.dev/github.com/go-ap/processing#CreateActivity https://pkg.go.dev/github.com/go-ap/processing#CreateActivit...