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

@marineyachtradar/signalk-playback-plugin

v0.3.0

Published

MaYaRa Radar Playback - Play .mrr radar recordings through SignalK Radar API (Developer Tool)

Downloads

64

Readme

MaYaRa Radar Playback Plugin for SignalK

A SignalK plugin for playing back .mrr radar recordings through the SignalK Radar API.

Prerequisites

This plugin requires SignalK server with the Radar API enabled. The Radar API is not yet in upstream SignalK — it is available via:

Until that PR is merged, use a SignalK server build that includes the Radar API (e.g. from the radar_api branch).

What This Plugin Does

This plugin allows you to play pre-recorded radar data (.mrr files) through SignalK's Radar API. During playback, the recording appears as a virtual radar that any SignalK radar consumer can connect to and display.

Use cases:

  • Test and develop SignalK radar display applications without live radar hardware
  • Demo radar functionality at exhibitions or presentations
  • Debug radar rendering code with consistent, repeatable data
  • Share interesting radar captures with other developers

Installation

Install from the SignalK App Store:

  1. Open your SignalK server web interface
  2. Go to Appstore > Available
  3. Search for "MaYaRa Radar Playback"
  4. Click Install
  5. Restart SignalK when prompted

Getting Started

1. Access the Playback Interface

After installation, navigate to:

http://your-signalk-server:3000/@marineyachtradar/signalk-playback-plugin/playback.html

Or find it in SignalK's Webapps menu.

2. Upload a Recording

You can upload .mrr or .mrr.gz files:

  • Drag and drop a file onto the upload zone
  • Or click the upload zone to browse for a file

Recordings are stored on the SignalK server and persist across restarts.

3. Load and Play

  1. Select a recording from the list
  2. Click Load to prepare it for playback
  3. Click Play to start playback
  4. Use Pause and Stop as needed
  5. Enable Loop to repeat the recording continuously

4. View the Radar

Click View Radar to open the radar display. This shows the playback radar using the built-in viewer.

Viewing with Other Clients

During playback, the recording registers as a virtual radar in SignalK. The radar ID follows the pattern playback-{filename}.

Any application that implements the SignalK Radar API can display the playback:

  • The radar appears at /signalk/v2/api/vessels/self/radars/playback-{filename}
  • Spoke data streams via SignalK's binary WebSocket at /signalk/v2/api/vessels/self/radars/{id}/stream

Obtaining Recording Files

Recording files (.mrr) are created by mayara-server when connected to a live radar:

  1. Run mayara-server with a radar connected
  2. Open the recordings page at http://localhost:6502/recordings.html
  3. Select a radar and click Start Recording
  4. Click Stop Recording when done
  5. Download the recording as .mrr.gz (compressed)
  6. Upload to this SignalK plugin

File Format

  • .mrr - MaYaRa Radar Recording (uncompressed)
  • .mrr.gz - Gzip-compressed recording (~95% smaller for transfer)

Both formats are supported for upload. Files are stored uncompressed on the server for fast playback.

Development

Building

The GUI is sourced from mayara-server's web/gui/ directory (expected as a sibling checkout at ../mayara-server/).

npm install
npm run build

To specify a different GUI source path:

node build.js --gui-path /path/to/mayara-server/web/gui

Scripts

  • npm run format — prettier + eslint --fix
  • npm run lint — eslint check
  • npm run build — compile TypeScript + copy GUI
  • npm run test — run tests (vitest)
  • npm run build:all — lint + build + test

Related Projects

License

MIT License - See LICENSE for details.