mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-12 18:49:14 +01:00
ActivityPub translation layer/bridge for Versia Server
Flake lock file updates:
• Updated input 'flake-parts':
'github:hercules-ci/flake-parts/9227223f6d922fee3c7b190b2cc238a99527bbb7?narHash=sha256-pQMhCCHyQGRzdfAkdJ4cIWiw%2BJNuWsTX7f0ZYSyz0VY%3D' (2024-07-03)
→ 'github:hercules-ci/flake-parts/8471fe90ad337a8074e957b69ca4d0089218391d?narHash=sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC%2Bx4%3D' (2024-08-01)
• Updated input 'flake-parts/nixpkgs-lib':
'https://github.com/NixOS/nixpkgs/archive/5daf0514482af3f97abaefc78a6606365c9108e2.tar.gz?narHash=sha256-Fm2rDDs86sHy0/1jxTOKB1118Q0O3Uc7EC0iXvXKpbI%3D' (2024-07-01)
→ 'https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz?narHash=sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q%3D' (2024-08-01)
• Updated input 'naersk/nixpkgs':
'github:NixOS/nixpkgs/48bacf585a51d953def8bff32087970f273052e2?narHash=sha256-NMDotPxtCNvmRnUo/YuxNOpN8%2BUMONBlNBnRFsGHADQ%3D' (2024-07-27)
→ 'github:NixOS/nixpkgs/ae815cee91b417be55d43781eb4b73ae1ecc396c?narHash=sha256-zRkDV/nbrnp3Y8oCADf5ETl1sDrdmAW6/bBVJ8EbIdQ%3D' (2024-08-23)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/5ad6a14c6bf098e98800b091668718c336effc95?narHash=sha256-Sb1jlyRO%2BN8jBXEX9Pg9Z1Qb8Bw9QyOgLDNMEpmjZ2M%3D' (2024-07-25)
→ 'github:nixos/nixpkgs/c374d94f1536013ca8e92341b540eba4c22f9c62?narHash=sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh%2BaRKoCdaAv5fiO0%3D' (2024-08-21)
• Updated input 'treefmt-nix':
'github:numtide/treefmt-nix/8db8970be1fb8be9c845af7ebec53b699fe7e009?narHash=sha256-6Pqa0bi5nV74IZcENKYRToRNM5obo1EQ%2B3ihtunJ014%3D' (2024-07-23)
→ 'github:numtide/treefmt-nix/070f834771efa715f3e74cd8ab93ecc96fabc951?narHash=sha256-kKJtaiU5Ou%2Be/0Qs7SICXF22DLx4V/WhG1P6%2Bk4yeOE%3D' (2024-08-22)
|
||
|---|---|---|
| .devcontainer | ||
| .github/workflows | ||
| ap_user_test | ||
| migration | ||
| src | ||
| .env.example | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Changelog.md | ||
| CODE_OF_CONDUCT.md | ||
| debug-bootstrap.sh | ||
| docker-compose.yml | ||
| flake.lock | ||
| flake.nix | ||
| Jenkinsfile | ||
| justfile | ||
| LICENSE | ||
| nix-bootstrap.sh | ||
| README.MD | ||
| shell.nix | ||
Lysand ActivityPub Bridge
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.
