Rookery v0.2.0-alpha is out now — shipping alongside rookery-agent v0.4.0 and rookery-agent-api v0.8.0.
Rookery is an open-source, self-hosted control plane for managing Podman Quadlet fleets across Linux hosts (both system and rootless user systemd scopes) from a single Go binary. This coordinated release across all three repositories delivers real-time WebSocket updates, PWA & companion app foundations, mTLS-hardened multi-host agents, and a full security audit.
Alpha notice: Place Rookery behind TLS when exposing it beyond
localhost, back upROOKERY_DATA_DIRbefore upgrading, and start write-path testing with disposable units.
1. Real-Time Fleet Control, PWA & Companion Foundations
- WebSocket event broadcasts (
/api/ws): Mutations and unit failure transitions now broadcastunits.changed,resources.changed, andnodes.changedenvelopes to connected clients so open browser tabs and companion apps refresh immediately. - Installable PWA: Added
manifest.webmanifest, app icons (192x192,512x512, Apple touch icon), and a static-only service worker (sw.js) that never caches/api/*or/metrics. - QR-code companion pairing: Minting a Bearer API token in Settings → Tokens renders a one-time client-side SVG QR code and
rookery://pairURI alongside the raw token. - Zero-backend WebAssembly Quadlet converter (
cmd/quadlet-wasm): Runningmake wasmcompiles Rookery's pure-Gointernal/convertpackage todist/quadlet-convert.wasm+dist/wasm_exec.jsfor static web embedding. - OpenAPI 3.1 contract: Published
docs/openapi.yamldocumenting the REST and WebSocket API surface.
2. Multi-Host Operations & rookery-agent v0.4.0
rookery-agent runs per host and serves the system scope plus every rootless user scope over a single authenticated API (rookery-agent-api v0.8.0):
- TLS 1.3 & mutual TLS (mTLS): Added
--tls-cert,--tls-key,--tls-client-ca, and explicit--allow-insecure-httpgating, with a safe127.0.0.1:7666default listen address. - Host-side Quadlet validation (
POST /v1/units/{name}/validate): Runspodman-system-generatoron the target host with read-only bind mounts of generator directories and surfaces clickable diagnostics directly in Rookery's CodeMirror editor. - Live Podman resources & telemetry: Full read/inspect/delete support for networks, volumes, and tagged images per scope, plus CPU, memory, root-disk usage, network throughput, and GPU inventory (
GET /v1/metrics). - Typed resource pages & safe apply: Split views for Containers, Pods, Networks, Volumes, and Images with a global node picker, fresh-disk diff/rebase before saving, and atomic
write → daemon-reload → restartflows.
3. End-to-End Security Hardening
All three repositories went through a full security audit and dependency update:
- Control plane (
rookery v0.2.0-alpha):- Persisted a random per-instance 32-byte
share_hmacsecret inrookery.db(server_secrets, schema v8). - Hardened OIDC SSO with S256 PKCE, cookie-bound state (Login CSRF defense), strict
email_verified: true, JWKS refresh filtering, EC/RSA key validation, and-trust-proxy-headersgating. - Added immediate session revocation on user delete/demote/password reset/onboarding, per-IP auth rate limiting, stdlib
crypto/pbkdf2,http.CrossOriginProtectionCSRF checks, baseline HTTP security headers, andhttp.Servertimeouts + graceful shutdown. - Eliminated SSH/CLI flag injection, Podman API path traversal, rootful user-scope symlink traversal (
os.OpenRoot,0600unit files), registryWWW-AuthenticateSSRF/credential leaks, and backup/restore SQL column injection & gzip-bomb OOM (atomicVACUUM INTOsnapshots + hardcoded column allowlists).
- Persisted a random per-instance 32-byte
- Host agent (
rookery-agent v0.4.0):- Symlink-safe user-scope Quadlet I/O (
verifyUserPathChain,os.OpenRoot,O_NOFOLLOW,0600writes, atomictmp.Chownbefore rename). - Podman Unix socket symlink +
SO_PEERCREDverification, privilege drops for user-scopepodman/Validateruns,ROOKERY_AGENT_*env scrubbing, SHA-256 constant-time auth, andlog/slogaudit logging.
- Symlink-safe user-scope Quadlet I/O (
- Wire contract (
rookery-agent-api v0.8.0):- URL-escaped unit path segments in URL builders, consolidated shared route/query constants, and added unit tests + CI.
- Toolchains & dependencies: Upgraded to Go 1.26,
modernc.org/sqlite v1.63.0, and resolved all 8 frontend npm advisories (npm audit: 0 vulnerabilities).
Try It Out
podman pull ghcr.io/rookerylabs/rookery:0.2.0-alpha podman pull ghcr.io/rookerylabs/rookery-agent:0.4.0 Release Links
- Rookery v0.2.0-alpha: https://github.com/rookerylabs/rookery/releases/tag/v0.2.0-alpha
- rookery-agent v0.4.0: https://github.com/rookerylabs/rookery-agent/releases/tag/v0.4.0
- rookery-agent-api v0.8.0: https://github.com/rookerylabs/rookery-agent-api/releases/tag/v0.8.0
