-
Notifications
You must be signed in to change notification settings - Fork 59.1k
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
[讨论] local-first 实现的 Plugin System 有何优势? #5399
Comments
Please follow the issue template to update title and description of your issue. |
Title: [Discussion] What are the advantages of local-first implementation of Plugin System? 🥰 Description of requirementsNow I see the plug-ins in the https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins warehouse, all of which are network request types. Compared with server-side plug-ins, the local system not only needs to set up http proxy separately, but also lacks wider oauth support. So what are the advantages of local plugin system? Can it do things that server-side plug-ins cannot? 🧐 SolutionCan you give examples of capabilities in the plug-in repository that server-side plug-ins cannot do? 📝 Supplementary informationNo response |
This comment was marked as spam.
This comment was marked as spam.
之所以local first,是为了兼容App端,让App端也能和网页端以相同的方式使用Plugin |
The reason why local first is to be compatible with the App side, so that the App side can use the Plugin in the same way as the web page side. |
@Leizhenpeng |
In addition, regarding oauth, there is no support for the time being because it is executed on the client side. |
设置http proxy仅仅是因为网页端调用第三方服务的时候,可能导致跨域错误,所以需要当前的server提供一个动态的proxy。 |
The http proxy is set simply because when the web page calls a third-party service, it may cause cross-domain errors, so the current server needs to provide a dynamic proxy. |
我倒不关注oauth和proxy的缺点,我想明白优点在哪, 除了兼容性 |
I don't pay attention to the shortcomings of oauth and proxy. I want to understand the advantages, except compatibility. |
纯粹就是为了兼容性:
|
Purely for compatibility:
|
Well, maybe it's a treasure trove where we only see the entrance |
🥰 需求描述
现在看到 https://github.com/ChatGPTNextWeb/NextChat-Awesome-Plugins 仓库里面的插件, 全部是联网请求类型的.
相比服务端插件,本地系统不仅需要单独设置 http proxy, 还缺少更广泛的oauth支持
所以 local plugin system 的优势在哪里呢?
他可以做到服务端插件做不到的能力?
🧐 解决方案
能否在插件仓库中举例出服务端插件做不到的能力?
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: