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-report-mai

v0.1.0

Published

舞萌DX状态上报(Koishi)

Readme

koishi-plugin-report-mai

舞萌 DX 状态上报(Koishi 插件),复刻 nonebot-plugin-maimaimonitor 的核心功能:

  • /report(或 /上报)上报状态:断网/无法登录/NET打不开/被发票/小黑屋/其他扫号行为/罚站 秒数
  • 数据聚合:默认每 30 秒打包一次发送到后端 workerUrl/bot-post
  • 命令别名:可在配置中把短命令映射到 report 参数(如 ctk -> 被发票
  • /net:拉取 ogApiUrl 的状态图并做本地缓存(默认 60 秒)
  • 短语触发:默认支持直接发送 “网咋样/华立服务器死了吗/炸了吗” 触发 /net

安装

把本目录作为本地插件引入你的 Koishi 项目即可(例如使用 workspace / link / 本地路径依赖等方式)。

配置

插件配置项(在 Koishi 控制台/配置文件中设置):

  • clientId:上报后端用 ClientID(不填则不会向后端发送)
  • privateKey:上报后端用私钥(不填则不会向后端发送)
  • botDisplayName:上报显示名称(默认 qwq
  • workerUrl:上报后端 API(默认 https://maiapi.chongxi.us
  • ogApiUrl:状态图接口(默认 https://mai.chongxi.us/api/og
  • commandAliases:命令别名映射,例如:
    • ctk: "被发票"
    • 罚站五分钟: "罚站 300"
    • 帮助: "help"

用法

  • /report help/上报 帮助
  • /report 断网
  • /report 罚站 300
  • /net