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-tldr2

v1.0.5

Published

太长不看-AI总结群聊消息的功能

Readme

koishi-plugin-tldr

太长不看 - AI总结群聊消息的功能

介绍

这是一个用于Koishi机器人框架的插件,它可以帮助用户总结群聊消息。当群聊消息过多时,用户可以使用此插件快速获取重要内容的摘要,避免阅读冗长的聊天记录。

功能特点

  • 自动记录群聊消息,支持配置最大记录数量
  • 简单的用户交互流程,通过引用消息确定总结范围
  • 使用OpenAI API进行智能总结
  • 完全可自定义的API端点和模型选择,支持各种不同平台

安装方法

# 在你的Koishi项目中安装
npm install koishi-plugin-tldr

或者在Koishi插件市场中搜索"tldr"并安装。

使用方法

  1. 在Koishi控制台中配置插件,设置OpenAI API密钥和其他选项
  2. 在群聊中发送.tldr命令启动总结流程
  3. 按照机器人提示,回复(引用)第一条消息,并输入"1"
  4. 再次按照机器人提示,回复(引用)第二条消息,并输入"2"
  5. 机器人将自动总结两条消息之间的所有聊天内容

配置项

| 配置项 | 类型 | 默认值 | 说明 | |-------|------|-------|------| | maxMessages | number | 100 | 记录的最大消息数量,设置为0表示无限 | | openaiEndpoint | string | https://api.openai.com/v1/chat/completions | OpenAI API端点 | | openaiApiKey | string | (必填) | OpenAI API密钥 | | openaiModel | string | gpt-3.5-turbo | 使用的OpenAI模型 |

示例

用户: .tldr 机器人: 请回复(引用)第一条消息,并且输入1 用户: (引用某条消息) 1 机器人: 请回复(引用)第二条消息,并且输入2 用户: (引用另一条消息) 2 机器人: 正在总结消息,请稍候... 机器人: 【太长不看】总结:(AI生成的总结内容)

注意事项

  • 插件会自动过滤掉消息中的图片,用[图片]标记替代
  • 总结质量取决于所使用的AI模型
  • 请确保您有足够的API调用额度

许可

AGPL-3.0