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-autopilot-head

v0.1.0

Published

A modern, device-agnostic autopilot control head webapp for any Signal K v2 autopilot. GHC 20-inspired layout.

Readme

signalk-autopilot-head

A modern, device-agnostic autopilot control head webapp for any Signal K v2 autopilot. Layout and interaction are modelled on the Garmin GHC 20 helm control; the data path is the standard Signal K v2 Autopilot API, so it works with any provider (Garmin Reactor, Raymarine, pypilot, …) — no dependency on any specific autopilot plugin.

Status: Phase 1 — discovery + live read-only display. Command wiring (engage/standby, mode, target adjust, tack/gybe, dodge) lands in Phase 2.

What it does (Phase 1)

  • Discovers the server's autopilot device(s) via GET /signalk/v2/api/vessels/self/autopilots.
  • Renders state / mode / engaged / target plus live vessel heading, rudderAngle, apparent wind, COG and STW over the Signal K delta WebSocket.
  • Builds the mode and action buttons from what the provider advertises (options.modes, data.actions[].available) — so the head only ever shows what that device supports. Buttons are present but disabled until Phase 2.

Design

  • Standalone Signal K webapp. A public/ folder the server auto-mounts; appears in Webapps.
  • No build step, no framework, no dependencies. Vanilla JS + SVG. Runs offline on a Pi.
  • Generic by construction. Nothing is hardcoded to a specific provider; the UI is driven by the v2 API's advertised options/actions. Proprietary v1 extras (e.g. Garmin steering patterns) are intentionally out of the generic core.

Requirements

  • Signal K server ≥ 2.x with the Autopilot API and at least one registered v2 autopilot provider.
  • A modern browser. Uses the shared server cookie session (credentials: include); if not logged in it hands off to the Admin UI login and returns.

Install

cd ~/.signalk/node_modules
npm install signalk-autopilot-head
# or, for development, symlink a checkout:
#   git clone https://github.com/ryansabin/signalk-autopilot-head
#   ln -s "$(pwd)/signalk-autopilot-head" ~/.signalk/node_modules/signalk-autopilot-head

Restart the server; open Pilot from the Webapps list.

Development workflow

Develop locally → push to GitHub → pull on the boat's Pi → run tests:

# on the dev machine
git add -A && git commit -m "..." && git push

# on the Pi (Signal K host)
cd ~/dev/signalk-autopilot-head && git pull && npm test

Tests

npm test        # node --test — validates manifest, webapp packaging, HTML wiring, JS syntax

License

Apache-2.0.