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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@qq-bot/core

v1.8.12

Published

a qq-bot core base oicq

Downloads

4

Readme

qq-bot

🎉 插件

通用插件

  • 关键字回复
    • 吃什么/什么没吃过
    • 二维码
  • 关键字撤回
  • 天气预报(提醒是否有雨)
  • 复读禁言
  • 查看热搜(不可用状态) / 每日播报一觉醒来发生了什么

we 重邮相关插件

  • 出校申请
  • 一键离返校
  • 每日健康打卡

掌上重邮相关插件

  • 掌上重邮每日签到
  • 教务在线新闻通知

其他插件

  • b 站动态抓取

使用

首先应该知道的是,机器人会占用一个 QQ 号

  1. 安装

    npm i @qq-bot/core
  2. 启动

    调用 createBot 方法传入 qq 号、密码、qq 群号

    import {createBot} from '@cansiny0320/qq-bot';
    const bot = createBot(123456, 'password', 654321);
  3. 使用插件

    插件列表在packages/plugins目录下,使用方式为安装插件后使用bot.use安装插件,例如

    npm i @qq-bot/plugin-greet
    import {Greet} from '@qq-bot/plugin-greet';
    
    bot.use(Greet);

    注意:某些插件需要传入配置,请阅读对应插件 README 文件

  4. 测试

    如机器人正常启动,则会自动在群聊发送“bot 启动成功”

TODO

  • [ ] 增加查询插件帮助文档的功能,例如 help 掌上重邮
  • [ ] 增加查看已启用插件的功能
  • [ ] 修复微博热搜功能
  • [ ] 考虑使用本地文件方式存储已通知过的教务在线新闻
  • [ ] 优化天气预报功能
  • [ ] 课表功能(似乎不太需要)