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

@mulmobridge/messenger

v1.1.1

Published

Facebook Messenger bridge for MulmoBridge — connect Messenger to MulmoClaude

Readme

@mulmobridge/messenger

Experimental — please test and report issues.

Facebook Messenger bridge for MulmoClaude. Uses the Meta Send/Receive API (webhook).

Setup

1. Create a Meta App with Messenger

  1. Go to developers.facebook.com → Create App → Business type
  2. Add the Messenger product
  3. In Messenger Settings, connect a Facebook Page and generate a Page Access Token
  4. Note the App Secret from Settings → Basic

2. Set up ngrok

ngrok http 3004

3. Configure webhook

In Meta Dashboard → Messenger → Settings → Webhooks:

  • Callback URL: https://xxxx.ngrok-free.app/webhook
  • Verify token: any string (set as MESSENGER_VERIFY_TOKEN)
  • Subscribe to: messages

4. Run the bridge

# Testing with mock server
npx @mulmobridge/mock-server &
MESSENGER_PAGE_ACCESS_TOKEN=... \
MESSENGER_VERIFY_TOKEN=my-verify \
MESSENGER_APP_SECRET=... \
MULMOCLAUDE_AUTH_TOKEN=mock-test-token \
npx @mulmobridge/messenger

# With real MulmoClaude
MESSENGER_PAGE_ACCESS_TOKEN=... \
MESSENGER_VERIFY_TOKEN=my-verify \
MESSENGER_APP_SECRET=... \
npx @mulmobridge/messenger

Environment Variables

| Variable | Required | Description | | ------------------------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | MESSENGER_PAGE_ACCESS_TOKEN | Yes | Page access token | | MESSENGER_VERIFY_TOKEN | Yes | Arbitrary string for webhook verification | | MESSENGER_APP_SECRET | Yes | App secret for HMAC signature verification | | MESSENGER_BRIDGE_PORT | No | Webhook port (default: 3004; 0 asks the OS for a free port) | | MULMOCLAUDE_API_URL | No | Default: auto (.server-port; waits if nothing is published) | | MULMOCLAUDE_AUTH_TOKEN | No | Bearer token | | MESSENGER_BRIDGE_DEFAULT_ROLE | No | Role id to seed new bridge sessions with (e.g. coder, general). Applied ONLY when a messenger session first appears — once the user switches role via /role <id> the session's own role wins. Unknown role ids silently fall back to the server's default with a warn log. | | BRIDGE_DEFAULT_ROLE | No | Same as above but shared across every bridge. Transport-specific MESSENGER_BRIDGE_DEFAULT_ROLE wins when both are set. |

An unusable value (a typo, a number outside 0-65535) stops the bridge with a message naming the variable, rather than silently starting on the default. A port already in use is reported the same way (#3084).

Auth token persistence across server restarts

The MulmoClaude server regenerates a fresh bearer token on every startup and writes it to <workspace>/.session-token ($MULMOCLAUDE_WORKSPACE_PATH, or ~/mulmoclaude when unset), alongside the port it bound in .server-port.

The bridge follows a restart on its own. When the connection fails it re-reads both files, and if the server came back as a different generation — new token, new port, or both — it rebuilds its socket against it (#3078). You do not have to restart the bridge.

Pinning the token is still useful when the bridge runs on a different machine from the server, where it cannot read the workspace at all: set MULMOCLAUDE_AUTH_TOKEN to the same long random value on both sides. The server then uses it verbatim instead of regenerating.

# Server (one-time setup — same value across restarts)
MULMOCLAUDE_AUTH_TOKEN=long-random-string yarn dev

# Bridge (separate process / machine — same value)
MULMOCLAUDE_AUTH_TOKEN=long-random-string \
  <bridge-specific-envs> \
  npx <this-package>@latest

Recommended: at least 32 characters of random data (the server logs a warning at startup for shorter values).

Ecosystem

Part of the @mulmobridge/* package family.

Shared libraries:

Bridges (one npm package per platform):

Related projects

Published from the MulmoClaude monorepo by Receptron.

  • MulmoClaude — an open-source AI assistant platform that runs on your own computer. Claude Code as the engine, a personal wiki for long-term memory, schema-driven collections for your data, and chat that summons the right GUI (markdown, charts, forms, spreadsheets, wikis) for each task.
  • MulmoTerminal — a terminal-first cockpit for running many AI coding agents in parallel. One roster showing every session's summary and PR status, tmux-backed session persistence, git-worktree isolation, one-click PRs, and mobile push with remote reply.
  • MulmoTerminal manual — setup, workflows, feature reference, configuration, mobile notifications, and alternative / local model providers. Available in English and Japanese.

License

MIT