koishi-plugin-market-auto-reload
项目介绍 (Project Introduction)
中文
这是一款为 Koishi 聊天机器人框架开发的源延迟测试插件,专注于检测 NPM 软件源和 Koishi 插件市场源的网络响应速度,核心特性如下:
- 逐条测试预设的多个 NPM 源和 Koishi 插件市场源,输出详细的单源测试结果
- 自动筛选并输出最快的 NPM 源和 Koishi 插件市场源,日志输出清晰易读
- 无多余配置项,插件启用后自动执行测试,无需手动触发
English
This is a source latency test plugin developed for the Koishi chatbot framework, focusing on detecting the network response speed of NPM software sources and Koishi plugin market sources, with the following core features:
- Tests multiple preset NPM sources and Koishi plugin market sources one by one, outputting detailed single-source test results
- Automatically filters and outputs the fastest NPM source and Koishi plugin market source with clear and readable log output
- No redundant configuration items, the plugin automatically executes tests after being enabled without manual triggering
使用说明 (Usage)
中文
| 操作 (Operation) | 功能说明 (Description) |
|---|---|
| 启用插件 | 插件启用后自动开始测试,无需输入任何命令,所有测试结果输出至 Koishi 控制台日志 |
| 查看结果 | 在控制台日志中可查看:单源测试的首次响应时间/失败原因、最快源汇总信息 |
| 测试逻辑 | 每个源测试超时时间为 5 秒,捕获到首次字节响应后立即终止请求,确保测试精准且高效 |
English
| Operation | Description |
|---|---|
| Enable the plugin | The plugin automatically starts testing after being enabled, no need to enter any commands, all test results are output to the Koishi console log |
| View results | In the console log, you can view: the first response time/failure reason of single-source testing, and the summary information of the fastest source |
| Test logic | Each source test has a timeout of 5 seconds, and the request is terminated immediately after capturing the first byte response to ensure accurate and efficient testing |
支持我们 (Support Us)
如果这个项目对您有帮助,欢迎点亮仓库右上角的 Star
支持我们,这将是对所有贡献者最大的鼓励!
If this project is helpful to you, please feel free to star the repository in the upper right corner
to support us, which will be the greatest encouragement to all contributors!
问题反馈 (Feedback)
如有使用问题、功能建议或 Bug 反馈,可通过 GitHub Issues 提交,我们会尽快响应。
If you have any questions or suggestions, please submit them via GitHub Issues, and we will respond as soon as possible.