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

koishi-plugin-zanwo

v1.0.8

Published

QQ 名片赞点赞插件,支持对指定 QQ 号点赞,支持指定点赞次数

Readme

koishi-plugin-zanwo

npm downloads

QQ 点赞插件,支持为自己或他人点赞,每次最多 50 个赞。

功能特性

  • ✨ 支持为自己点赞(zanwo / 赞我
  • 👥 支持为他人点赞(zan),可使用 @ 提及或 QQ 号
  • 🎯 自定义点赞数量(1-50),默认 50 个
  • 🌐 支持陌生人点赞
  • 🎨 自定义成功/失败提示语句(通过本地化配置)
  • 🐛 可选的错误报告(集成 Sentry,默认关闭)

安装

在 Koishi 控制台的插件市场搜索 zanwo 可直接安装。

使用方法

基础用法

zanwo              # 为自己点赞 50 次
赞我               # 同上(别名)
zan @某人          # 为某人点赞 50 次
zan 123456789      # 使用 QQ 号点赞

指定点赞数量

zanwo -c 20        # 为自己点赞 20 次
zan @某人 -c 30    # 为某人点赞 30 次
zan 123456789 -c 10  # 使用 QQ 号点赞 10 次

💡 点赞数量限制在 1-50 之间,超出范围会自动调整

配置项

| 配置项 | 类型 | 默认值 | 说明 | | ----------- | ------- | ------- | ------------------------------- | | debug | boolean | false | 开启调试模式,输出详细日志 | | sentryDsn | string | `` | Sentry DSN 配置,默认为空不上报 |

错误报告说明

本插件支持使用 Sentry 进行错误报告,帮助开发者快速发现和修复 bug。

配置

方式一:通过插件配置

  1. 进入 Koishi 控制台
  2. 找到 zanwo 插件配置
  3. sentryDsn 字段填入你的 Sentry DSN
  4. 保存配置

方式二:通过环境变量

设置环境变量 SENTRY_DSN

export SENTRY_DSN="https://[email protected]/0"

💡 如果同时配置了两者,插件配置的优先级更高。

数据隐私

  • 默认状态:DSN 留空时,不收集任何错误数据
  • 收集内容:仅收集执行点赞命令时发生的异常信息
  • 不收集的内容:QQ 号、用户 ID、消息内容等敏感信息

本地化配置

插件支持自定义成功/失败提示语句,可在控制台 本地化 部分手动配置

常见问题

Q: 为什么点赞失败?

A: 可能的原因:

  1. 对方未启用陌生人点赞
  2. 网络连接问题

Q: 使用 @ 提及不生效?

A: 确保:

  1. 使用正确的格式:zan @用户名
  2. 在支持 @ 提及的平台使用
  3. 或直接使用 QQ 号:zan @123456789

开发

# 安装依赖
yarn install

# 构建
yarn build

# 在 Koishi 中测试
yarn dev

反馈与贡献