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-minimax-usage-monitor

v0.0.8

Published

Minimax TokenPlan Usage Monitor

Readme

koishi-plugin-minimax-usage-monitor

MiniMax TokenPlan 用量监控 Koishi 插件

功能

监控 MiniMax 账号的 Token Plan 使用情况,支持图片和文本两种输出格式。

前置要求

本插件需要部署 minimax-usage-monitor-api 作为 API 后端。

安装

在 Koishi 商店里安装插件

配置

在 Koishi 配置文件中添加插件并配置:

配置项说明

| 配置项 | 类型 | 必填 | 说明 | | ------------ | ------- | ---- | --------------------------------------------------------------------- | | apiUrl | string | 是 | API 服务地址,例如 http://localhost:8080 | | apiToken | string | 是 | API 访问令牌,需与后端配置一致 | | disableImage | boolean | 否 | 设为 true 禁用渲染为图片,如果不想安装Puppeteer服务,请设置为true |

命令

账号列表

列出所有已登录的 MiniMax 账号。

/账号列表

用量查询

查询账号的 Token Plan 使用情况。

/用量查询 [账号名]

选项:

  • -t, --text 强制以文本形式发送(不生成图片)

示例:

# 查询所有账号用量
/用量查询

# 查询指定账号用量
/用量查询 user_7851_**********

# 强制文本输出
/用量查询 -t
/用量查询 user_7851_********** --text

注意事项

目前不支持设置可用群聊,请使用 Koishi 过滤器功能。

部署 API 后端

详细部署说明请参考 minimax-usage-monitor-api