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

@opensourcewtf/waaah-bot

v0.1.0

Published

Unified Discord/Slack bot for WAAAH task submission and monitoring

Downloads

3

Readme

WAAAH Bot

Unified chat bot supporting Discord and Slack for interacting with the WAAAH agent system.

Setup

Discord

  1. Create a Discord application at discord.com/developers
  2. Enable Message Content Intent under Bot settings
  3. Copy the bot token
DISCORD_TOKEN=your_discord_bot_token
PLATFORM=discord

Slack

  1. Create a Slack app at api.slack.com/apps
  2. Enable Socket Mode and create an app-level token with connections:write scope
  3. Add app_mentions:read and chat:write bot scopes
  4. Subscribe to app_mention events
SLACK_BOT_TOKEN=xoxb-...
SLACK_SIGNING_SECRET=...
SLACK_APP_TOKEN=xapp-...
PLATFORM=slack

Getting Channel IDs (Slack)

To configure SLACK_DELEGATION_CHANNEL_ID, you need the channel's ID:

  1. Right-click the channel name (e.g., #bot-logs) → Copy Link
  2. Paste it. The link looks like: https://workspace.slack.com/archives/C12345678
  3. The ID is the last segment: C12345678

Alternative: Click the channel name → scroll to the bottom of the "About" tab → copy the Channel ID.

Note: The bot must be invited to the channel (/invite @YourBotName) to post there.

Configuring Slash Commands (Optional)

To enable /waaah command support:

  1. Go to Slash Commands in your Slack App settings.
  2. Click Create New Command.
  3. Command: /waaah
  4. Request URL: (Leave empty if using Socket Mode)
  5. Description: "Interact with WAAAH"
  6. Usage Hint: [task description]
  7. Click Save and Reinstall to Workspace.

Running Both

PLATFORM=both

Commands

All commands require mentioning the bot first (@WAAAH in Discord, @waaah in Slack).

| Command | Example | Description | |---------|---------|-------------| | <prompt> | @WAAAH Build a login page | Enqueue task for any available agent | | @<role> <prompt> | @WAAAH @FullStack Add OAuth | Route to specific role | | update <agent> [name=X] [color=#HEX] | @WAAAH update pm-1 color=#FF5733 | Update agent display settings | | clear | @WAAAH clear | Clear the task queue |

Role Aliases

Target agents using their display name or role:

  • @FullStackfull-stack-engineer
  • @PMproject-manager
  • @TestEngtest-engineer
  • @Opsops-engineer
  • @Designerdesigner

Priority

Include urgent or critical in your prompt to set high priority:

@WAAAH @FullStack URGENT: Fix production bug

Configuration

| Variable | Description | Required | |----------|-------------|----------| | PLATFORM | discord, slack, or both | No (default: discord) | | DISCORD_TOKEN | Discord bot token | For Discord | | SLACK_BOT_TOKEN | Slack bot token | For Slack | | SLACK_SIGNING_SECRET | Slack signing secret | For Slack | | SLACK_APP_TOKEN | Slack app-level token | For Slack | | APPROVED_USERS | Comma-separated user IDs | No | | DELEGATION_CHANNEL_ID | Discord channel for delegation logs | No | | SLACK_DELEGATION_CHANNEL_ID | Slack channel for delegation logs | No | | MCP_SERVER_URL | WAAAH server URL | Yes | | WAAAH_API_KEY | API key for server auth | Yes |

Development

# Install dependencies
pnpm install

# Build
pnpm build

# Run
PLATFORM=discord pnpm start

Testing

pnpm test

Note: The Discord adapter has limited automated test coverage. While BotCore and SlackAdapter have good unit test coverage, DiscordAdapter relies primarily on manual testing. Contributions to improve Discord test coverage are welcome!

Docker

docker compose up bot