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

@keychat-io/keychat

v0.1.63

Published

Keychat — E2E encrypted chat + Lightning wallet for OpenClaw agents

Readme

Keychat — OpenClaw Channel Plugin

npm version GitHub release Downloads License: AGPL-3.0

E2E encrypted AI agent communication via Keychat protocol.

What is this?

This plugin gives your OpenClaw agent four things no other channel can:

  • Sovereign identity — The agent generates its own cryptographic keypair. No platform account, no API token from a third party. The agent is its public key.
  • Sovereign network — Messages travel through Nostr relays that anyone can run and the agent can switch at will. No single company controls the transport layer.
  • End-to-end encryption — Every message is encrypted with the Signal Protocol (Double Ratchet). Relay operators, network intermediaries, and even the plugin author cannot read the content.
  • Metadata protection — Both sending and receiving addresses rotate with almost every message via ratchet-derived Nostr keypairs, making it extremely difficult to correlate traffic to a specific agent or conversation.

Install

openclaw plugins install @keychat-io/keychat
openclaw gateway restart

That's it. The plugin automatically downloads the bridge binary and initializes the config on first load.

Alternatively, install via shell script:

curl -fsSL https://raw.githubusercontent.com/keychat-io/keychat-openclaw/main/scripts/install.sh | bash

Supported platforms: macOS (ARM/x64), Linux (x64/ARM64).

Security Warnings

During installation, OpenClaw's security scanner may show two warnings. Both are expected:

| Warning | Reason | | ------------------------------------------ | -------------------------------------------------------------------------------- | | Shell command execution (bridge-client.ts) | Spawns a Rust sidecar for Signal Protocol and MLS encryption. | | Shell command execution (keychain.ts) | Stores identity mnemonics in the OS keychain (macOS Keychain / Linux libsecret). |

Source code is fully open: github.com/keychat-io/keychat-openclaw

Upgrade

Tell your agent "upgrade keychat" in any chat, or manually:

openclaw plugins update keychat
openclaw gateway restart

Add Your Agent as a Keychat Contact

Ask your agent in any existing channel (Telegram, Discord, webchat, etc.):

"What's your Keychat ID?"

The agent will reply with its Keychat ID (npub) and contact link:

🔑 Keychat ID: npub1...
📱 Add contact: https://www.keychat.io/u/?k=npub1...

Open the Keychat app → tap the link or paste the npub to add as contact. The first person to add the agent as a contact becomes its owner. Any subsequent contact requests require owner approval.

Architecture

┌──────────────┐    JSON-RPC     ┌─────────────────────┐    Nostr     ┌─────────┐
│  OpenClaw    │◄──────────────►│  keychat  │◄───────────►│  Relays  │
│  (TypeScript │    stdin/stdout │  (Rust sidecar)     │  WebSocket  │         │
│   plugin)    │                │                     │             │         │
└──────────────┘                └─────────────────────┘             └─────────┘
                                  │ Signal Protocol DB │
                                  │ (SQLite)           │
                                  └────────────────────┘
  • TypeScript plugin: OpenClaw channel integration, routing, pairing, message dispatch
  • Rust sidecar: Signal Protocol sessions, Nostr transport, encryption/decryption
  • Communication: JSON-RPC over stdin/stdout
  • Encryption: Signal Protocol (Double Ratchet) with forward and backward secrecy
  • Transport: Nostr relays (kind:4 DMs + kind:1059 Gift Wrap for friend requests)

Security

  • E2E Encryption: All messages encrypted with Signal Protocol — relay operators cannot read content
  • Forward & Backward Secrecy: Double Ratchet ensures compromising current keys reveals neither past nor future messages
  • Sovereign Identity: Agent generates its own keypair — no third-party identity provider
  • Key Storage: Mnemonic stored in system keychain (macOS Keychain, Linux secret service)
  • Sending Address Rotation: Each outbound message uses a fresh Nostr keypair, preventing metadata correlation
  • Receiving Address Rotation: Ratchet-derived addresses rotate almost per message, preventing traffic analysis

Documentation