git clone https://git.gabrielkaszewski.dev/GKaszewski/k-ap.git cd k-ap cargo build
No special tooling required beyond a recent stable Rust (edition 2024).
make check # rustfmt --check + clippy -D warnings + tests make fmt # apply rustfmt make fix # fmt + clippy --fix (auto-fixable lints)
Always run make check before pushing. CI runs the same checks.
make check
src/tests/
feat: add X
fix: Y
refactor: Z
src/ ├── activities/ # One file per AP activity type (Follow, Create, Announce, ...) ├── repository/ # Trait definitions (ActivityRepository, FollowRepository, ...) ├── service/ # Service methods (broadcast, follow management, delivery, backfill) ├── tests/ # Unit and integration tests ├── content.rs # ApContentReader, ApObjectHandler traits ├── user.rs # ApUserRepository, ApUser, ApVisibility, LookedUpActor ├── data.rs # FederationData, EventPublisher, FederationEvent └── lib.rs # Public API surface — all re-exports
Deleting the wiki page "Contributing" cannot be undone. Continue?