https://github.com/versia-pub/activitypub
ActivityPub translation layer/bridge for Versia Server
https://github.com/versia-pub/activitypub
activitypub docker federation nix rust
Last synced: 3 months ago
JSON representation
ActivityPub translation layer/bridge for Versia Server
- Host: GitHub
- URL: https://github.com/versia-pub/activitypub
- Owner: versia-pub
- License: agpl-3.0
- Created: 2024-03-21T10:38:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-11T13:51:23.000Z (5 months ago)
- Last Synced: 2025-04-06T02:47:54.486Z (3 months ago)
- Topics: activitypub, docker, federation, nix, rust
- Language: Rust
- Homepage: https://versia.pub
- Size: 362 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.MD
- Changelog: Changelog.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Versia ActivityPub Bridge
[](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.ymldocker-compose up -d
```If you are building from source, make sure to replace the image name in the `docker-compose.yml` file.