Development
Kemuri is a Rust workspace with a React web UI.
Repository layout
crates/kemuri-core Shared domain types
crates/kemuri-config YAML parsing and resolved configuration
crates/kemuri-probes ICMP, HTTP, TCP, TLS, and DNS probes
crates/kemuri-storage SQLite schema, queries, and migrations
crates/kemuri-server Runtime workers, API, and embedded UI
crates/kemuri-cli Command-line program
web React web UI
openapi Tracked OpenAPI document
packaging Samples, service files, and acceptance tests
site This documentation siteRequired tools
Install these tools:
- Rust stable
- Node.js 24
- npm
justyqjq- SQLite command-line tools
Container and browser tests also need Docker and Chromium dependencies.
Use just
List tasks:
just --listBuild and test Rust:
just build
just test
just lintBuild and test the web UI:
just test-web
just test-browserBuild the documentation:
just docs-buildRun the change-scoped gate before a commit:
just ci-diffRun the complete gate when the change affects more than one module:
just ciGenerated files
The OpenAPI document and frontend types are generated files.
just api-generate
just api-checkThe production web bundle is also tracked. just web-build fails when the generated bundle is stale.
Tests
Use these acceptance tasks when the change affects the related path:
just test-api
just test-usage
just test-container
just test-load
just test-scaleThe usage test uses local HTTP, TCP, TLS, DNS, webhook, and browser fixtures. It does not use public internet services.
The scale tests use bounded local fixtures. See Load testing for the test matrix and the opt-in commands.
Contributions
Read CONTRIBUTING.md before you open a pull request.
Use a conventional commit message. Add tests for changed behavior. Keep generated files current.