ファイルへ移動
Cory Slep b9606f06f2 Fix tests for HTTP Signatures.
Also, bugfix the time.Now calls to use the federator's clock instead.
This is how it should have been done in the beginning, but is necessary
for the tests since the HTTP Signatures by default sign the dates in the
headers. And I noticed said dates were being populated by time.Now
instead of the mock-able Clock.
2018-05-19 22:16:37 +02:00
deliverer Move the DelivererPool out of ActivityPub. 2018-04-04 20:36:23 +02:00
pub Fix tests for HTTP Signatures. 2018-05-19 22:16:37 +02:00
streams gofmt 2018-05-10 12:49:26 +02:00
tools Fix handling of null JSON literals in vocab 2018-04-28 16:22:17 +02:00
vocab Fix handling of null JSON literals in vocab 2018-04-28 16:22:17 +02:00
LICENSE Initial commit 2018-01-23 22:53:17 +01:00
README.md Move the DelivererPool out of ActivityPub. 2018-04-04 20:36:23 +02:00

activity

go get github.com/go-fed/activity

This repository contains three libraries for use in your golang applications:

  • An ActivityStreams Vocabulary library
  • A convenience library for the ActivityStreams Vocabulary
  • ActivityPub Social API (Client-to-Server) and Federation Protocol (Server-to-Server).

This library is biased. It forgoes understanding JSON-LD in exchange for static typing. It provides a large amount of default behavior to let Social, Federated, or both kinds of ActivityPub applications just work.

Status

There is no stable version of this library (yet).

See each subdirectory for its own README for further elaboration.

Core ActivityPub Libraries

  • vocab - ActivityStreams Vocabulary: Functional and tested
  • streams - ActivityStreams Convenience Library: Functional and tested
  • pub - ActivityPub: Under development and testing

Supplemental Libraries

  • tools - Code generation wizardry and ActivityPub-spec-as-data.
  • deliverer - Provides an asynchronous Deliverer for use with the pub lib

How To Use This Library

This section will be fleshed out once the library is approaching its first stable release.

FAQ

Why does compilation take so long?

The vocab and streams packages are code generated on order of hundreds of thousands to a million lines long. Use go install or go build -i to cache the build artifacts and do incremental builds.

Useful References

Thanks

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.