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

@savoirfairelinux/jami-openclaw

v0.2.0

Published

OpenClaw channel plugin for Jami — peer-to-peer encrypted messaging.

Downloads

267

Readme

Jami Channel Plugin for OpenClaw

Connect OpenClaw to Jami for private, peer-to-peer encrypted messaging.

Plugin required

Jami ships as a plugin and is not bundled with the core install.

Install via npm:

openclaw plugins install @savoirfairelinux/jami-openclaw

Install via local checkout:

git clone https://git.jami.net/savoirfairelinux/jami-openclaw.git
openclaw plugins install ./jami-openclaw

Quick setup

  1. Install the Jami plugin.
  2. Set up a Jami account on a jami-web server or the jami-qt REST API server.
  3. Create an API token or use username/password credentials.
  4. Configure OpenClaw and start the gateway.

Minimal config:

{
  "channels": {
    "jami": {
      "enabled": true,
      "server": "http://localhost:8080",
      "token": "jm_sk_...",
      "dmPolicy": "open",
    },
  },
}

Environment variables (default account)

Set these on the gateway host if you prefer env vars:

| Variable | Description | | ------------------ | --------------------------------------------- | | JAMI_SERVER | Server URL (default: http://localhost:8080) | | JAMI_TOKEN | API token (jm_sk_...) | | JAMI_USERNAME | Username (alternative to token) | | JAMI_PASSWORD | Password (alternative to token) | | JAMI_AUTH_METHOD | Auth method: local (default) or jams |

Env vars apply only to the default account.

Authentication

The plugin supports two authentication methods:

  • Token auth (recommended): Set channels.jami.token or JAMI_TOKEN to a Jami API token.
  • Credential auth: Set channels.jami.username + channels.jami.password (or the corresponding env vars). The plugin obtains an access token automatically.

Access control (DMs)

Default: channels.jami.dmPolicy = "open" (all DMs accepted).

To restrict access:

{
  "channels": {
    "jami": {
      "dmPolicy": "pairing",
      "allowFrom": ["<jami-uri-1>", "<jami-uri-2>"],
    },
  },
}

When dmPolicy is "pairing", unknown senders get a pairing code. Approve via:

openclaw pairing list jami
openclaw pairing approve jami <CODE>

CLI commands

openclaw jami status        # Show connection status
openclaw jami accept-all    # Accept all pending conversation requests

How it works

The plugin connects to the Jami server's WebSocket event stream and listens for incoming messages. When a message arrives:

  1. The plugin auto-accepts conversation requests and adds the sender as a contact (for 1:1 conversation creation).
  2. The message is routed through OpenClaw's channel pipeline.
  3. OpenClaw generates a reply via the configured agent/model.
  4. The reply is sent back through the Jami REST API.

Architecture

┌──────────────┐                        ┌────────────────┐
│  Jami Client │      Jami protocol     │  Jami Server   │
│  (jami-qt/   │ ◄─────────────────────►│  (jami-web /   │
│   mobile)    │       (peer-to-peer)   │   jami-qt)     │
└──────────────┘                        └────────┬───────┘
  uses its own                                   │
  daemon library                         WebSocket + REST
                                                 │
                                        ┌────────▼───────┐
                                        │  OpenClaw      │
                                        │  Jami Plugin   │
                                        │  (this plugin) │
                                        └────────┬───────┘
                                                 │
                                          Channel pipeline
                                                 │
                                        ┌────────▼───────┐
                                        │  OpenClaw      │
                                        │  Gateway       │
                                        │  (agent/model) │
                                        └────────────────┘

Development

git clone https://git.jami.net/savoirfairelinux/jami-openclaw.git
cd jami-openclaw
npm install
npm run build

To test locally:

openclaw plugins install .

License

AGPL-3.0-or-later — see COPYING.