Go to file
2022-01-19 08:36:22 +01:00
.github Add GitHub build workflow, remove TravisCI config 2022-01-09 09:51:14 +01:00
astool add 'sensitive' object property 2021-09-30 13:47:23 +02:00
pub go fmt ./... 2021-09-26 11:32:43 +02:00
streams add 'sensitive' object property 2021-09-30 13:47:23 +02:00
CHANGELOG Update READMEs and CHANGELOG for v1.0.0 2020-07-09 17:34:37 +02:00
CODE_OF_CONDUCT.md Add CODE_OF_CONDUCT.md. 2018-12-24 07:51:51 +01:00
CONTRIBUTING.md Update changelog and contributing 2018-07-28 13:26:55 +02:00
gen.go Add forgefed vocabulary to go generate command 2020-07-05 21:58:08 +02:00
go.mod Add https://w3id.org/security/v1 extension 2019-09-16 22:47:07 +02:00
go.sum Run go mod tidy 2020-07-05 20:59:37 +02:00
LICENSE Initial commit 2018-01-23 22:53:17 +01:00
README.md Add GitHub build workflow, remove TravisCI config 2022-01-09 09:51:14 +01:00


Complete ActivityStreams-based ontologies plus middleware handlers implementing ActivityPub

Build Status Go Reference Go Report Card License Chat OpenCollective

go get github.com/go-fed/activity

This repository contains two libraries and a tool:

  • astool: A linked-data aware tool to generate golang native types for any ActivityStreams vocabulary.
  • streams: The ActivityStreams native types generated with the astool.
  • pub: ActivityPub Social Protocol (Client-to-Server or C2S) and Federating Protocol (Server-to-Server or S2S)

Check out go-fed.org for tutorials and documentation.


1.0.0 (Semantic Versioning)

This library has been successfully used to federate since May 17, 2019.

An official implementation report was last submitted for version 0.2.0 here. Unfortunately, the official implementation report tool is no longer maintained. Previous unofficial implementation reports are available in issue #46.

Please see CHANGELOG for changes between versions.

Getting Started

Check out go-fed.org for tutorials and documentation.

Also, see astool, streams, or pub for their own README.


What vocabularies are supported?

How well tested are these libraries?

I took great care to add numerous tests using examples directly from specifications, official test repositories, and my own end-to-end tests.

v1.0.0 has around 200 unit tests. The federation or S2S portion of the library is very well tested. The social or C2S portion could use additional unit tests, but is far less popular than federation. About 70% of the lines are covered by unit tests.

Who is using this library currently?

Note: This list only includes those who have reached out to me to explicitly be included.

Application Description Repository Point Of Contact Homepage
Anancus Self-hosted and federated social link aggregation https://gitlab.com/tuxether/anancus @tuxether@floss.social or tuxether@protonmail.ch N/A
WriteFreely Simple, open-source, privacy-focused blogging platform https://github.com/writeas/writefreely @write_as@writing.exchange or hello@write.as https://writefreely.org
Read.as Long-form reader built on open protocols https://github.com/writeas/Read.as @write_as@writing.exchange or hello@write.as https://read.as
go-fed/apcore Generic ActivityPub server framework in Go https://github.com/go-fed/apcore @cj@mastodon.technology or cjslep@gmail.com https://go-fed.org

How do I use these libraries?

Check out go-fed.org for tutorials and documentation.

Please see each subdirectory for its own README for further elaboration.

How can I get help, file issues, or contribute?

Please see the CONTRIBUTING.md file!

Useful References


I would like to thank those that have worked hard to create the technologies and standards that created the opportunity to implement this suite of libraries.

Thanks to those who have been early adopters with v0 and/or provided early feedback.