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

@van1024/qqbot

v1.6.0

Published

QQBot 是一个面向 OpenClaw 的 QQ 官方 Bot API 插件。

Readme

QQBot for OpenClaw

QQBot 是一个面向 OpenClaw 的 QQ 官方 Bot API 插件。

当前版本专注于 QQ 私聊(C2C)场景,支持:

  • 多账号路由
  • 图片、文件、视频、语音发送
  • 文本转语音与语音消息发送
  • 定时提醒
  • IM 风格短句回复

安装

openclaw plugins install @van1024/qqbot@latest

更新已安装版本:

openclaw plugins update qqbot
openclaw gateway restart

配置

最小配置示例:

{
  "channels": {
    "qqbot": {
      "enabled": true,
      "accounts": {
        "default": {
          "enabled": true,
          "allowFrom": ["*"],
          "appId": "YOUR_APP_ID",
          "clientSecret": "YOUR_CLIENT_SECRET"
        }
      }
    }
  }
}

多账号时,把其他账号放到 channels.qqbot.accounts.<accountId> 下,再通过 OpenClaw bindings 路由到不同 Agent。

发送消息

请使用正式 message 工具:

  • 文本:action=send
  • 图片/文件/视频:media
  • TTS 语音:message + asVoice=true
  • 本地音频转 QQ 语音消息:media + asVoice=true
  • URL 图片 / 视频会优先按媒体发送;即使 URL 没有标准文件后缀,也会尝试根据远端 content-type 识别

示例:

{"action":"send","to":"qqbot:c2c:OPENID","message":"你好。"}
{"action":"send","to":"qqbot:c2c:OPENID","message":"这是图片。","media":"C:/tmp/pic.png"}
{"action":"send","to":"qqbot:c2c:OPENID","message":"这是远程图片。","media":"https://example.com/download?id=123"}
{"action":"send","to":"qqbot:c2c:OPENID","message":"我现在用语音回复你。","asVoice":true}

Reminder 工具

可用工具:

  • qqbot_schedule_reminder
  • qqbot_list_reminders
  • qqbot_remove_reminder

一次性提醒:

{
  "message": "30 分钟后提醒用户喝水。",
  "delayMinutes": 30
}

周期提醒:

{
  "message": "每天提醒用户打卡。",
  "cronExpr": "0 8 * * *",
  "timezone": "Asia/Shanghai"
}

默认情况下,提醒作用于当前 QQ 会话。

  • 默认 agent:触发时回到原会话上下文
  • 非默认 agent:自动切到隔离任务,并把结果投递回当前 QQ 会话

说明

  • 当前版本只支持 QQ 私聊(C2C)
  • 不再支持旧的内联富文本协议或私有 payload 字符串
  • markdown 只作为展示文本,不再承担执行协议职责
  • 即时消息是离散发送,不支持单条消息原生流式更新

License

MIT