@lobehub/chat 0.77.1 → 0.78.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/auto-merge.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.github/workflows/sync.yml +1 -1
- package/.github/workflows/test.yml +1 -1
- package/CHANGELOG.md +234 -184
- package/README.md +96 -75
- package/README.zh-CN.md +96 -75
- package/bun.lockb +0 -0
- package/package.json +1 -1
- package/src/pages/settings/features/Banner/index.tsx +95 -0
- package/src/pages/settings/features/Header/Desktop.tsx +2 -5
- package/src/pages/settings/features/Header/Mobile.tsx +1 -1
- package/src/pages/settings/features/Settings/index.tsx +16 -77
- package/src/store/session/slices/chat/actions/message.ts +10 -7
- package/src/store/session/slices/chat/actions/topic.ts +3 -1
- package/.gitpod.yml +0 -3
package/README.md
CHANGED
|
@@ -8,23 +8,25 @@
|
|
|
8
8
|
|
|
9
9
|
<h1>Lobe Chat</h1>
|
|
10
10
|
|
|
11
|
-
LobeChat is a open-source, extensible ([Function Calling][fc-
|
|
11
|
+
LobeChat is a open-source, extensible ([Function Calling][fc-link]), high-performance chatbot framework. <br/> It supports one-click free deployment of your private ChatGPT/LLM web application.
|
|
12
12
|
|
|
13
|
-
**English** · [简体中文](./README.zh-CN.md) · [Changelog](./CHANGELOG.md) · [Wiki][wiki-
|
|
13
|
+
**English** · [简体中文](./README.zh-CN.md) · [Changelog](./CHANGELOG.md) · [Wiki][github-wiki-link] · [Report Bug][github-issues-link] · [Request Feature][github-issues-link]
|
|
14
14
|
|
|
15
15
|
<!-- SHIELD GROUP -->
|
|
16
16
|
|
|
17
|
-
[![
|
|
18
|
-
[![
|
|
19
|
-
[![][
|
|
20
|
-
[![
|
|
21
|
-
[![
|
|
22
|
-
[![
|
|
23
|
-
[![
|
|
24
|
-
[![
|
|
25
|
-
[![
|
|
17
|
+
[![][github-release-shield]][github-release-link]
|
|
18
|
+
[![][vercel-shield]][vercel-link]
|
|
19
|
+
[![][discord-shield]][discord-link]
|
|
20
|
+
[![][github-releasedate-shield]][github-releasedate-link]
|
|
21
|
+
[![][github-action-test-shield]][github-action-test-link]
|
|
22
|
+
[![][github-action-release-shield]][github-action-release-link]<br/>
|
|
23
|
+
[![][github-contributors-shield]][github-contributors-link]
|
|
24
|
+
[![][github-forks-shield]][github-forks-link]
|
|
25
|
+
[![][github-stars-shield]][github-stars-link]
|
|
26
|
+
[![][github-issues-shield]][github-issues-link]
|
|
27
|
+
[![][github-license-shield]][github-license-link]
|
|
26
28
|
|
|
27
|
-
[![Deploy with Vercel][deploy-button-image]][deploy-
|
|
29
|
+
[![Deploy with Vercel][deploy-button-image]][deploy-link]
|
|
28
30
|
|
|
29
31
|

|
|
30
32
|
|
|
@@ -63,15 +65,23 @@ LobeChat is a open-source, extensible ([Function Calling][fc-url]), high-perform
|
|
|
63
65
|
|
|
64
66
|
## 👋🏻 Getting Started & Join Our Community
|
|
65
67
|
|
|
66
|
-
Please be aware that LobeChat is currently under active development,feedback is welcome for any [issues][issues-
|
|
68
|
+
Please be aware that LobeChat is currently under active development,feedback is welcome for any [issues][issues-link] encountered.
|
|
67
69
|
|
|
68
|
-
| [![][
|
|
69
|
-
|
|
|
70
|
-
| [![][discord-shield]][discord-
|
|
70
|
+
| [![][vercel-shield-badge]][vercel-link] | No installation or registration necessary! Visit our website to experience it firsthand. |
|
|
71
|
+
| :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
|
|
72
|
+
| [![][discord-shield-badge]][discord-link] | Join our Discord community! This is where you can connect with developers and other enthusiastic users of LobeHub. |
|
|
73
|
+
|
|
74
|
+
> **Important**\
|
|
75
|
+
> **Star Us**,You will receive all releases notifications from GitHub without any delay \~ ⭐️
|
|
71
76
|
|
|
72
77
|

|
|
73
78
|
|
|
74
|
-
>
|
|
79
|
+
<details><summary><kbd>Star History</kbd></summary>
|
|
80
|
+
<picture>
|
|
81
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lobehub%2Flobe-chat&theme=dark&type=Date">
|
|
82
|
+
<img src="https://api.star-history.com/svg?repos=lobehub%2Flobe-chat&type=Date">
|
|
83
|
+
</picture>
|
|
84
|
+
</details>
|
|
75
85
|
|
|
76
86
|
## ✨ Features
|
|
77
87
|
|
|
@@ -84,7 +94,8 @@ Please be aware that LobeChat is currently under active development,feedback i
|
|
|
84
94
|
- [x] 🌐 **Custom Domain**: If users have their own domain, they can bind it to the platform for quick access to the dialogue assistant from anywhere.
|
|
85
95
|
- [x] 🏬 **Role Market**: A Role Market is provided where users can select their preferred dialogue assistant roles, enriching the content and style of the dialogue;
|
|
86
96
|
|
|
87
|
-
>
|
|
97
|
+
> **Note**\
|
|
98
|
+
> You can find our upcoming [Roadmap][github-project-link] plans in the Projects section.
|
|
88
99
|
|
|
89
100
|
<div align="right">
|
|
90
101
|
|
|
@@ -130,14 +141,14 @@ We have designed a series of adaptations for mobile devices to enhance user expe
|
|
|
130
141
|
|
|
131
142
|
## 🛳 Self Hosting
|
|
132
143
|
|
|
133
|
-
LobeChat provides a [self-hosted version][deploy-
|
|
144
|
+
LobeChat provides a [self-hosted version][deploy-link] with Vercel. This allows you to build your own chatbot within a few minutes, without any prior knowledge. If you want to deploy this service yourself, you can follow these steps:
|
|
134
145
|
|
|
135
146
|
- Prepare your [OpenAI API Key](https://platform.openai.com/account/api-keys).
|
|
136
147
|
- Click the button below to start deployment: Deploy with Vercel. Log in directly with your Github account and remember to fill in the API Key and access code CODE on the environment variable page;
|
|
137
148
|
- After deployment, you can start using it;
|
|
138
149
|
- Bind a custom domain (optional): The DNS of the domain assigned by Vercel is polluted in some areas, binding a custom domain can connect directly.
|
|
139
150
|
|
|
140
|
-
[![Deploy with Vercel][deploy-button-image]][deploy-
|
|
151
|
+
[![Deploy with Vercel][deploy-button-image]][deploy-link]
|
|
141
152
|
|
|
142
153
|
> **Note**\
|
|
143
154
|
> This project provides some additional configuration items, set with environment variables:
|
|
@@ -160,11 +171,11 @@ If you have deployed your own project following the one-click deployment steps i
|
|
|
160
171
|
|
|
161
172
|
## 📦 Ecosystem
|
|
162
173
|
|
|
163
|
-
| NPM
|
|
164
|
-
|
|
|
165
|
-
| [@lobehub/ui][lobe-ui-
|
|
166
|
-
| [@lobehub/lint][lobe-lint-
|
|
167
|
-
| @lobehub/assets
|
|
174
|
+
| NPM | Repository | Description | Version |
|
|
175
|
+
| ------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |
|
|
176
|
+
| [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | Lobe UI is an open-source UI component library dedicated to building AIGC web applications. | [![][lobe-ui-shield]][lobe-ui-link] |
|
|
177
|
+
| [@lobehub/lint][lobe-lint-link] | [lobehub/lobe-lint][lobe-lint-github] | LobeLint provides configurations for ESlint, Stylelint, Commitlint, Prettier, Remark, and Semantic Release for LobeHub. | [![][lobe-lint-shield]][lobe-lint-link] |
|
|
178
|
+
| @lobehub/assets | [lobehub/assets][lobe-assets-github] | Logo assets, favicons, webfonts for LobeHub. | |
|
|
168
179
|
|
|
169
180
|
<div align="right">
|
|
170
181
|
|
|
@@ -174,7 +185,7 @@ If you have deployed your own project following the one-click deployment steps i
|
|
|
174
185
|
|
|
175
186
|
## 🧩 Plugins
|
|
176
187
|
|
|
177
|
-
Plugins provide a means to extend the [Function Calling][fc-
|
|
188
|
+
Plugins provide a means to extend the [Function Calling][fc-link] 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](https://github.com/lobehub/lobe-chat/wiki/Plugin-Development) in the Wiki.
|
|
178
189
|
|
|
179
190
|
> **Note**\
|
|
180
191
|
> The plugin system is currently undergoing major development. You can learn more in the following issues:
|
|
@@ -201,17 +212,19 @@ Plugins provide a means to extend the [Function Calling][fc-url] capabilities of
|
|
|
201
212
|
|
|
202
213
|
## ⌨️ Local Development
|
|
203
214
|
|
|
204
|
-
You can use
|
|
215
|
+
You can use Github Codespaces for online development:
|
|
205
216
|
|
|
206
|
-
[![
|
|
217
|
+
[![][codespaces-shield]][codespaces-link]
|
|
207
218
|
|
|
208
219
|
Or clone it for local development:
|
|
209
220
|
|
|
221
|
+
[![][bun-shield]][bun-link]
|
|
222
|
+
|
|
210
223
|
```bash
|
|
211
224
|
$ git clone https://github.com/lobehub/lobe-chat.git
|
|
212
225
|
$ cd lobe-chat
|
|
213
|
-
$
|
|
214
|
-
$
|
|
226
|
+
$ bun install
|
|
227
|
+
$ bun dev
|
|
215
228
|
```
|
|
216
229
|
|
|
217
230
|
<div align="right">
|
|
@@ -222,13 +235,13 @@ $ pnpm dev
|
|
|
222
235
|
|
|
223
236
|
## 🤝 Contributing
|
|
224
237
|
|
|
225
|
-
Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub [Issues][issues-
|
|
238
|
+
Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub [Issues][github-issues-link] and [Projects][github-project-link] to get stuck in to show us what you’re made of.
|
|
226
239
|
|
|
227
|
-
[![][pr-welcome-shield]][pr-welcome-
|
|
228
|
-
[![][submit-agents-shield]][submit-agents-
|
|
229
|
-
[![][submit-plugin-shield]][submit-plugin-
|
|
240
|
+
[![][pr-welcome-shield]][pr-welcome-link]
|
|
241
|
+
[![][submit-agents-shield]][submit-agents-link]
|
|
242
|
+
[![][submit-plugin-shield]][submit-plugin-link]
|
|
230
243
|
|
|
231
|
-
[![][contributors-contrib]][contributors-
|
|
244
|
+
[![][contributors-contrib]][contributors-link]
|
|
232
245
|
|
|
233
246
|
<div align="right">
|
|
234
247
|
|
|
@@ -252,66 +265,74 @@ Contributions of all types are more than welcome, if you are interested in contr
|
|
|
252
265
|
|
|
253
266
|
<details><summary><h4>📝 License</h4></summary>
|
|
254
267
|
|
|
255
|
-
[![][fossa-license-shield]][fossa-license-
|
|
268
|
+
[![][fossa-license-shield]][fossa-license-link]
|
|
256
269
|
|
|
257
270
|
</details>
|
|
258
271
|
|
|
259
|
-
Copyright © 2023 [LobeHub][profile-
|
|
272
|
+
Copyright © 2023 [LobeHub][profile-link]. <br />
|
|
260
273
|
This project is [MIT](./LICENSE) licensed.
|
|
261
274
|
|
|
262
275
|
<!-- LINK GROUP -->
|
|
263
276
|
|
|
264
277
|
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
|
|
278
|
+
[bun-link]: https://bun.sh
|
|
279
|
+
[bun-shield]: https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun&style=for-the-badge
|
|
265
280
|
[chat-plugin-realtime-weather]: https://github.com/lobehub/chat-plugin-realtime-weather
|
|
266
281
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
|
267
282
|
[chat-plugin-search-engine]: https://github.com/lobehub/chat-plugin-search-engine
|
|
268
283
|
[chat-plugin-web-crawler]: https://github.com/lobehub/chat-plugin-web-crawler
|
|
269
284
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
|
270
|
-
[
|
|
271
|
-
[
|
|
272
|
-
[ci-test-shield]: https://github.com/lobehub/lobe-chat/workflows/Test%20CI/badge.svg
|
|
273
|
-
[ci-test-url]: https://github.com/lobehub/lobe-chat/actions/workflows/test.yml
|
|
285
|
+
[codespaces-link]: https://codespaces.new/lobehub/lobe-chat
|
|
286
|
+
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
|
274
287
|
[contributors-contrib]: https://contrib.rocks/image?repo=lobehub/lobe-chat
|
|
275
|
-
[contributors-
|
|
276
|
-
[contributors-url]: https://github.com/lobehub/lobe-chat/graphs/contributors
|
|
288
|
+
[contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
|
|
277
289
|
[deploy-button-image]: https://vercel.com/button
|
|
278
|
-
[deploy-
|
|
279
|
-
[discord-
|
|
280
|
-
[discord-
|
|
281
|
-
[
|
|
282
|
-
[
|
|
283
|
-
[
|
|
290
|
+
[deploy-link]: https://vercel.com/new/clone?repository-link=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%20&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
|
|
291
|
+
[discord-link]: https://discord.gg/AYFPHvv2jT
|
|
292
|
+
[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
|
|
293
|
+
[discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
|
|
294
|
+
[fc-link]: https://sspai.com/post/81986
|
|
295
|
+
[fossa-license-link]: https://app.fossa.com/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat
|
|
284
296
|
[fossa-license-shield]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat.svg?type=large
|
|
285
|
-
[
|
|
286
|
-
[
|
|
287
|
-
[
|
|
288
|
-
[
|
|
289
|
-
[
|
|
297
|
+
[github-action-release-link]: https://github.com/actions/workflows/lobehub/lobe-chat/release.yml
|
|
298
|
+
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/release.yml?labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
|
299
|
+
[github-action-test-link]: https://github.com/actions/workflows/lobehub/lobe-chat/test.yml
|
|
300
|
+
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
|
301
|
+
[github-contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
|
|
302
|
+
[github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-chat?color=c4f042&labelColor=black&style=flat-square
|
|
303
|
+
[github-forks-link]: https://github.com/lobehub/lobe-chat/network/members
|
|
304
|
+
[github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-chat?color=8ae8ff&labelColor=black&style=flat-square
|
|
305
|
+
[github-issues-link]: https://github.com/lobehub/lobe-chat/issues
|
|
306
|
+
[github-issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-chat?color=ff80eb&labelColor=black&style=flat-square
|
|
307
|
+
[github-license-link]: https://github.com/lobehub/lobe-chat/blob/main/LICENSE
|
|
308
|
+
[github-license-shield]: https://img.shields.io/github/license/lobehub/lobe-chat?color=white&labelColor=black&style=flat-square
|
|
309
|
+
[github-project-link]: https://github.com/lobehub/lobe-chat/projects
|
|
310
|
+
[github-release-link]: https://github.com/lobehub/lobe-chat/releases
|
|
311
|
+
[github-release-shield]: https://img.shields.io/github/v/release/lobehub/lobe-chat?color=369eff&labelColor=black&logo=github&style=flat-square
|
|
312
|
+
[github-releasedate-link]: https://github.com/lobehub/lobe-chat/releases
|
|
313
|
+
[github-releasedate-shield]: https://img.shields.io/github/release-date/lobehub/lobe-chat?labelColor=black&style=flat-square
|
|
314
|
+
[github-stars-link]: https://github.com/lobehub/lobe-chat/network/stargazers
|
|
315
|
+
[github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
|
|
316
|
+
[github-wiki-link]: https://github.com/lobehub/lobe-chat/wiki
|
|
317
|
+
[issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
|
|
290
318
|
[lobe-assets-github]: https://github.com/lobehub/lobe-assets
|
|
291
319
|
[lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
|
|
292
320
|
[lobe-commit]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-commit
|
|
293
321
|
[lobe-i18n]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-i18n
|
|
294
322
|
[lobe-lint-github]: https://github.com/lobehub/lobe-lint
|
|
295
|
-
[lobe-lint-
|
|
296
|
-
[lobe-lint-
|
|
323
|
+
[lobe-lint-link]: https://www.npmjs.com/package/@lobehub/lint
|
|
324
|
+
[lobe-lint-shield]: https://img.shields.io/npm/v/@lobehub/lint?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
|
|
297
325
|
[lobe-theme]: https://github.com/lobehub/sd-webui-lobe-theme
|
|
298
326
|
[lobe-ui-github]: https://github.com/lobehub/lobe-ui
|
|
299
|
-
[lobe-ui-
|
|
300
|
-
[lobe-ui-
|
|
301
|
-
[
|
|
302
|
-
[
|
|
303
|
-
[
|
|
304
|
-
[
|
|
305
|
-
[
|
|
306
|
-
[
|
|
307
|
-
[
|
|
308
|
-
[
|
|
309
|
-
[
|
|
310
|
-
[
|
|
311
|
-
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat.svg?style=flat
|
|
312
|
-
[stargazers-url]: https://github.com/lobehub/lobe-chat/stargazers
|
|
313
|
-
[submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-9DFF92?style=for-the-badge
|
|
314
|
-
[submit-agents-url]: https://github.com/lobehub/lobe-chat-agents
|
|
315
|
-
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-50E3C2?style=for-the-badge
|
|
316
|
-
[submit-plugin-url]: https://github.com/lobehub/lobe-chat-plugins
|
|
317
|
-
[wiki-url]: https://github.com/lobehub/lobe-chat/wiki
|
|
327
|
+
[lobe-ui-link]: https://www.npmjs.com/package/@lobehub/ui
|
|
328
|
+
[lobe-ui-shield]: https://img.shields.io/npm/v/@lobehub/ui?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
|
|
329
|
+
[pr-welcome-link]: https://github.com/lobehub/lobe-chat/pulls
|
|
330
|
+
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
|
331
|
+
[profile-link]: https://github.com/lobehub
|
|
332
|
+
[submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
|
|
333
|
+
[submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-c4f042?labelColor=black&style=for-the-badge
|
|
334
|
+
[submit-plugin-link]: https://github.com/lobehub/lobe-chat-plugins
|
|
335
|
+
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-95f3d9?labelColor=black&style=for-the-badge
|
|
336
|
+
[vercel-link]: https://chat-preview.lobehub.com
|
|
337
|
+
[vercel-shield]: https://img.shields.io/website?down_message=offline&label=vercel&labelColor=black&logo=vercel&style=flat-square&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
|
|
338
|
+
[vercel-shield-badge]: https://img.shields.io/website?down_message=offline&label=try%20lobechat&labelColor=black&logo=vercel&style=for-the-badge&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
|
package/README.zh-CN.md
CHANGED
|
@@ -8,23 +8,25 @@
|
|
|
8
8
|
|
|
9
9
|
<h1>Lobe Chat</h1>
|
|
10
10
|
|
|
11
|
-
LobeChat 是一个开源的、可扩展的([Function Calling][fc-
|
|
11
|
+
LobeChat 是一个开源的、可扩展的([Function Calling][fc-link])高性能聊天机器人框架。<br/> 它支持一键免费部署私人 ChatGPT/LLM 网页应用程序。
|
|
12
12
|
|
|
13
|
-
[English](./README.md) · **简体中文** · [更新日志](./CHANGELOG.md) · [文档][wiki-
|
|
13
|
+
[English](./README.md) · **简体中文** · [更新日志](./CHANGELOG.md) · [文档][github-wiki-link] · [报告问题][github-issues-link] · [请求功能][github-issues-link]
|
|
14
14
|
|
|
15
15
|
<!-- SHIELD GROUP -->
|
|
16
16
|
|
|
17
|
-
[![
|
|
18
|
-
[![
|
|
19
|
-
[![][
|
|
20
|
-
[![
|
|
21
|
-
[![
|
|
22
|
-
[![
|
|
23
|
-
[![
|
|
24
|
-
[![
|
|
25
|
-
[![
|
|
17
|
+
[![][github-release-shield]][github-release-link]
|
|
18
|
+
[![][vercel-shield]][vercel-link]
|
|
19
|
+
[![][discord-shield]][discord-link]
|
|
20
|
+
[![][github-releasedate-shield]][github-releasedate-link]
|
|
21
|
+
[![][github-action-test-shield]][github-action-test-link]
|
|
22
|
+
[![][github-action-release-shield]][github-action-release-link]<br/>
|
|
23
|
+
[![][github-contributors-shield]][github-contributors-link]
|
|
24
|
+
[![][github-forks-shield]][github-forks-link]
|
|
25
|
+
[![][github-stars-shield]][github-stars-link]
|
|
26
|
+
[![][github-issues-shield]][github-issues-link]
|
|
27
|
+
[![][github-license-shield]][github-license-link]
|
|
26
28
|
|
|
27
|
-
[![Deploy with Vercel][deploy-button-image]][deploy-
|
|
29
|
+
[![Deploy with Vercel][deploy-button-image]][deploy-link]
|
|
28
30
|
|
|
29
31
|

|
|
30
32
|
|
|
@@ -63,15 +65,23 @@ LobeChat 是一个开源的、可扩展的([Function Calling][fc-url])高性
|
|
|
63
65
|
|
|
64
66
|
## 👋🏻 开始使用 & 交流
|
|
65
67
|
|
|
66
|
-
我们是一群充满热情的设计工程师,希望为 AIGC 提供现代化的设计组件和工具,并以开源的方式分享,以促进它们在更广泛的社区中的发展和采用,LobeChat 目前正在积极开发中,有需求或者问题,欢迎提交 [issues][issues-
|
|
68
|
+
我们是一群充满热情的设计工程师,希望为 AIGC 提供现代化的设计组件和工具,并以开源的方式分享,以促进它们在更广泛的社区中的发展和采用,LobeChat 目前正在积极开发中,有需求或者问题,欢迎提交 [issues][issues-link]
|
|
67
69
|
|
|
68
|
-
| [![][
|
|
69
|
-
|
|
|
70
|
-
| [![][discord-shield]][discord-
|
|
70
|
+
| [![][vercel-shield-badge]][vercel-link] | 无需安装或注册!访问我们的网站,快速体验 |
|
|
71
|
+
| :---------------------------------------- | :--------------------------------------------------------------------------- |
|
|
72
|
+
| [![][discord-shield-badge]][discord-link] | 加入我们的 Discord 社区!这是你可以与开发者和其他 LobeHub 热衷用户交流的地方 |
|
|
73
|
+
|
|
74
|
+
> **Important**\
|
|
75
|
+
> **收藏项目**,你将从 GitHub 上无延迟地接收所有发布通知 \~ ⭐️
|
|
71
76
|
|
|
72
77
|

|
|
73
78
|
|
|
74
|
-
>
|
|
79
|
+
<details><summary><kbd>Star History</kbd></summary>
|
|
80
|
+
<picture>
|
|
81
|
+
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=lobehub%2Flobe-chat&theme=dark&type=Date">
|
|
82
|
+
<img src="https://api.star-history.com/svg?repos=lobehub%2Flobe-chat&type=Date">
|
|
83
|
+
</picture>
|
|
84
|
+
</details>
|
|
75
85
|
|
|
76
86
|
## ✨ 功能特性
|
|
77
87
|
|
|
@@ -84,7 +94,8 @@ LobeChat 是一个开源的、可扩展的([Function Calling][fc-url])高性
|
|
|
84
94
|
- [x] 🌐 **自定义域名**:如果用户拥有自己的域名,可以将其绑定到平台上,方便在任何地方快速访问对话助手。
|
|
85
95
|
- [x] 🏬 **角色市场**:提供角色市场,用户可以在市场上选择自己喜欢的对话助手角色,丰富对话的内容和风格;
|
|
86
96
|
|
|
87
|
-
>
|
|
97
|
+
> **Note**\
|
|
98
|
+
> 你可以在 Projects 中找到我们后续的 [Roadmap][github-project-link] 计划
|
|
88
99
|
|
|
89
100
|
<div align="right">
|
|
90
101
|
|
|
@@ -134,14 +145,14 @@ LobeChat 提供了亮色和暗色两种主题模式以及颜色定制选项,
|
|
|
134
145
|
|
|
135
146
|
## 🛳 开箱即用
|
|
136
147
|
|
|
137
|
-
LobeChat 提供了 Vercel 的 [自托管版本][deploy-
|
|
148
|
+
LobeChat 提供了 Vercel 的 [自托管版本][deploy-link]。这使你可以在几分钟内构建自己的聊天机器人,无需任何基础知识。如果想自己部署该服务,可以按照以下步骤进行操作:
|
|
138
149
|
|
|
139
150
|
- 准备好你的 [OpenAI API Key](https://platform.openai.com/account/api-keys) 。
|
|
140
151
|
- 点击下方按钮开始部署: Deploy with Vercel,直接使用 Github 账号登录即可,记得在环境变量页填入 API Key 和页面访问密码 CODE;
|
|
141
152
|
- 部署完毕后,即可开始使用;
|
|
142
153
|
- 绑定自定义域名(可选):Vercel 分配的域名 DNS 在某些区域被污染了,绑定自定义域名即可直连。
|
|
143
154
|
|
|
144
|
-
[![使用 Vercel 部署][deploy-button-image]][deploy-
|
|
155
|
+
[![使用 Vercel 部署][deploy-button-image]][deploy-link]
|
|
145
156
|
|
|
146
157
|
> **Note**\
|
|
147
158
|
> 本项目提供了一些额外的配置项,使用环境变量进行设置:
|
|
@@ -164,11 +175,11 @@ LobeChat 提供了 Vercel 的 [自托管版本][deploy-url]。这使你可以在
|
|
|
164
175
|
|
|
165
176
|
## 📦 生态系统
|
|
166
177
|
|
|
167
|
-
| NPM
|
|
168
|
-
|
|
|
169
|
-
| [@lobehub/ui][lobe-ui-
|
|
170
|
-
| [@lobehub/lint][lobe-lint-
|
|
171
|
-
| @lobehub/assets
|
|
178
|
+
| NPM | 代码库 | 描述 | 版本 |
|
|
179
|
+
| ------------------------------- | ------------------------------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------- |
|
|
180
|
+
| [@lobehub/ui][lobe-ui-link] | [lobehub/lobe-ui][lobe-ui-github] | Lobe UI 是一个专为构建 AIGC 网页应用程序而设计的开源 UI 组件库。 | [![][lobe-ui-shield]][lobe-ui-link] |
|
|
181
|
+
| [@lobehub/lint][lobe-lint-link] | [lobehub/lobe-lint][lobe-lint-github] | LobeLint 为 LobeHub 提供 ESlint,Stylelint,Commitlint,Prettier,Remark 和 Semantic Release 的配置。 | [![][lobe-lint-shield]][lobe-lint-link] |
|
|
182
|
+
| @lobehub/assets | [lobehub/assets][lobe-assets-github] | LobeHub 的 Logo 资源、favicon、网页字体。 | |
|
|
172
183
|
|
|
173
184
|
<div align="right">
|
|
174
185
|
|
|
@@ -178,7 +189,7 @@ LobeChat 提供了 Vercel 的 [自托管版本][deploy-url]。这使你可以在
|
|
|
178
189
|
|
|
179
190
|
## 🧩 插件体系
|
|
180
191
|
|
|
181
|
-
插件提供了扩展 LobeChat [Function Calling][fc-
|
|
192
|
+
插件提供了扩展 LobeChat [Function Calling][fc-link] 能力的方法。可以用于引入新的 Function Calling,甚至是新的消息结果渲染方式。如果你对插件开发感兴趣,请在 Wiki 中查阅我们的 [📘 插件开发指引](https://github.com/lobehub/lobe-chat/wiki/Plugin-Development.zh-CN) 。
|
|
182
193
|
|
|
183
194
|
> **Note**\
|
|
184
195
|
> 插件系统目前正在进行重大开发。您可以在以下 Issues 中了解更多信息:
|
|
@@ -205,17 +216,19 @@ LobeChat 提供了 Vercel 的 [自托管版本][deploy-url]。这使你可以在
|
|
|
205
216
|
|
|
206
217
|
## ⌨️ 本地开发
|
|
207
218
|
|
|
208
|
-
可以使用
|
|
219
|
+
可以使用 Github Codespaces 进行在线开发:
|
|
209
220
|
|
|
210
|
-
[![
|
|
221
|
+
[![][codespaces-shield]][codespaces-link]
|
|
211
222
|
|
|
212
223
|
或者使用以下命令进行本地开发:
|
|
213
224
|
|
|
225
|
+
[![][bun-shield]][bun-link]
|
|
226
|
+
|
|
214
227
|
```bash
|
|
215
228
|
$ git clone https://github.com/lobehub/lobe-chat.git
|
|
216
229
|
$ cd lobe-chat
|
|
217
|
-
$
|
|
218
|
-
$
|
|
230
|
+
$ bun install
|
|
231
|
+
$ bun run dev
|
|
219
232
|
```
|
|
220
233
|
|
|
221
234
|
<div align="right">
|
|
@@ -226,13 +239,13 @@ $ pnpm dev
|
|
|
226
239
|
|
|
227
240
|
## 🤝 参与贡献
|
|
228
241
|
|
|
229
|
-
我们非常欢迎各种形式的贡献。如果你对贡献代码感兴趣,可以查看我们的 GitHub [Issues][issues-
|
|
242
|
+
我们非常欢迎各种形式的贡献。如果你对贡献代码感兴趣,可以查看我们的 GitHub [Issues][github-issues-link] 和 [Projects][github-project-link],大展身手,向我们展示你的奇思妙想。
|
|
230
243
|
|
|
231
|
-
[![][pr-welcome-shield]][pr-welcome-
|
|
232
|
-
[![][submit-agents-shield]][submit-agents-
|
|
233
|
-
[![][submit-plugin-shield]][submit-plugin-
|
|
244
|
+
[![][pr-welcome-shield]][pr-welcome-link]
|
|
245
|
+
[![][submit-agents-shield]][submit-agents-link]
|
|
246
|
+
[![][submit-plugin-shield]][submit-plugin-link]
|
|
234
247
|
|
|
235
|
-
[![][contributors-contrib]][contributors-
|
|
248
|
+
[![][contributors-contrib]][contributors-link]
|
|
236
249
|
|
|
237
250
|
<div align="right">
|
|
238
251
|
|
|
@@ -256,66 +269,74 @@ $ pnpm dev
|
|
|
256
269
|
|
|
257
270
|
<details><summary><h4>📝 License</h4></summary>
|
|
258
271
|
|
|
259
|
-
[![][fossa-license-shield]][fossa-license-
|
|
272
|
+
[![][fossa-license-shield]][fossa-license-link]
|
|
260
273
|
|
|
261
274
|
</details>
|
|
262
275
|
|
|
263
|
-
Copyright © 2023 [LobeHub][profile-
|
|
276
|
+
Copyright © 2023 [LobeHub][profile-link]. <br />
|
|
264
277
|
This project is [MIT](./LICENSE) licensed.
|
|
265
278
|
|
|
266
279
|
<!-- LINK GROUP -->
|
|
267
280
|
|
|
268
281
|
[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square
|
|
282
|
+
[bun-link]: https://bun.sh
|
|
283
|
+
[bun-shield]: https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun&style=for-the-badge
|
|
269
284
|
[chat-plugin-realtime-weather]: https://github.com/lobehub/chat-plugin-realtime-weather
|
|
270
285
|
[chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
|
|
271
286
|
[chat-plugin-search-engine]: https://github.com/lobehub/chat-plugin-search-engine
|
|
272
287
|
[chat-plugin-web-crawler]: https://github.com/lobehub/chat-plugin-web-crawler
|
|
273
288
|
[chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
|
|
274
|
-
[
|
|
275
|
-
[
|
|
276
|
-
[ci-test-shield]: https://github.com/lobehub/lobe-chat/workflows/Test%20CI/badge.svg
|
|
277
|
-
[ci-test-url]: https://github.com/lobehub/lobe-chat/actions/workflows/test.yml
|
|
289
|
+
[codespaces-link]: https://codespaces.new/lobehub/lobe-chat
|
|
290
|
+
[codespaces-shield]: https://github.com/codespaces/badge.svg
|
|
278
291
|
[contributors-contrib]: https://contrib.rocks/image?repo=lobehub/lobe-chat
|
|
279
|
-
[contributors-
|
|
280
|
-
[contributors-url]: https://github.com/lobehub/lobe-chat/graphs/contributors
|
|
292
|
+
[contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
|
|
281
293
|
[deploy-button-image]: https://vercel.com/button
|
|
282
|
-
[deploy-
|
|
283
|
-
[discord-
|
|
284
|
-
[discord-
|
|
285
|
-
[
|
|
286
|
-
[
|
|
287
|
-
[
|
|
294
|
+
[deploy-link]: https://vercel.com/new/clone?repository-link=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat&env=OPENAI_API_KEY&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%20&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys&project-name=lobe-chat&repository-name=lobe-chat
|
|
295
|
+
[discord-link]: https://discord.gg/AYFPHvv2jT
|
|
296
|
+
[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=flat-square
|
|
297
|
+
[discord-shield-badge]: https://img.shields.io/discord/1127171173982154893?color=5865F2&label=discord&labelColor=black&logo=discord&logoColor=white&style=for-the-badge
|
|
298
|
+
[fc-link]: https://sspai.com/post/81986
|
|
299
|
+
[fossa-license-link]: https://app.fossa.com/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat
|
|
288
300
|
[fossa-license-shield]: https://app.fossa.com/api/projects/git%2Bgithub.com%2Flobehub%2Flobe-chat.svg?type=large
|
|
289
|
-
[
|
|
290
|
-
[
|
|
291
|
-
[
|
|
292
|
-
[
|
|
293
|
-
[
|
|
301
|
+
[github-action-release-link]: https://github.com/actions/workflows/lobehub/lobe-chat/release.yml
|
|
302
|
+
[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/release.yml?labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
|
303
|
+
[github-action-test-link]: https://github.com/actions/workflows/lobehub/lobe-chat/test.yml
|
|
304
|
+
[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-chat/test.yml?label=test&labelColor=black&logo=githubactions&logoColor=white&style=flat-square
|
|
305
|
+
[github-contributors-link]: https://github.com/lobehub/lobe-chat/graphs/contributors
|
|
306
|
+
[github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-chat?color=c4f042&labelColor=black&style=flat-square
|
|
307
|
+
[github-forks-link]: https://github.com/lobehub/lobe-chat/network/members
|
|
308
|
+
[github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-chat?color=8ae8ff&labelColor=black&style=flat-square
|
|
309
|
+
[github-issues-link]: https://github.com/lobehub/lobe-chat/issues
|
|
310
|
+
[github-issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-chat?color=ff80eb&labelColor=black&style=flat-square
|
|
311
|
+
[github-license-link]: https://github.com/lobehub/lobe-chat/blob/main/LICENSE
|
|
312
|
+
[github-license-shield]: https://img.shields.io/github/license/lobehub/lobe-chat?color=white&labelColor=black&style=flat-square
|
|
313
|
+
[github-project-link]: https://github.com/lobehub/lobe-chat/projects
|
|
314
|
+
[github-release-link]: https://github.com/lobehub/lobe-chat/releases
|
|
315
|
+
[github-release-shield]: https://img.shields.io/github/v/release/lobehub/lobe-chat?color=369eff&labelColor=black&logo=github&style=flat-square
|
|
316
|
+
[github-releasedate-link]: https://github.com/lobehub/lobe-chat/releases
|
|
317
|
+
[github-releasedate-shield]: https://img.shields.io/github/release-date/lobehub/lobe-chat?labelColor=black&style=flat-square
|
|
318
|
+
[github-stars-link]: https://github.com/lobehub/lobe-chat/network/stargazers
|
|
319
|
+
[github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat?color=ffcb47&labelColor=black&style=flat-square
|
|
320
|
+
[github-wiki-link]: https://github.com/lobehub/lobe-chat/wiki
|
|
321
|
+
[issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat
|
|
294
322
|
[lobe-assets-github]: https://github.com/lobehub/lobe-assets
|
|
295
323
|
[lobe-chat-plugins]: https://github.com/lobehub/lobe-chat-plugins
|
|
296
324
|
[lobe-commit]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-commit
|
|
297
325
|
[lobe-i18n]: https://github.com/lobehub/lobe-commit/tree/master/packages/lobe-i18n
|
|
298
326
|
[lobe-lint-github]: https://github.com/lobehub/lobe-lint
|
|
299
|
-
[lobe-lint-
|
|
300
|
-
[lobe-lint-
|
|
327
|
+
[lobe-lint-link]: https://www.npmjs.com/package/@lobehub/lint
|
|
328
|
+
[lobe-lint-shield]: https://img.shields.io/npm/v/@lobehub/lint?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
|
|
301
329
|
[lobe-theme]: https://github.com/lobehub/sd-webui-lobe-theme
|
|
302
330
|
[lobe-ui-github]: https://github.com/lobehub/lobe-ui
|
|
303
|
-
[lobe-ui-
|
|
304
|
-
[lobe-ui-
|
|
305
|
-
[
|
|
306
|
-
[
|
|
307
|
-
[
|
|
308
|
-
[
|
|
309
|
-
[
|
|
310
|
-
[
|
|
311
|
-
[
|
|
312
|
-
[
|
|
313
|
-
[
|
|
314
|
-
[
|
|
315
|
-
[stargazers-shield]: https://img.shields.io/github/stars/lobehub/lobe-chat.svg?style=flat
|
|
316
|
-
[stargazers-url]: https://github.com/lobehub/lobe-chat/stargazers
|
|
317
|
-
[submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-9DFF92?style=for-the-badge
|
|
318
|
-
[submit-agents-url]: https://github.com/lobehub/lobe-chat-agents
|
|
319
|
-
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-50E3C2?style=for-the-badge
|
|
320
|
-
[submit-plugin-url]: https://github.com/lobehub/lobe-chat-plugins
|
|
321
|
-
[wiki-url]: https://github.com/lobehub/lobe-chat/wiki
|
|
331
|
+
[lobe-ui-link]: https://www.npmjs.com/package/@lobehub/ui
|
|
332
|
+
[lobe-ui-shield]: https://img.shields.io/npm/v/@lobehub/ui?color=369eff&labelColor=black&logo=npm&logoColor=white&style=flat-square
|
|
333
|
+
[pr-welcome-link]: https://github.com/lobehub/lobe-chat/pulls
|
|
334
|
+
[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black&style=for-the-badge
|
|
335
|
+
[profile-link]: https://github.com/lobehub
|
|
336
|
+
[submit-agents-link]: https://github.com/lobehub/lobe-chat-agents
|
|
337
|
+
[submit-agents-shield]: https://img.shields.io/badge/🤖/🏪_submit_agent-%E2%86%92-c4f042?labelColor=black&style=for-the-badge
|
|
338
|
+
[submit-plugin-link]: https://github.com/lobehub/lobe-chat-plugins
|
|
339
|
+
[submit-plugin-shield]: https://img.shields.io/badge/🧩/🏪_submit_plugin-%E2%86%92-95f3d9?labelColor=black&style=for-the-badge
|
|
340
|
+
[vercel-link]: https://chat-preview.lobehub.com
|
|
341
|
+
[vercel-shield]: https://img.shields.io/website?down_message=offline&label=vercel&labelColor=black&logo=vercel&style=flat-square&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
|
|
342
|
+
[vercel-shield-badge]: https://img.shields.io/website?down_message=offline&label=try%20lobechat&labelColor=black&logo=vercel&style=for-the-badge&up_message=online&url=https%3A%2F%2Fchat-preview.lobehub.com
|
package/bun.lockb
CHANGED
|
Binary file
|