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

@gethookmyapp/openclaw

v0.1.0

Published

HookMyApp WhatsApp channel plugin for OpenClaw

Readme

@gethookmyapp/openclaw

MIT License npm version

What it is

A HookMyApp WhatsApp channel plugin for OpenClaw that delivers WhatsApp messages to your agent. Inbound messages are verified using HMAC-256 signatures (X-HookMyApp-Signature-256 header). Outbound replies are sent via the HookMyApp Meta Gateway Proxy for transparent token management and media signing.

Install

openclaw plugins install clawhub:@gethookmyapp/openclaw

Quick start

  1. Authenticate the CLI:

    hookmyapp login
  2. Verify you have at least one WhatsApp channel:

    hookmyapp channels list

    If none exist, create one at https://docs.hookmyapp.com.

  3. Set up the plugin and write configuration:

    openclaw hookmyapp-whatsapp setup --channel <ch_...> --write-config \
      --allow-from +1234567890

    Replace +1234567890 with the WhatsApp number of the person who should use the agent.

  4. Start the local transport tunnel:

    hookmyapp channels listen <ch_...> --port <openclaw-gateway-port> --path /hookmyapp/webhook

    Keep this running in a separate terminal. It provisions a Cloudflare Tunnel and pipes inbound webhooks to your OpenClaw gateway.

  5. Send a test message from the allowlisted WhatsApp number to the channel's number and confirm the agent replies.

Transports

This plugin supports two webhook delivery modes:

Default: Local tunnel (no public URL needed)

Recommended for development and always-on local deployments. The HookMyApp CLI provisions a Cloudflare Tunnel on your behalf:

hookmyapp channels listen <ch_...> --port <openclaw-gateway-port> --path /hookmyapp/webhook
  • Port: Must match the OpenClaw gateway port (typically 18789 or configured in openclaw config).
  • Path: /hookmyapp/webhook (or /hookmyapp/webhook/<account-id> for named accounts).
  • Keep it running: Supported 24/7. The tunnel stays open as long as the command runs.
  • HMAC: Signature verification works identically in both modes.

Alternative: Public server with static URL

For production deployments or servers with public HTTPS:

openclaw hookmyapp-whatsapp setup --channel <ch_...> --write-config \
  --webhook-url https://your-server.example.com/hookmyapp/webhook \
  --register-webhook
  • Registration: The --register-webhook flag calls hookmyapp channels webhook set automatically.
  • Manual registration: If you prefer to register separately:
    hookmyapp channels webhook set <ch_...> --url https://your-server.example.com/hookmyapp/webhook
  • HTTPS required: WebHook URLs must be HTTPS.
  • HMAC: Signature verification works identically to the tunnel mode.

Environment values

The plugin reads credentials from hookmyapp channels env <channel> and caches them in OpenClaw config. The following six environment variable names are pulled from the HookMyApp CLI:

| Name | Purpose | Required | |------|---------|----------| | HOOKMYAPP_CHANNEL_ID | HookMyApp channel public id (ch_...) | Yes | | META_GRAPH_API_URL | Meta Graph API base URL | Yes | | WHATSAPP_ACCESS_TOKEN | WhatsApp business account access token | Yes | | WHATSAPP_PHONE_NUMBER_ID | WhatsApp phone number id (Meta resource) | Yes | | WEBHOOK_HMAC_SECRET | HMAC signing secret for inbound webhooks | Yes | | VERIFY_TOKEN | Subscription handshake ownership token (distinct from HMAC secret) | Yes |

Environment fallbacks (default account only):

The default account can also read from env vars if not present in config:

| Name | Purpose | |------|---------| | HOOKMYAPP_ALLOWED_USERS | Comma-separated E.164 numbers (allowlist fallback) | | HOOKMYAPP_ALLOW_ALL_USERS | Set to true to permit all senders (dev mode; overrides allowlist) | | HOOKMYAPP_DEFAULT_TO | Default outbound target if not specified in the turn |

Named accounts (configured via --account <id>) do NOT read these env fallbacks; they must be fully configured in OpenClaw config.

Security

  • HMAC is mandatory: Every inbound webhook is verified against the X-HookMyApp-Signature-256 header. If the secret is missing, all deliveries are rejected with a 401.
  • Verify Token ≠ HMAC secret: The Verify Token is a subscription ownership value used during webhook registration probes (X-HookMyApp-Probe header). The HMAC secret is the key used to sign delivered messages. They are two distinct values stored separately and never conflated.
  • Allowlist is default-closed: Unless you pass --allow-from <numbers> during setup or enable --dm-security open (development only), no senders are permitted. The agent will answer nobody until senders are explicitly allowlisted.
  • Secrets are marked sensitive: the three secret fields (accessToken, webhookHmacSecret, verifyToken) are flagged sensitive in the plugin manifest, so OpenClaw masks them in config displays and exports. Non-secret fields (phone number id, allowlist, channel id) are visible config.

Media

Inbound media (images, audio, video, documents, stickers) are resolved by the HookMyApp Meta Gateway Proxy:

  • Inbound resolution: Media IDs in the inbound webhook are transparently resolved to short-lived signed URLs and downloaded immediately by the plugin.
  • Download limit: 16 MB per file.
  • Download failure: If fetching a media URL fails, the message degrades to text-only (media is dropped) and the failure is logged. The agent receives the text content and can process normally.
  • Audio transcription: Not provided by this plugin in v1 — voice notes are attached as audio files; transcription is up to whatever tooling your agent runtime provides.

Diagnostics

Doctor command

Run a full health check:

openclaw hookmyapp-whatsapp doctor

Or machine-readable output:

openclaw hookmyapp-whatsapp doctor --json

Checks:

  • config — whether OpenClaw config is present
  • accessToken — whether the WhatsApp access token is available
  • webhookHmacSecret — whether the HMAC secret is available (missing = all deliveries rejected)
  • verifyToken — whether the Verify Token is available (missing = webhook registration probes fail)
  • webhookRegistration — whether HookMyApp reports the webhook as registered

Where to look

  • Local transport terminal: Run hookmyapp channels listen ... in a terminal and watch for delivery logs (check for 401 errors, which indicate HMAC mismatch).
  • HookMyApp Deliveries panel: Log into HookMyApp and navigate to the channel's Deliveries section to see inbound webhooks, forwarded requests, and app responses.

Account status

doctor reports the default account unless you pass --account <id>:

openclaw hookmyapp-whatsapp doctor --account work --json | jq '.checks'

Releases

main is staging — every push runs CI (build, tests, pack dry-run). Pushing a v* tag is production: CI re-runs, then the package is published to npm with provenance. ClawHub publish (clawhub package publish @gethookmyapp/openclaw) is a separate manual step after the npm release.

Supported versions

  • OpenClaw: 2026.7.1-2 or compatible (pluginApi ≥ 2026.7.1-2)
  • Node.js: ≥ 20

License

MIT