lobehub / chat-plugin-template

🧩 / πŸš€ PluginTemplate - This is the plugin template for LobeChat plugin development.
MIT License
46 stars 35 forks source link

Plugin Template
LobeChat Plugin

This is the plugin template for LobeChat plugin development [![][🀯-🧩-lobehub-shield]][🀯-🧩-lobehub-link] [![][github-release-shield]][github-release-link] [![][github-releasedate-shield]][github-releasedate-link] [![][github-action-test-shield]][github-action-test-link] [![][github-action-release-shield]][github-action-release-link]
[![][github-contributors-shield]][github-contributors-link] [![][github-forks-shield]][github-forks-link] [![][github-stars-shield]][github-stars-link] [![][github-issues-shield]][github-issues-link] [![][github-license-shield]][github-license-link] [Changelog](./CHANGELOG.md) Β· [Report Bug][github-issues-link] Β· [Request Feature][github-issues-link] ![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)
Table of contents #### TOC - [🌟 Features](#-features) - [🀯 Usage](#-usage) - [⌨️ Local Development](#️-local-development) - [🀝 Contributing](#-contributing) - [πŸ”— Links](#-links) ####

🌟 Features

[![][back-to-top]](#readme-top)

🀯 Usage

[!IMPORTANT]\ See detail on πŸ“˜ Template usage

[!Note]\ Plugins provide a means to extend the Function Calling capabilities of LobeChat. They can be used to introduce new function calls, and even new ways to render message results. If you are interested in plugin development, please refer to our πŸ“˜ Plugin Development Guide in the Wiki.

  • @lobehub/lobe-chat-plugins: This is the plugin index for LobeChat. It accesses index.json from this repository to display a list of available plugins for LobeChat to the user.
  • @lobehub/chat-plugin-sdk: The LobeChat Plugin SDK assists you in creating exceptional chat plugins for Lobe Chat.
  • @lobehub/chat-plugins-gateway: The LobeChat Plugins Gateway is a backend service that serves as a gateway for LobeChat plugins. We deploy this service using Vercel. The primary API POST /api/v1/runner is deployed as an Edge Function.
Official Plugin Description
SearchEngine This plugin allows for the use of the SerpApi search engine.
RealtimeWeather This plugin provides practical weather information by obtaining real-time weather data and can automatically update based on the user's location.
WebsiteCrawler This plugin automatically crawls the main content of a specified URL webpage and uses it as context input.
[![][back-to-top]](#readme-top)

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

$ git clone https://github.com/lobehub/chat-plugin-template.git
$ cd chat-plugin-template
$ bun install
$ bun dev
[![][back-to-top]](#readme-top)

🀝 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.

[![][back-to-top]](#readme-top)

πŸ”— Links

[![][back-to-top]](#readme-top)

πŸ“ License

Copyright Β© 2023 LobeHub.
This project is MIT licensed.