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-to-greptimedb

v1.1.0

Published

SignalK plugin to ingest data into GreptimeDB via InfluxDB Line Protocol

Readme

SignalK to GreptimeDB Plugin

A native SignalK server plugin to ingest data into GreptimeDB using the InfluxDB Line Protocol (ILP) over HTTP.

This plugin allows for high-performance, schemaless ingestion of Signal K data into GreptimeDB. By using the Influx Line Protocol, tables are automatically created for each Signal K path, and tags are indexed for efficient querying.

Features

  • Influx Line Protocol (ILP): Uses the industry-standard protocol for high-throughput time-series data.
  • Dynamic Schema: Automatically creates tables (measurements) based on Signal K paths (e.g., navigation.speedOverGround).
  • Tagging: Automatically tags data with vessel (URN) and source for rich query capabilities.
  • Batching: Buffers incoming deltas and flushes them in batches to reduce network requests.
  • Configurable: Fully configurable via the SignalK Admin UI.

Installation

From AppStore (Recommended)

  1. Open your SignalK Admin UI.
  2. Go to Appstore -> Available.
  3. Search for signalk-to-greptimedb.
  4. Click Install.

Manual Installation

cd /path/to/signalk/
npm install signalk-to-greptimedb

Configuration

After installation, configure the plugin in Server -> Plugin Config:

  • GreptimeDB Host: Hostname of your GreptimeDB instance (default: greptimedb or localhost).
  • GreptimeDB HTTP Port: usually 4000 (default: 4000).
  • Database Name: Database to write to (default: public).
  • Username: Database username (if authentication is enabled).
  • Password: Database password (if authentication is enabled).
  • Batch Size: Number of points to buffer before sending (default: 500).
  • Flush Interval: Maximum time (ms) to wait before sending a batch (default: 1000).

Data Schema & Querying

Data is stored using the InfluxDB Line Protocol model:

  • Measurement (Table): The Signal K path (e.g., navigation.speedOverGround).
  • Tags:
    • vessel: The vessel URN (e.g., urn:mrn:signalk:uuid:...).
    • source: The source label or talker ID.
  • Fields:
    • value: The sensor value (number, string, or boolean).
  • Timestamp: The time of the update (in nanoseconds).

Example Query (SQL)

You can query the data using standard SQL in GreptimeDB:

-- Get the last 10 speed readings
SELECT * FROM "navigation.speedOverGround" ORDER BY greptime_timestamp DESC LIMIT 10;

GreptimeDB Installation Guide

Docker (Recommended)

Add this service to your docker-compose.yml:

services:
  greptimedb:
    image: greptime/greptimedb:latest
    container_name: greptimedb
    restart: unless-stopped
    ports:
      - "4000:4000"
      - "4001:4001"
      - "4002:4002"
      - "4003:4003"
    volumes:
      - greptimedb-data:/var/lib/greptimedb
    command: standalone start --http-addr 0.0.0.0:4000

volumes:
  greptimedb-data:

License

Apache-2.0