Activitypub marshalling for Golang
Find a file
mStar 5316c8b506 woem
Sorted constants a little
ActivityStreams stuff now have their own BaseApChain types
2024-07-30 19:13:58 +02:00
examples More meow 2024-07-30 17:16:33 +02:00
general Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
mastodon Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
old Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
baseInterface.go More stuff 2024-07-29 13:26:31 +02:00
commonTypes.go More meow 2024-07-30 17:16:33 +02:00
constants.go woem 2024-07-30 19:13:58 +02:00
errors.go More stuff 2024-07-29 13:26:31 +02:00
go.mod More meow 2024-07-30 17:16:33 +02:00
go.sum More meow 2024-07-30 17:16:33 +02:00
nsActivitystreams.go woem 2024-07-30 19:13:58 +02:00
nsAll.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsLitepub.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsMasto.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsMisskey.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsOstatus.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsSchema.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsW3.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsW3Security.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsW3Vcard.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsXmlschema.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
README.md More stuff 2024-07-29 13:26:31 +02:00
utils.go More stuff 2024-07-29 13:26:31 +02:00
variousTypes.go woem 2024-07-30 19:13:58 +02:00

GoAp

A Go library to more easily work with ActivityPub

Design goal

Provide an extendable and easy to use system for working with ActivityPub activities

Why?

Because the other existing solutions (used by fedbox and gotosocial) are both narrow in scope, only providing a subset of what AP is capable of, while simultaniously locking you into using them in a very specific way.

This library attempts to provide a more flexible interface to ActivityPub (and indirectly and technically jsonld too) by splitting it up into lots of small structs, one per attribute and extendable by implementing a parser func and an interface on the struct, then giving the parser func to the main parser of the library

Additionally the library provides structs that contain information that common ActivityPub servers send, such as Mastodon's Persons

Examples

TODO: Add examples here