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-group-analysis-alone

v0.0.15

Published

Fork 自 ChatLunaLab/chatluna-group-analysis,移除 ChatLuna 依赖的独立群聊分析插件。

Readme

koishi-plugin-chatluna-group-analysis

Koishi 群聊分析插件

npm npm node version github top language

此项目 fork 自 lumia1998/koishi-plugin-group-analysis,感谢原作者的贡献。 自 1.2.0 起,群分析插件支持设置皮肤,并默认内置两种皮肤风格。

一个为 Koishi 设计的群聊分析插件,灵感来源于 astrbot-qq-group-daily-analysis,支持多维度统计和智能话题总结。

截图

特性

  1. 多维度统计 - 分析群聊的总消息数、参与人数、总字数、最活跃时段、发言排行榜等
  2. 智能话题总结 - 集成大语言模型(LLM),自动从聊天记录中总结出核心讨论话题
  3. 图片报告 - 将分析结果渲染成美观的图片报告,直观易读(使用 Material Design 3 动态配色系统,支持明暗主题切换)
  4. 灵活触发 - 支持通过命令手动触发,也支持通过 CRON 表达式定时自动发送
  5. 高度可配置 - 支持群组白名单,自定义定时任务等配置选项

部署

在 Koishi 插件市场搜索 group-analysis,安装后启用即可。

插件依赖 Puppeteer。LLM 调用已内置,无需 ChatLuna;请在配置中填写 baseUrltoken,可选填写 model(不填则会从接口的模型列表中自动挑选一个可用模型)。

使用

命令

  • 群分析 [days:number] - 分析指定天数的群聊记录,默认分析最近 1 天
  • 群分析.启用 - 在发送的群中启用群聊分析
  • 群分析.禁用 - 在发送的群中禁用群聊分析

配置

  • baseUrl - OpenAI 兼容接口地址,例如 https://api.openai.com/v1 或自托管服务端点
  • token - 调用上述接口使用的访问令牌
  • model - 模型名称,可留空让插件自动从接口的模型列表中挑选合适的模型
  • allowedGroups - 允许使用此插件的群号列表
  • cronSchedule - 定时发送报告的 CRON 表达式
  • cronAnalysisDays - 定时任务分析的天数
  • promptTopic - 用于话题总结的 Prompt 模板

感谢