Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update market.ts: 是否考虑修改一下插件市场的机制? #348

Open
VincentZyu233 opened this issue Mar 1, 2025 · 1 comment
Open

Comments

@VincentZyu233
Copy link

Image

如图,用淘宝的npm镜像api 搜索 含有"koishi-plugin-"的npm包

https://registry.npmmirror.com/-/v1/search?text=koishi-plugin-&size=50

搜索50条,耗时224ms

考虑一下 把这件事情 放在koishi实例本地做?
用来代替现有的插件市场镜像?
或者说 考虑作为一个可选项,实验性功能,可以切换,

@shigma
Copy link
Member

shigma commented Mar 3, 2025

之前就是本地做的,但是插件市场过大,一共 2000+ 插件,并且每个插件必须获取具体信息才能确定是否显示,相当于 2000 多次请求,会直接把 npm 干到 429……

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants