Expand description
gregg — compact keyboard-first terminal monitor.
Polls greggd endpoints and renders
per-system CPU, memory, swap, and disk usage in a live TUI built with
ratatui.
The crate exposes its internal modules as a library so that docs.rs can generate API documentation and downstream tools can reuse individual components (configuration, polling, state management, and rendering).
Modules§
- action
- User and system actions for typed state transitions.
- cli
- CLI argument parsing and subcommand dispatch for
gregg. - clock
- Time abstraction for deterministic testing.
- config
- Client configuration, validation, file I/O, atomic persistence, and advisory locking.
- eggpool
- Bounded
EggPoolsummary client and pane refresh worker. - eggpool_
endpoint - Strict host/port parsing for the optional
EggPoolendpoint. - endpoint
- Endpoint parsing, normalization, and identity.
- event
- Raw input and signal events for the TUI event loop.
- input
- Crossterm event stream adapter.
- normalized
- Normalized internal snapshot for the client.
- poller
- HTTP client and poll types for fetching status snapshots from greggd endpoints.
- scheduler
- Poll scheduler with generation-based concurrency control.
- state
- Application state model for the polling engine and TUI.
- terminal
- Terminal setup, teardown, and panic hook for the TUI.
- ui
- update
- Binary-first self-update for
gregg.