/activitypub

ActivityPub translation layer/bridge for Lysand Server

Primary LanguageRustGNU Affero General Public License v3.0AGPL-3.0

Lysand Logo

Lysand ActivityPub Bridge

Nix Flake actions

ActivityPub/ActivityStreams compatibility layer for Lysand Server.

Designed as a microservice, runs as its own process and communicates with the main server via HTTP.

Development (Flakes)

This repo uses Flakes from the get-go.

# Dev shell
nix develop

# or run via cargo
nix develop -c cargo run

# build
nix build

We also provide a justfile for Makefile'esque commands.

Building

Docker/Podman

To build the Docker image, run the following command:

docker build -t activitypub:latest .

To run the docker image, use the docker-compose.yml file:

wget https://raw.githubusercontent.com/lysand-org/activitypub/main/docker-compose.yml

docker-compose up -d

If you are building from source, make sure to replace the image name in the docker-compose.yml file.