ActivityPub translation layer/bridge for Versia Server
Find a file
2024-05-06 16:25:49 +02:00
.devcontainer [fix]: rm nix from devc 2024-04-16 17:39:43 +00:00
.github/workflows chore: update gh actions 2024-05-03 01:00:04 +02:00
migration feat: Refactor migration and follow code 2024-05-05 17:05:09 +02:00
src fix: post::Model's insert method to remove test code 2024-05-05 18:51:45 +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 [fix] make third mig sqlite compatible 2024-04-18 01:59:16 +02:00
build.rs [fix] format files 2024-04-09 19:55:07 +02:00
Cargo.lock Add a post fuct 2024-05-04 17:54:11 +02:00
Cargo.toml Add a post fuct 2024-05-04 17:54:11 +02:00
Changelog.md make markdown changelog 2024-04-15 00:06:13 +02:00
CODE_OF_CONDUCT.md feat! AGPL3 + Contributor Covenant 2024-04-14 23:52:42 +02:00
Dockerfile initial commit 2024-01-26 12:01:43 -08:00
flake.lock unfinished nix module setup 2024-05-03 00:22:08 +02:00
flake.nix chore: format 2024-05-03 02:19:10 +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 feat! AGPL3 + Contributor Covenant 2024-04-14 23:52:42 +02:00
module.nix awawwwa 2024-05-06 16:25:49 +02:00
README.MD Use Action badge on readme 2024-04-09 20:21:42 +02:00
shell.nix unfinished nix module setup 2024-05-03 00:22:08 +02:00

Lysand ActivityPub Layer

Nix Flake actions 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