ActivityPub translation layer/bridge for Versia Server
Find a file
2024-04-09 19:48:18 +02:00
src basic AP 2024-04-09 19:48:18 +02:00
.envrc [feat]: basic nix dev enviroment 2024-03-21 12:41:02 +01:00
.gitattributes [feat]: basic nix dev enviroment 2024-03-21 12:41:02 +01:00
.gitignore [feat]: basic nix dev enviroment 2024-03-21 12:41:02 +01:00
build.rs initial commit 2024-01-26 12:01:43 -08:00
Cargo.lock basic AP 2024-04-09 19:48:18 +02:00
Cargo.toml basic AP 2024-04-09 19:48:18 +02:00
Dockerfile initial commit 2024-01-26 12:01:43 -08:00
flake.lock [feat]: basic nix dev enviroment 2024-03-21 12:41:02 +01:00
flake.nix basic AP 2024-04-09 19:48:18 +02:00
Jenkinsfile [feat]: basic nix dev enviroment 2024-03-21 12:41:02 +01:00
justfile [feat]: basic nix dev enviroment 2024-03-21 12:41:02 +01:00
LICENSE Create LICENSE 2024-01-26 12:02:33 -08:00
README.MD Rework readme 2024-03-21 13:10:31 +01:00
shell.nix [feat]: basic nix dev enviroment 2024-03-21 12:41:02 +01:00

Lysand ActivityPub Layer

A simple activitypub compatibility layer ("bridge"), to make Lysand compatible with the ActivityPub and ActivityStreams protocol. The layer is realised in a microservice format.

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 and running the docker image

To build the docker image, run the following command:

> docker build -t f:latest .

To run the docker image, run the following command:

docker run -i -e RUST_LOG="debug" -e DATABASE_URL="postgresql://postgres:postgres@host.docker.internal:5432/database" -e LISTEN="0.0.0.0:8080" -p 8080:8080 f:latest