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-slack

v0.10.1

Published

Slack bot channel adapter for OpenPalm

Downloads

500

Readme

@openpalm/channel-slack

Slack Socket Mode adapter for OpenPalm. It normally runs via addons/slack/compose.yml and connects outbound to Slack, so no public inbound URL is required.

Features

  • Socket Mode WebSocket connection
  • Direct messages and channel @mentions
  • Threaded replies for channel conversations
  • Slash commands: /ask, /clear, /help
  • Global shortcut: Ask OpenPalm modal entry point
  • Message shortcut: Ask OpenPalm about this message with prefilled context
  • App Home onboarding tab with quick usage guidance
  • Per-session request queueing and thinking indicators

Deployment model

  • Shipped addon source: .openpalm/registry/addons/slack/compose.yml
  • Enabled runtime overlay: ~/.openpalm/stack/addons/slack/compose.yml
  • User-managed values: ~/.openpalm/vault/user/user.env
  • System-managed HMAC secret: CHANNEL_SLACK_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/slack/compose.yml \
  up -d

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

CHANNEL_SLACK_SECRET remains system-managed in vault/stack/guardian.env.

See docs/channels/slack-setup.md for the full setup guide.

Environment variables

| Variable | Required | Purpose | |---|---|---| | CHANNEL_SLACK_SECRET | system-managed | Guardian HMAC secret | | SLACK_BOT_TOKEN | yes | Bot User OAuth token (xoxb-...) | | SLACK_APP_TOKEN | yes | App-level Socket Mode token (xapp-...) | | SLACK_ALLOWED_CHANNELS | no | Comma-separated channel allowlist | | SLACK_ALLOWED_USERS | no | Comma-separated user allowlist | | SLACK_BLOCKED_USERS | no | Comma-separated user blocklist |

Slack app configuration

Required bot scopes:

  • app_mentions:read
  • chat:write
  • im:history
  • channels:history
  • groups:history
  • users:read
  • commands

Required event subscriptions:

  • app_mention
  • message.im
  • message.channels
  • message.groups
  • app_home_opened

Required Interactivity setup:

  • Enable Interactivity & Shortcuts in your Slack app
  • Add a global shortcut with callback ID ask_openpalm
  • Add a message shortcut with callback ID ask_openpalm_message
  • Socket Mode apps can use any placeholder Request URL for interactivity

The adapter does not require reaction scopes.

Conversation behavior

  • DMs are per-user sessions
  • Channel mentions reply in a thread
  • Follow-ups sent while a session is busy are queued
  • /clear clears the active session and drops queued follow-ups