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

@wechat-mini-claw/wechat-mini-claw

v0.3.2

Published

Self-hosted WeChat Mini Program channel plugin for OpenClaw

Readme

OpenClaw Plugin

First-party OpenClaw plugin for the WeChat Mini Program bridge.

Scope

  • connect outward to the public relay service,
  • send heartbeat,
  • pull queued relay jobs,
  • auto-bootstrap local plugin config for first-time installs,
  • request one-time pairing codes for instance claim,
  • inject text into relay-provided OpenClaw sessions,
  • post final text replies back to the relay.

Current status

This package now contains the runnable MVP bridge plus the first pairing workflow for multi-instance support.

Install

openclaw plugins install @wechat-mini-claw/wechat-mini-claw

Install no longer requires pre-existing plugin config. The required relay credentials are generated by the pair command in the next step.

Pair a host instance

After install, run:

openclaw wechat-mini-claw pair

The command:

  • creates or updates ~/.openclaw/openclaw.json,
  • fills in default relayBaseUrl,
  • generates pluginId and pluginSecret if they do not already exist,
  • enables the plugin entry,
  • requests a one-time pairing code from relay.

Paste that pairing code into the Mini Program bind-instance page together with:

  • an instance name,
  • the Mini Program access password for that instance.

If your local OpenClaw gateway is already running, restart it after pair so the new config takes effect.

Local repo workflow

When developing from this repository instead of the published npm package, you can still run:

cd openclaw_plugin
pnpm pair

This reuses the same bootstrap logic as openclaw wechat-mini-claw pair.

Release smoke test

Before publishing a new npm version, verify the cold-start path with a temporary HOME so the test does not reuse your real ~/.openclaw state:

cd /path/to/openclaw_plugin
pnpm build
npm pack

cd /path/to/openclaw
HOME=/tmp/wmc-smoke-$$ node scripts/run-node.mjs plugins install /path/to/openclaw_plugin/wechat-mini-claw-wechat-mini-claw-<version>.tgz
HOME=/tmp/wmc-smoke-$$ node scripts/run-node.mjs wechat-mini-claw pair

The temporary HOME should end up with a fresh ~/.openclaw/openclaw.json containing the generated relay credentials for wechat-mini-claw.

Session model

sessionKey remains in plugin config as the base template that identifies the target OpenClaw agent. Relay uses that base value to derive the final session key for each:

  • bound instance,
  • WeChat user.