README.md
January 22, 2025 · View on GitHub
Plugin Bingsearch
LobeChat Plugin
This is the plugin Bingsearch for LobeChat plugin development
Changelog · Report Bughttps://github.com/FineHow/Bingsearch-Plugin/issues · Request Featurehttps://github.com/FineHow/Bingsearch-Plugin/issues

🌟 Features
- 注册微软账号,可免费使用bing search搜索API服务,BING SEARCH 免费提供3个链接返回结果,实际可返回十个链接搜索结果。详情见https://www.microsoft.com/en-us/bing/apis
- 本插件提供预览前端页面,点击标题 网页内嵌至插件,点击内容详情 跳转至网页。


🤯 私有化 Usage
基于私有化部署的 BINGSEARCH 插件方案,不仅可以部署 bingsearch, 也可根据用户需求,自主修改插件市场的内容,可以开发多个 lobechat 私有插件,私有化部署。
- 通过 docker 提供 bingsearch 私有化部署
- docker 完成打包之后,将 lobechat 中的环境变量 PLUGINS_INDEX_URL 插件市场路径替换成本项目部署的 镜像地址 /index.json (本地为http://localhost:3400/index.json) , 如果除了 bingsearch 插件以外还想使用官方的插件,只需要将官方的插件市场路径添加到本项目的 /index.json 中即可。
- 需要在私有化部署时自行添加环境变量 BING_API,开发条件下,请自行替换默认 api 即可
npm install
npm build
docker build --pull --rm -f "dockerfile" -t bingsearchplugin_local:v1.0 "."
- 启动http://localhost:3000, 打开 lobechat, 添加环境变量 PLUGINS_INDEX_URL:http://localhost:3000/index.json
⌨️ Local Development
npm install
npm build
npm run dev
🤝 Contributing
Contributions of all types are more than welcome, if you are interested in contributing plugin, feel free to show us what you’re made of.
📝 License
Copyright © 2023 LobeHubhttps://github.com/lobehub.
This project is MIT licensed.