How wegoingprobyn/quiet works
Quiet is a Rust workspace for head-unit services: projection connects phones and supplies video to the UI, while powerd manages power policy and ledger records activity and answers queries. The graph highlights those service workflows and shared runtime support. Source evidence is partial; the README is empty, so links are limited to relationships visible in excerpts or the source index.
Main entry points: runtime/main.rs Projection service · runtime/main.rs Power service · runtime/main.rs Ledger service · shell.rs Session shell
Components 23
Phone projection
- Projection service
crates/projection/runtime/main.rs - Session shell
crates/projection/runtime/shell.rs - Phone links
crates/projection/runtime/phone.rs - Auto session
crates/android-auto/src/session.rs - Frame protocol
crates/android-auto/src/frame.rs - Video decode
crates/projection/runtime/video.rs - UI frame link
crates/projection/runtime/frames.rs - Video recording
crates/projection/runtime/recorder.rs
Background services
- Power service
crates/powerd/runtime/main.rs - Power shell
crates/powerd/runtime/shell.rs - Power policy
crates/powerd/core/machine.rs - Power persistence
crates/powerd/runtime/store.rs - Ledger service
crates/ledger/runtime/main.rs - Ledger shell
crates/ledger/runtime/shell.rs - Ledger storage
crates/ledger/runtime/store.rs
Head-unit UI
- UI service
crates/ui/runtime/main.rs - Screen state
crates/ui/core/screen.rs - App panels
crates/ui/core/panels.rs
Shared runtime
- Bus contracts
crates/bus/src/envelope.rs - Service runtime
crates/service/src/time.rs
Other components
- Phone
- MQTT broker
- Power node
Connections 25
- Phone → Projection service: connects to
- Projection service → Session shell: runs
crates/projection/runtime/main.rs - Projection service → Phone links: configures
crates/projection/runtime/main.rs - Session shell → Auto session: drives
crates/projection/runtime/shell.rs - Auto session → Frame protocol: uses
crates/android-auto/src/session.rs - Session shell → Video decode: decodes video
crates/projection/runtime/shell.rs - Session shell → UI frame link: sends frames
crates/projection/runtime/shell.rs - Session shell → Video recording: records video
crates/projection/runtime/shell.rs - UI service → Screen state: uses
crates/ui/runtime/main.rs - UI service → App panels: loads panels
crates/ui/runtime/main.rs - Projection service → MQTT broker: connects through
- Power service → Power shell: runs
crates/powerd/runtime/main.rs - Power service → Power persistence: loads
crates/powerd/runtime/main.rs - Power shell → Power policy: feeds decisions
crates/powerd/core/machine.rs - Power service → MQTT broker: connects through
- Power node → Power service: reports state
- Ledger service → Ledger shell: runs
crates/ledger/runtime/main.rs - Ledger service → Ledger storage: loads
crates/ledger/runtime/main.rs - Ledger service → MQTT broker: connects through
- Ledger service → Service runtime: starts time
crates/ledger/runtime/main.rs - Power service → Service runtime: starts time
crates/powerd/runtime/main.rs - Projection service → Service runtime: drives service
crates/projection/runtime/main.rs - Projection service → Bus contracts: routes messages
crates/projection/runtime/main.rs - Power service → Bus contracts: uses contracts
- Ledger service → Bus contracts: uses contracts
crates/ledger/runtime/main.rs