The shared server foundation behind Abora Cloud and Abora Atlas.
A single reliable base for system services, configuration, logging, security defaults, a versioned HTTP API, update infrastructure, and installer components — so both platforms build on the same foundation instead of reinventing it.
- Abora Cloud
- Abora Atlas
Early development for Abora v5 — milestone 0: foundation.
| Piece | State |
|---|---|
| Workspace | 7 library crates + 2 binaries |
aborad daemon |
Loopback-only, read-only API: health, version, system, services |
| Authentication | Per-permission bearer tokens (SHA-256 hashed, constant-time) |
| Service registry | systemd discovery via abora-services (read-only, 503 honest) |
abora CLI |
version, status, config check, auth generate-token |
| Configuration | Strongly-typed TOML, validated, Cloud/Atlas-extensible |
| Logging | Structured JSON/text to stderr (journald-friendly), redaction |
| System info | Linux backend from /proc + /etc/os-release |
| Update model | Channels, windows, reboot policy, provider trait (no delivery yet) |
| Docs & packaging | docs/, SECURITY.md, systemd unit, dev/check scripts |
| Nix / NixOS | flake: packages, devShell, hardened NixOS module, overlay |
Files a fork must customize carry an ABORA-SYSTEM-FILE <n>: comment. Run make fork-check
to list them in the order to edit them; delete the comment line once a file is done.
See docs/forking.md.
make run # builds build/abora-framework.iso and boots it in QEMUThe Abora logo appears on screen with the boot logs underneath it, then aborad starts
and answers inside the VM. See docs/iso.md.
Deny-by-default. Non-loopback binds are refused; 401/403 bearer-token
authentication is enforced whenever a token file is configured (hash-stored,
constant-time compared), and there is no arbitrary command-execution
endpoint now or planned. Loopback-only preview fallback is documented and
logged. See SECURITY.md and docs/security.md.
Requirements: Rust edition 2021 toolchain (cargo; rustup-managed preferred).
On NixOS / Nix machines, prefer the flake instead (see
docs/nix.md).
# Build and test
cargo build --workspace
cargo test --workspace
./scripts/check.sh
# Start the daemon with the shipped default config
cargo run -p aborad -- --config config/abora.toml.default
# Point a CLI at it
cargo run -p abora -- status
# Validate a config without starting the daemon
cargo run -p abora -- config check config/abora.toml.default
# Talk to it directly
curl http://127.0.0.1:7360/api/v1/health- Generate a token (daemon stores only the hash):
cargo run -p abora -- auth generate-token --name=operator --permission=read_all
- Paste the printed
[[tokens]]block into a root-owned,0600file and point[security] token_fileat it (template:config/auth.toml.example). - Restart
aborad; every request now needsAuthorization: Bearer <secret>— the CLI reads it from--tokenor$ABORA_DAEMON_TOKEN.
Install as a service (root):
sudo install -Dm644 config/abora.toml.default /etc/abora/abora.toml
sudo install -Dm644 installer/systemd/aborad.service /etc/systemd/system/aborad.service
sudo systemctl daemon-reload && sudo systemctl enable --now aborad
journalctl -u aborad -fcrates/abora-core Shared constants, Version type (leaf)
crates/abora-config TOML config + validation + extensions
crates/abora-log Structured logging (Redacted support)
crates/abora-sysinfo Read-only system information (Linux)
crates/abora-api Versioned API types + error envelope (pure data)
crates/abora-update Update domain model + provider trait
crates/abora-services Read-only service registry (systemd) (new)
services/aborad The daemon (axum, read-only API)
cli/abora Command line client (loopback only)
nix/ Flake package derivation + NixOS module
config/ Shipped default configuration + auth.toml.example
docs/ Architecture, config, API, security, update, nix
installer/ systemd unit + install notes
scripts/ check.sh / dev.sh helpers
See docs/architecture.md for the dependency model and runtime flow.
- docs/architecture.md — layout, runtime, auth model
- docs/configuration.md — every config section
- docs/daemon-api.md — HTTP API contract
- docs/security.md — threat model and guarantees
- docs/update.md — update design (not yet delivered)
- docs/forking.md — starting an Abora fork
- docs/nixos-install.md — installing a NixOS system built on the Framework (ANIX / TinyPM optional)
- docs/iso.md — the (Ubuntu-based, demo-only) live ISO and its boot screen
- docs/nix.md — Nix / NixOS builds and the
services.aboradmodule - docs/roadmap.md — what comes next
- SECURITY.md — vulnerability reporting
Report privately, see SECURITY.md. Do not open public issues for active exploits.
Apache-2.0.