- Rust 87.5%
- HTML 9.1%
- Shell 3.4%
| benchmarks | ||
| frontend | ||
| migrations | ||
| src | ||
| .gitignore | ||
| .rustfmt.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| prepare-sqlx.sh | ||
| README.md | ||
| sqlx-data.json | ||
| test-nodes.sh | ||
Notedealer
An ActivityPub implementation written for the Distributed Systems course at the University of Helsinki, for the "programming project" part. The protocol is implemented only to the degree needed for the server to talk to itself: not all activities and objects are handled. (For now?)
Documentation
The API
documentation:
useful to get familiar with the codebase and understand what parts the program
consists of. These docs can also be built locally using cargo doc.
Building
This program can be compiled using the Rust toolchain, with the following command:
cargo build --release
The built executable is at ./target/release/notedealer.
Running
See notedealer --help for the command line arguments. They can also be
provided via environment variables (e.g. --bind-addr can be provided with
BIND_ADDR). Any possible .env file in the working directory is used to
search for environment variables as well.
Development
For future reference, this is the pre-commit (.git/hooks/pre-commit) hook I'm
using:
#!/bin/sh
sh prepare-sqlx.sh
git add sqlx-data.json
License
This server software is available under the GNU AGPLv3 license.