Add plugin entry: server-status - #89
Open
xMinor-1 wants to merge 1 commit into
Open
Conversation
This was referenced Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What the plugin does
Adds a server health indicator to the bb sidebar footer. A ring around the
button tracks RAM usage on the machine running bb — muted below 80%, amber from
80%, red above 90%, refreshed every five seconds. Clicking the button opens a
panel with the CPU and its core count, memory, swap (with a plain-language
warning once memory is being pushed to disk), disk usage for a configurable
mount point, load average over 1/5/15 minutes, uptime with the date of the last
boot, and the OS and kernel version.
Metrics are read straight from the kernel —
/proc/stat,/proc/meminfo,statfs,/etc/os-release— with no dependencies and no shelling out. Onebackground service polls every five seconds for the whole server and serves the
snapshot over a single
stateRPC method, so cost does not grow with the numberof open tabs.
Source release
git:https://github.com/xMinor-1/bb-plugins.gitsubdir:plugins/server-statustagPrefix:server-status/,range:^0.1.0server-status/v0.1.0→ commit4bff05a145db24d3457cb541f37aa70e420f0c23Plugin checks
npx tsc --noEmit— cleanbb plugin build .— buildsdist/server.js,dist/app.js,dist/app.cssand their metabb >=0.39,bbPluginSdk >=0.4.8Marketplace checks
npm ci --ignore-scripts,npm run build,npm run check— all pass, 64 entriesicons/server-status-0fe86d02.svg(290 bytes, no scripts, no remote references)Permissions and security
Read-only, local, and host-only. The plugin reads
/proc/stat,/proc/meminfoand
/etc/os-release, callsstatfson one mount point, and uses Node'sosmodule. It makes no network calls, writes nothing, and runs no external
commands. The only setting is
diskPath, the mount point to report on.The frontend adds its own
<svg>inside the host footer button and its panel todocument.body; nodes it does not own are never moved or removed, andeverything it creates is torn down by its disposer.