Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svc-dash

Startup-services terminal dashboard for this machine's login stack: systemd --user units/timers, the llmtrim interceptor, and the unsloth local LLM endpoint, in one auto-refreshing Textual panel. Aesthetic follows llmtrim's boxed terminal style.

Run:

cd ~/Projects/etc/svc-dash
uv run --with textual python -m svc_dash.app
# or after `uv pip install -e .`:
svc-dash

Config: ~/.config/svc-dash/config.toml (falls back to the built-in default). Services are kind = "unit" (systemctl --user is-enabled/is-active) or kind = "port" (TCP connect probe).

Tests: uv run --with textual --with pytest --with pytest-asyncio python -m pytest tests/ -q (headless Textual pilot smoke tests).

Origin: milestone M1 of the hngh+gbd dogfood program (~/Projects/etc/sysconfig_mgmt/.omc/plans/hngh-gbd-dogfood-program.md). Reuses the systemd-status pattern from gbd's src/git_back_dots/systemd.py. Long-term this dashboard is absorbed by hngh's dashboard-tui (M6).

Long-term this dashboard is absorbed by hngh's dashboard-tui (M6).

Features (v0.3)

  • Services table from ~/.config/svc-dash/config.toml (units: enabled/active; ports: listening/DOWN); 5s auto-refresh.
  • Detail screen (Enter on a row): s start / x stop / r restart (unit_action, bounded, never raises), j journal view, f log-follow (journal refreshed every 2s, timer cancels cleanly on exit).
  • Sparkline panels: unsloth panel shows resident model + context with a block-char sparkline of loaded-model count; llmtrim panel shows savings with a sparkline of dollars saved. history_length is config-driven (default 15).
  • Mission control: svc-dash runs as the dashboard pane in mc (see ~/Projects/etc/hngh/docs/guides/mission-control.md).

Detail keys: esc back · s start · x stop · r restart · j journal · f follow.

About

System service dashboard TUI for CachyOS/Arch Linux — systemd unit monitoring, sparklines, log-follow, LLM cost tracking

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages