Expand description
Heldar kernel library.
The domain-agnostic, open (Apache-2.0) platform: media/DVR control plane (camera registry,
RTSP ingest, recording, timeline index, playback, live view), the perception ingest + sampler
framework and its DetectionConsumer seam, the zone engine, auth/RBAC, observability, retention,
remote-access overlay awareness, and the worker SDK contract. Domain applications link this crate
and plug in as consumers / route modules via the composing server binary.
Generic reference apps (heldar-entry, heldar-movement, heldar-search) are also
Apache-2.0 and live alongside this crate; proprietary vertical/client products depend on the
generic ones. See ARCHITECTURE.md for the open-core
split and docs/REMOTE-ACCESS.md for the remote-access model.
Modules§
- auth
- Stage 4 authentication + RBAC.
- camera_
url - RTSP URL construction from vendor templates, plus credential masking.
- config
- db
- env
- Small environment-variable helpers shared by the kernel + every app crate’s config loader. Single source of truth so parsing behavior (empty-string filtering, bool truthiness) stays identical everywhere. Treats an empty/whitespace value the same as unset.
- error
- models
- modules
- Module manifests — the compile-time half of the plugin platform.
- registry
- Plugin registry catalog — types + signature verification (Phase C of the plugin platform).
- repo
- Small shared data-access helpers used by background services and routes.
- routes
- services
- state
- util