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

@openpalm/channel-discord

v0.10.0

Published

Discord bot channel adapter for OpenPalm

Readme

@openpalm/channel-discord

Discord bot adapter for OpenPalm. It runs behind guardian and is normally deployed by including addons/discord/compose.yml in your compose file set.

Features

  • Gateway-based Discord bot connection
  • Slash commands: /ask, /queue, /health, /help, /clear
  • Mention-to-thread conversations
  • Guild, role, and user allowlists plus user blocklist
  • Deferred responses, typing indicators, queued follow-ups, and long-reply splitting

Deployment model

  • Shipped addon source: .openpalm/registry/addons/discord/compose.yml
  • Enabled runtime overlay: ~/.openpalm/stack/addons/discord/compose.yml
  • User-managed values: ~/.openpalm/vault/user/user.env
  • System-managed HMAC secret: CHANNEL_DISCORD_SECRET in ~/.openpalm/vault/stack/guardian.env

Manual start example:

cd "$HOME/.openpalm/stack"
docker compose \
  --project-name openpalm \
  --env-file ../vault/stack/stack.env \
  --env-file ../vault/user/user.env \
  -f core.compose.yml \
  -f addons/discord/compose.yml \
  up -d

See docs/channels/discord-setup.md for the full walkthrough.

The shipped addon overlay loads vault/stack/stack.env and vault/user/user.env with env_file, so Discord credentials placed in user.env are passed into the container.

Environment variables

| Variable | Required | Purpose | |---|---|---| | CHANNEL_DISCORD_SECRET | system-managed | Guardian HMAC secret | | DISCORD_APPLICATION_ID | yes for command registration | Discord application ID | | DISCORD_BOT_TOKEN | yes | Bot token | | DISCORD_REGISTER_COMMANDS | no | Disable startup command registration when false | | DISCORD_ALLOWED_GUILDS | no | Comma-separated guild allowlist | | DISCORD_ALLOWED_ROLES | no | Comma-separated role allowlist | | DISCORD_ALLOWED_USERS | no | Comma-separated user allowlist | | DISCORD_BLOCKED_USERS | no | Comma-separated user blocklist | | DISCORD_CUSTOM_COMMANDS | no | JSON array of custom command definitions |

Conversation behavior

  • Mentioning the bot in a normal channel starts or reuses a Discord thread
  • Replies inside that tracked thread keep the same backend session
  • /ask replies inline and does not create a thread
  • /clear clears the active conversation scope and drops queued follow-ups for that scope