Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/versia-pub/activitypub

ActivityPub translation layer/bridge for Lysand Server
https://github.com/versia-pub/activitypub

activitypub docker federation nix rust

Last synced: 24 days ago
JSON representation

ActivityPub translation layer/bridge for Lysand Server

Awesome Lists containing this project

README

        


Versia Logo

## Versia ActivityPub Bridge

[![Nix Flake actions](https://github.com/versia-pub/activitypub/actions/workflows/nix-flake.yml/badge.svg)](https://github.com/versia-pub/activitypub/actions/workflows/nix-flake.yml)

**ActivityPub/ActivityStreams** compatibility layer for [**Versia Server**](https://github.com/versia-pub/versia).

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

## Development (Flakes)

This repo uses [Flakes](https://nixos.wiki/wiki/Flakes) from the get-go.

```bash
# Dev shell
nix develop

# or run via cargo
nix develop -c cargo run

# build
nix build
```

We also provide a [`justfile`](https://just.systems/) for Makefile'esque commands.

## Building

### Docker/Podman

To build the Docker image, run the following command:

```bash
docker build -t activitypub:latest .
```

To run the docker image, use the [`docker-compose.yml`](./docker-compose.yml) file:

```bash
wget https://raw.githubusercontent.com/versia-pub/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.