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
- [x] π¨ Quick start with low learning curve: This template provides a quick start option, allowing users to get started quickly. Additionally, the template includes detailed documentation to help users understand and use the features easily.
- [x] π Beautiful and comprehensive documentation: The template aims for aesthetics, with carefully designed interfaces and layouts that make the documentation more intuitive, readable, and user-friendly. Moreover, the template offers a wide range of styles and components for users to customize the appearance and functionality of their documentation.
- [x] π Complete workflow, automatic publishing and partner updates: The template provides a complete workflow, including automatic publishing and automatic partner updates. Users can easily complete the publishing and updating tasks by following the specified steps.
- [x] π±οΈ One-click document generation: The template offers a one-click document generation feature, allowing users to quickly generate complete documentation with simple operations. This saves users a significant amount of time and effort, allowing them to focus on improving the content and quality of their documentation.
[![][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:
![](https://github.com/codespaces/badge.svg)
Or clone it for local development:
![](https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun&style=for-the-badge)
$ 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.
![](https://img.shields.io/badge/%F0%9F%A4%AF%20PR%20WELCOME-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge)
![](https://contrib.rocks/image?repo=lobehub%2Fchat-plugin-template)
[![][back-to-top]](#readme-top)
π Links
- π€ Lobe Chat - An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application.
- 𧩠/ πͺ Plugin Index - This is the plugin index for LobeChat. It accesses index.json from this repository to display a list of available plugins for Function Calling to the user.
[![][back-to-top]](#readme-top)
π License
Copyright Β© 2023 LobeHub.
This project is MIT licensed.