Skip to content

distsystem/dms-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dms-plugins

Personal collection of DankMaterialShell plugins and shared QML libraries.

Plugins

Multi-runtime container manager — monitor and control Docker and Podman containers from one DankBar pill (per-runtime icon + count). Inline CPU sparkline per container via metricsHub. Fork of LuckShiba/DmsDockerManager.

Lightweight Grafana-style dashboard widget. Panels declared in panels.json (stat / list types, supports reduce funcs, byte humanisation, hot-reload on save) and rendered into a 2-column popout grid grouped by section. Consumes metricsHub so concurrent panels with identical queries share one fetcher.

VictoriaMetrics query bus for DMS plugins. Other plugins post request:<id> / subscribe:<id> via PluginService.setGlobalVar and receive response:<id> / data:<id> back. Deduplicates concurrent queries so N subscribers to the same series share one HTTP poll loop.

PoC consumer that exercises the full metricsHub bus (one-shot and streaming paths). Kept disabled by default; enable for end-to-end smoke-testing the wire protocol.

Libraries

Vendorable QML helpers for metricsHub consumers — MetricsClient (request/subscribe wrapper), Sparkline (Canvas line chart), Format (bytes / percent / rate). Copy or git subtree into your plugin under lib/.

Install

Each plugin subdirectory is a self-contained DMS plugin. Drop a symlink into your DMS plugins dir:

ln -s "$(pwd)/containerManager"  ~/.config/DankMaterialShell/plugins/containerManager
ln -s "$(pwd)/metricsHub"        ~/.config/DankMaterialShell/plugins/metricsHub

Then enable from DMS Settings → Plugins. metricsHub is a launcher-type plugin with no UI of its own — it just needs to be enabled to listen on the bus.

Plugins that want to use the metrics bus should lib/metrics-client-kit -> ../../metrics-client-kit (symlink) or copy the directory in.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages