koishi-plugin-market-auto-reload
v0.2.3
Published
测试npm软件源和Koishi插件市场源的网络延迟并输出最快源信息
Maintainers
Readme
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 |
测试源列表 (Test Source List)
中文
| 源类型 (Source Type) | 中文名称 (Chinese Name) | 测试地址 (Test URL) | | --- | --- | --- | | NPM 软件源 | 淘宝源 | https://registry.npmmirror.com/ | | NPM 软件源 | 华为源 | https://mirrors.huaweicloud.com/repository/npm/ | | NPM 软件源 | 腾讯源 | https://mirrors.cloud.tencent.com/npm/ | | NPM 软件源 | Yarn 官方源 | https://registry.yarnpkg.com/ | | NPM 软件源 | NPM 官方源 | https://registry.npmjs.org/ | | NPM 软件源 | NPM 复制源 | https://replicate.npmjs.com/registry | | NPM 软件源 | 中国 NPM 镜像源 | https://r.cnpmjs.org/ | | Koishi 插件市场源 | Koishi 官方源 | https://registry.koishi.chat/index.json | | Koishi 插件市场源 | 第三方 Koishi 源1 | https://koishi.oss-api.t4wefan.pub/index.json | | Koishi 插件市场源 | 第三方 Koishi 源2 | https://koi.nyan.zone/registry/index.json | | Koishi 插件市场源 | 第三方 Koishi 源3 | https://koishi.itzdrli.cc/ | | Koishi 插件市场源 | 第三方 Koishi 源4 | https://kp.itzdrli.cc/ | | Koishi 插件市场源 | 聚合源(Gitee) | https://gitee.com/shangxueink/koishi-registry-aggregator/raw/gh-pages/market.json | | Koishi 插件市场源 | 第三方 Koishi 源5 | https://koishi-registry.yumetsuki.moe/index.json | | Koishi 插件市场源 | 聚合源(GitHub 发布版) | https://github.com/shangxueink/koishi-registry-aggregator/releases/download/latest/market.json | | Koishi 插件市场源 | 聚合源(GitHub 源码) | https://github.com/shangxueink/koishi-registry-aggregator/raw/refs/heads/gh-pages/market.json | | Koishi 插件市场源 | 聚合源(GitHub Pages) | https://shangxueink.github.io/koishi-registry-aggregator/market.json | | Koishi 插件市场源 | 聚合源(jsDelivr) | https://cdn.jsdelivr.net/gh/shangxueink/koishi-registry-aggregator@gh-pages/market.json | | Koishi 插件市场源 | 聚合源(jsdmirror) | https://cdn.jsdmirror.com/gh/shangxueink/koishi-registry-aggregator@gh-pages/market.json |
English
| Source Type | English Name | Test URL | | --- | --- | --- | | NPM Software Source | Taobao Source | https://registry.npmmirror.com/ | | NPM Software Source | Huawei Source | https://mirrors.huaweicloud.com/repository/npm/ | | NPM Software Source | Tencent Source | https://mirrors.cloud.tencent.com/npm/ | | NPM Software Source | Yarn Official Source | https://registry.yarnpkg.com/ | | NPM Software Source | NPM Official Source | https://registry.npmjs.org/ | | NPM Software Source | NPM Replicate Source | https://replicate.npmjs.com/registry | | NPM Software Source | China NPM Mirror Source | https://r.cnpmjs.org/ | | Koishi Plugin Market Source | Koishi Official Source | https://registry.koishi.chat/index.json | | Koishi Plugin Market Source | Third-party Koishi Source 1 | https://koishi.oss-api.t4wefan.pub/index.json | | Koishi Plugin Market Source | Third-party Koishi Source 2 | https://koi.nyan.zone/registry/index.json | | Koishi Plugin Market Source | Third-party Koishi Source 3 | https://koishi.itzdrli.cc/ | | Koishi Plugin Market Source | Third-party Koishi Source 4 | https://kp.itzdrli.cc/ | | Koishi Plugin Market Source | Aggregated Source (Gitee) | https://gitee.com/shangxueink/koishi-registry-aggregator/raw/gh-pages/market.json | | Koishi Plugin Market Source | Third-party Koishi Source 5 | https://koishi-registry.yumetsuki.moe/index.json | | Koishi Plugin Market Source | Aggregated Source (GitHub Release) | https://github.com/shangxueink/koishi-registry-aggregator/releases/download/latest/market.json | | Koishi Plugin Market Source | Aggregated Source (GitHub Source) | https://github.com/shangxueink/koishi-registry-aggregator/raw/refs/heads/gh-pages/market.json | | Koishi Plugin Market Source | Aggregated Source (GitHub Pages) | https://shangxueink.github.io/koishi-registry-aggregator/market.json | | Koishi Plugin Market Source | Aggregated Source (jsDelivr) | https://cdn.jsdelivr.net/gh/shangxueink/koishi-registry-aggregator@gh-pages/market.json | | Koishi Plugin Market Source | Aggregated Source (jsdmirror) | https://cdn.jsdmirror.com/gh/shangxueink/koishi-registry-aggregator@gh-pages/market.json |
许可协议 (License)
本项目采用 MIT 开源许可证,您可自由使用、修改和分发,详情参见项目根目录的 LICENSE 文件。
This project is licensed under the MIT Open Source License. You are free to use, modify and distribute it. For details, see the LICENSE file in the project root directory.
支持我们 (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.
