npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

signalk-doctor

v0.3.1

Published

Thin-shell SignalK plugin that surfaces the signalk-doctor-server console in the admin UI

Readme

signalk-doctor

[!IMPORTANT] This plugin is only meant to be used as part of the signalk-universal-installer stack. It is a thin shell with no value on its own — it surfaces the signalk-doctor-server engine container, whose lifecycle is owned by the systemd Quadlet the installer drops. Installing this plugin standalone (without that engine container and the installer's setup) does nothing useful. Use the installer; don't install this from the appstore by itself.

Thin-shell SignalK plugin that embeds the SignalK Doctor Console in the admin UI and registers the doctor engine container for image-update tracking.

The heavy lifting (read-only probes, snapshot listing, last-known-good restore) happens in the signalk-doctor-server container, which the signalk-universal-installer drops as a systemd Quadlet. This plugin is just the admin-UI surface for it.

What this plugin does

  • Polls for globalThis.__signalk_containerManager (provided by signalk-container).
  • Calls containers.updates.register({...}) to enroll the doctor container for update notifications — without ensureRunning. The container's lifecycle is owned by systemd, not this plugin (marine-reliability principle: a broken plugin must never break recovery).
  • Verifies the doctor container is running; on any other state, raises a plugin error in the admin UI explaining how to recover (without taking the server down).
  • Renders an embedded panel inside the admin UI (at /admin/#/e/signalk_doctor, with the admin sidebar still visible) as a Module Federation remote, rather than redirecting away to a standalone page.
  • Reverse-proxies the engine console same-origin under /plugins/signalk-doctor/console/, so the embedded panel can iframe the Doctor Console without mixed-content or CORS problems — and it works behind an HTTPS reverse proxy (Traefik/nginx) in front of signalk-server. The proxy forwards to the co-located engine over loopback (http://127.0.0.1:3004); signalk-server runs Network=host so loopback always reaches it with no DNS.

What this plugin does not do

  • Start, stop, or recreate the doctor container. The bash installer sets up the systemd Quadlet; this plugin only adopts it for update tracking.
  • Mutate any host state. The managedContainer: true advanced toggle hints at a fallback ensureRunning path, but the default is false and that's what should ship in production.

Configuration

| Field | Default | Purpose | | ------------------ | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | | managedContainer | false | Advanced opt-in. If true, the plugin attempts to start the container itself instead of relying on the installer's Quadlet. Leave false in production. | | logLevel | info | error | info | debug. |

Companion repos

| Repo | Role | | ------------------------------------------------------------------------------------ | -------------------------------------------------------------- | | signalk-universal-installer | Bash bootstrap that drops the systemd Quadlets. | | signalk-doctor-server | Engine container — the real diagnostics + recovery service. | | signalk-updater-server | Sister engine container — image lifecycle + version switching. | | signalk-updater | Sister thin-shell plugin for the updater. | | signalk-container | Cross-plugin container-runtime substrate. |