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

remnote-cli

v0.8.0

Published

CLI companion app for RemNote Bridge via WebSocket

Readme

remnote-cli

Status License CI codecov

CLI (command-line interface) companion for the RemNote Automation Bridge plugin. Provides terminal access to your RemNote knowledge base through a lightweight daemon architecture. Useful e.g. for integration with OpenClaw agents, scripting and other automation.

This is a working solution, but still experimental. If you run into any issues, please report them here.

Demo

See CLI flow and troubleshooting in action: View Demo →

Architecture

RemNote + Automation Bridge Plugin (WebSocket client)
         │
         │ ws://127.0.0.1:3002
         ▼
CLI Daemon (background process)
  ├─ WebSocket Server :3002
  └─ HTTP Control API :3100
         ▲
         │ HTTP
CLI Commands (short-lived)
  e.g. remnote-cli create "My Note"

Two components: the RemNote Automation Bridge plugin connects to the CLI daemon's WebSocket server. CLI commands talk to the daemon over a local HTTP control API.

Quick Start

Version compatibility (0.x semver): install a remnote-cli version compatible with your installed RemNote Automation Bridge plugin version. See the Bridge / Consumer Version Compatibility Guide.

npm install -g remnote-cli

# Start the daemon
remnote-cli daemon start

# Check connection (requires RemNote + RemNote Automation Bridge plugin running)
remnote-cli status --text

# Create a note
remnote-cli create "My Note" --content-file /tmp/my-note.md --text

# Search
remnote-cli search "My Note" --text

# Stop the daemon
remnote-cli daemon stop

Documentation

Getting Started

Usage

Help & Advanced

Development

Commands

| Command | Description | |---------|-------------| | daemon start | Start the background daemon | | daemon stop | Stop the daemon | | daemon status | Show daemon process status | | create <title> | Create a new note | | search <query> | Search for notes | | search-tag <tag> | Search for tagged notes with ancestor context | | read <rem-id> | Read a note by ID | | update <rem-id> | Update an existing note | | journal [content] | Append to today's journal | | status | Check bridge connection status |

Global Options

| Flag | Description | |------|-------------| | --json | JSON output (default) | | --text | Human-readable output | | --control-port <port> | Override control port (default: 3100) | | --verbose | Enable verbose stderr logging | | --version | Show version | | --help | Show help |

Configuration

| Setting | Default | Environment | |---------|---------|-------------| | WebSocket port | 3002 | --ws-port flag on daemon start | | Control port | 3100 | --control-port global flag | | PID file | ~/.remnote-cli/daemon.pid | — | | Log file | ~/.remnote-cli/daemon.log | --log-file flag on daemon start |

Prerequisites

Troubleshooting

Daemon won't start — port in use: Another process is using port 3002 or 3100. Use --ws-port or --control-port to pick different ports.

"Bridge not connected" after daemon start: The RemNote Automation Bridge plugin needs to be running in RemNote. Open RemNote and ensure the plugin is enabled.

Stale PID file: If the daemon crashed, daemon start will detect the stale PID file and clean it up automatically.

Commands fail after plugin/CLI upgrade: Check bridge plugin version and remnote-cli --version, then install a compatible CLI version (prefer same minor line for 0.x). See the Bridge / Consumer Version Compatibility Guide.

Related Projects

License

MIT