Skip to content

🧩 / 🚀 LOBE-CHAT中基于BINGAPI的搜索引擎插件

License

Notifications You must be signed in to change notification settings

FineHow/Bingsearch-Plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

TOC

🌟 Features

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

1737534666095

🤯 私有化 Usage

基于私有化部署的 BINGSEARCH 插件方案,不仅可以部署 bingsearch, 也可根据用户需求,自主修改插件市场的内容,可以开发多个 lobechat 私有插件,私有化部署。

  1. 通过 docker 提供 bingsearch 私有化部署
  2. docker 完成打包之后,将 lobechat 中的环境变量 PLUGINS_INDEX_URL 插件市场路径替换成本项目部署的 镜像地址 /index.json (本地为http://localhost:3400/index.json) , 如果除了 bingsearch 插件以外还想使用官方的插件,只需要将官方的插件市场路径添加到本项目的 /index.json 中即可。
  3. 需要在私有化部署时自行添加环境变量 BING_API,开发条件下,请自行替换默认 api 即可
npm install
npm build
docker build --pull --rm -f "dockerfile" -t bingsearchplugin_local:v1.0 "."

⌨️ 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.

About

🧩 / 🚀 LOBE-CHAT中基于BINGAPI的搜索引擎插件

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.3%
  • JavaScript 14.7%
  • Shell 2.0%