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

@kookapp/moltbot-kook

v1.0.3

Published

Kook channel plugin for moltbot / Clawdbot / OpenClaw

Readme

moltbot-kook

Kook 聊天平台的 Moltbot/Clawdbot/OpenClaw 通道插件。

安装

# Moltbot 用户
moltbot plugins install @kookapp/moltbot-kook

# 或 Clawdbot 用户
clawdbot plugins install @kookapp/moltbot-kook

# 或 OpenClaw 用户
openclaw plugins install @kookapp/moltbot-kook

配置

1. 获取 Kook Bot Token

访问 Kook 开发者平台 创建机器人并获取 Bot Token。

2. 通过 Web 界面配置(推荐)

打开 Moltbot 配置页面:

http://127.0.0.1:18789/chat

在设置中找到 Kook 通道,配置以下参数:

| 配置项 | 必填 | 说明 | |--------|------|------| | token | | Kook Bot Token | | allowedUserId | 强烈推荐 | 只允许此用户 ID 控制机器人(安全设置) |

如何获取你的用户 ID

  1. kook - 个人设置 - 高级设置 - 开发者模式 - 打开;kook 服务器频道中 右键自己的头像 - 复制ID 即可;
  2. 或者给机器人发送一条消息,在日志中查看 authorId

3. 或使用命令行配置

# Moltbot
moltbot config set channels.kook.token "你的Bot Token"
moltbot config set channels.kook.allowedUserId "你的用户ID"
moltbot config set channels.kook.enabled true

# Clawdbot
clawdbot config set channels.kook.token "你的Bot Token"
clawdbot config set channels.kook.allowedUserId "你的用户ID"
clawdbot config set channels.kook.enabled true

# OpenClaw
openclaw config set channels.kook.token "你的Bot Token"
openclaw config set channels.kook.allowedUserId "你的用户ID"
openclaw config set channels.kook.enabled true

4. 重启服务

# Moltbot
moltbot gateway restart

# Clawdbot
clawdbot gateway restart

# OpenClaw
openclaw gateway restart

配置项说明

核心配置(通过 Web 界面或命令行配置):

channels:
  kook:
    enabled: true
    token: "你的Bot Token"         # 必填
    allowedUserId: "你的用户ID"    # 强烈推荐(安全设置)

功能特性

  • ✅ WebSocket 实时连接
  • ✅ 私聊和频道消息支持
  • 用户白名单(allowedUserId)- 仅允许指定用户控制
  • ✅ 消息分块(自动处理长消息)
  • ✅ 自动重连机制

License

MIT