Activitypub marshalling for Golang
Find a file
2024-08-22 19:56:32 +02:00
examples sync for backup 2024-08-22 19:56:32 +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 Add empty base object as optional fallback 2024-07-31 19:28:25 +02:00
commonTypes.go sync for backup 2024-08-22 19:56:32 +02:00
constants.go Current namespaces done 2024-08-01 18:27:08 +02:00
errors.go sync for backup 2024-08-22 19:56:32 +02:00
go.mod sync for backup 2024-08-22 19:56:32 +02:00
go.sum sync for backup 2024-08-22 19:56:32 +02:00
nsActivitystreams.go sync for backup 2024-08-22 19:56:32 +02:00
nsAll.go Exported my ap implementation to separate lib 2024-07-29 10:01:49 +02:00
nsLitepub.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +02:00
nsMasto.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +02:00
nsMisskey.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +02:00
nsOstatus.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +02:00
nsSchema.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +02:00
nsW3.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +02:00
nsW3Security.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +02:00
nsW3Vcard.go Add namespace to struct names to avoid confusion 2024-08-01 18:59:45 +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
tags.go sync for backup 2024-08-22 19:56:32 +02:00
utils.go More stuff 2024-07-29 13:26:31 +02:00
variousTypes.go sync for backup 2024-08-22 19:56:32 +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