Skip to main content

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.

Release files for svc-dash 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for svc-dash 0.3.0
File Size Uploaded
svc_dash-0.3.0.tar.gz 22.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for svc-dash 0.3.0
File Interpreter ABI Platform
svc_dash-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.4 kB

Release files / svc_dash-0.3.0.tar.gz

Download URL svc_dash-0.3.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d565081f3e8c7be539663669b04577514a2f8952ec245fbe3868f75c5e5eebaa
BLAKE2b-256 checksum
How to use checksums
ca8bbc2a358e1fa7d51b09123800557775e8e14133800bf49a6973fce3569af1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release files / svc_dash-0.3.0-py3-none-any.whl

Download URL svc_dash-0.3.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43070ea16230eb045d62baa832417b5550a84d74137b9d15b606acc9c8444899
BLAKE2b-256 checksum
How to use checksums
b584cb657b05ec6c985823815913ad6c4644aa018a87682cad1ab21c3ad12fdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.13

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page