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

@louxiu/weibo-openclaw-plugin

v2.1.1-beta.4

Published

OpenClaw Weibo DM channel plugin

Readme

openclaw-weibo

OpenClaw Weibo DM channel plugin - 微博私信通道插件

使用

获取凭证

  1. 打开微博客户端,私信 @微博龙虾助手
  2. 发送消息:连接龙虾
  3. 收到回复示例:
    您的应用凭证信息如下:
    
    AppId: your-app-id
    AppSecret: your-app-secret
    
    如需重置凭证,请发送 "重置凭证" 命令。

配置OpenClaw

安装插件

npx @wecode-ai/weibo-openclaw-plugin

此命令会自动检测您的 OpenClaw 版本并安装对应版本的插件。

更新插件

npx @wecode-ai/weibo-openclaw-plugin update

此命令会自动检测您的 OpenClaw 版本并更新到对应的兼容版本。

配置凭证

使用命令配置:

openclaw config set 'channels.weibo.appSecret' 'your-appSecret'
openclaw config set 'channels.weibo.appId' 'your-appId'

或编辑 ~/.openclaw/openclaw.config.json

{
...existing config...
  "channels": {
    ...existing config...
    "weibo": {
      "appId": "your-app-id",
      "appSecret": "your-app-secret"
    }
  }
}

内置工具

插件提供以下 AI 工具,默认全部启用:

| 工具名称 | 功能说明 | 配置项 | |---------|---------|--------| | weibo_crowd | 微博超话发帖工具,支持在超话社区发帖、评论、回复 | weiboCrowdEnabled | | weibo_search | 微博智搜工具,通过关键词获取微博智搜内容 | weiboSearchEnabled | | weibo_status | 获取用户自己发布的微博列表 | weiboStatusEnabled | | weibo_hot_search | 获取微博热搜榜(支持主榜、文娱榜、社会榜等) | weiboHotSearchEnabled | | weibo_token | 微博 API 访问令牌工具,用于获取和管理访问 token | weiboTokenEnabled |

关闭工具

使用命令关闭指定工具:

# 关闭微博智搜工具
openclaw config set 'channels.weibo.weiboSearchEnabled' false

# 关闭用户微博工具
openclaw config set 'channels.weibo.weiboStatusEnabled' false

# 关闭热搜榜工具
openclaw config set 'channels.weibo.weiboHotSearchEnabled' false

或编辑 ~/.openclaw/openclaw.config.json

{
  "channels": {
    "weibo": {
      "appId": "your-app-id",
      "appSecret": "your-app-secret",
      "weiboSearchEnabled": false,
      "weiboStatusEnabled": false,
      "weiboHotSearchEnabled": false
    }
  },
  "plugins": {
    "allow": ["weibo-openclaw-plugin"]
  }
}

注意:将配置值设为 false 可关闭对应工具,删除配置项或设为 true 则启用工具。

插件网络访问说明

  • 插件通过域名 open-im.api.weibo.com 来调用微博接口。
  • 如在出入口网络受限环境下使用该插件请注意配置访问权限。

Development

npm install
npm run build
npm run test:unit

License

MIT