Categorygithub.com/go-ap/fedbox
modulepackage
0.0.0-20250215190823-a0108e5b3c76
Repository: https://github.com/go-ap/fedbox.git
Documentation: pkg.go.dev

# README

FedBOX

MIT Licensed Build Status Go Report Card

FedBOX is a simple ActivityPub enabled server. Its goal is to serve as a reference implementation for the rest of the GoActivityPub packages.

It provides the base for some of the common functionality that such a service would require, such as: HTTP handlers and middlewares, storage and filtering etc.

The current iteration can persist data to BoltDB, Badger, SQLite and directly on the file system, but I want to also add support for PostgreSQL.

Features

Support for C2S ActivityPub:

  • Support for content management actitivies: Create, Update, Delete.
  • Follow, Accept, Reject with actors as objects.
  • Appreciation activities: Like, Dislike.
  • Reaction activities: Block on actors, Flag on objects.
  • Negating content management and appreciation activities using Undo.
  • OAuth2 authentication

Support for S2S ActivityPub

  • Support the same operations as the client to server activities.
  • Capabilities of generating and loading HTTP Signatures from requests.

Installation

See the INSTALL file.

Further reading

If you are interested in using FedBOX from an application developer point of view, make sure to read the Client to Server document, which details how the local flavour of ActivityPub C2S API can be used.

More information about FedBOX and the other packages in the GoActivityPub library can be found on the wiki.

Contact and feedback

If you have problems, questions, ideas or suggestions, please contact us by posting to the mailing list, or on GitHub. If you desire quick feedback, the mailing list is preferred, as the GitHub issues are not checked very often.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
CacheKey generates a unique vocab.IRI hash based on its authenticated user and other parameters.
No description provided by the author
No description provided by the author
No description provided by the author
GenerateID creates an IRI that can be used to uniquely identify the "it" item, based on the collection "col" and its creator "by".
No description provided by the author
HandleActivity handles POST requests to an ActivityPub actor's inbox/outbox, based on the CollectionType.
HandleCollection serves content from the generic collection end-points that return ActivityPub objects or activities.
HandleItem serves content from the following, followers, liked, and likes end-points that returns a single ActivityPub object.
New instantiates a new FedBOX instance.
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author

# Type aliases

No description provided by the author