Skip to main content

Startup-services terminal dashboard (login-time view of units, timers, proxies, and local LLM endpoints)

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

svc_dash-0.3.0.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

svc_dash-0.3.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file svc_dash-0.3.0.tar.gz.

File metadata

  • Download URL: svc_dash-0.3.0.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for svc_dash-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d565081f3e8c7be539663669b04577514a2f8952ec245fbe3868f75c5e5eebaa
MD5 cf20f5d2c9b13003c34e14b8d48c06e9
BLAKE2b-256 ca8bbc2a358e1fa7d51b09123800557775e8e14133800bf49a6973fce3569af1

See more details on using hashes here.

File details

Details for the file svc_dash-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: svc_dash-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.13

File hashes

Hashes for svc_dash-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 43070ea16230eb045d62baa832417b5550a84d74137b9d15b606acc9c8444899
MD5 37fb3d5fdb24b134bc267ac32f0a4e8e
BLAKE2b-256 b584cb657b05ec6c985823815913ad6c4644aa018a87682cad1ab21c3ad12fdf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page