@lobehub/chat 0.120.2 → 0.120.3

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/README.md +47 -22
  3. package/README.zh-CN.md +53 -26
  4. package/docs/Deployment/Upstream-Sync.md +8 -2
  5. package/docs/Deployment/Upstream-Sync.zh-CN.md +9 -3
  6. package/docs/Development/Add-New-Locale.md +9 -1
  7. package/docs/Development/Add-New-Locale.zh-CN.md +9 -1
  8. package/docs/Development/Contributing-Guidelines.md +83 -0
  9. package/docs/Development/Contributing-Guidelines.zh-CN.md +13 -0
  10. package/docs/Development/Internationalization-Implementation.md +125 -0
  11. package/docs/Development/Internationalization-Implementation.zh-CN.md +9 -1
  12. package/docs/Development/State-Management/index.md +224 -0
  13. package/docs/Development/State-Management/index.zh-CN.md +25 -28
  14. package/docs/Home.md +9 -6
  15. package/docs/_Sidebar.md +9 -6
  16. package/locales/ar/common.json +1 -0
  17. package/locales/ar/setting.json +1 -3
  18. package/locales/de-DE/common.json +1 -0
  19. package/locales/de-DE/setting.json +1 -3
  20. package/locales/en-US/common.json +1 -0
  21. package/locales/en-US/setting.json +1 -3
  22. package/locales/es-ES/common.json +1 -0
  23. package/locales/es-ES/setting.json +1 -3
  24. package/locales/fr-FR/common.json +1 -0
  25. package/locales/fr-FR/setting.json +1 -3
  26. package/locales/it-IT/common.json +1 -0
  27. package/locales/it-IT/setting.json +1 -3
  28. package/locales/ja-JP/common.json +1 -0
  29. package/locales/ja-JP/setting.json +1 -3
  30. package/locales/ko-KR/common.json +1 -0
  31. package/locales/ko-KR/setting.json +1 -3
  32. package/locales/nl-NL/common.json +1 -0
  33. package/locales/nl-NL/setting.json +1 -3
  34. package/locales/pl-PL/common.json +1 -0
  35. package/locales/pl-PL/setting.json +1 -3
  36. package/locales/pt-BR/common.json +1 -0
  37. package/locales/pt-BR/setting.json +1 -3
  38. package/locales/ru-RU/common.json +1 -0
  39. package/locales/ru-RU/setting.json +1 -3
  40. package/locales/tr-TR/common.json +1 -0
  41. package/locales/tr-TR/setting.json +1 -3
  42. package/locales/vi-VN/common.json +1 -0
  43. package/locales/vi-VN/setting.json +1 -3
  44. package/locales/zh-CN/common.json +1 -0
  45. package/locales/zh-CN/setting.json +1 -3
  46. package/locales/zh-TW/common.json +1 -0
  47. package/locales/zh-TW/setting.json +1 -3
  48. package/next.config.mjs +2 -2
  49. package/package.json +6 -6
  50. package/scripts/docsWorkflow/const.ts +1 -1
  51. package/scripts/docsWorkflow/index.ts +9 -3
  52. package/scripts/readmeWorkflow/syncAgentIndex.ts +2 -2
  53. package/scripts/readmeWorkflow/syncPluginIndex.ts +2 -2
  54. package/src/app/chat/features/SessionListContent/List/Item/Actions.tsx +0 -2
  55. package/src/app/settings/common/Common.tsx +5 -6
  56. package/src/const/locale.ts +2 -2
  57. package/src/features/ChatInput/ActionBar/Clear.tsx +0 -2
  58. package/src/features/PluginDetailModal/index.tsx +0 -2
  59. package/src/features/PluginDevModal/index.tsx +0 -1
  60. package/src/layout/GlobalLayout/Locale.tsx +37 -10
  61. package/src/layout/GlobalLayout/index.tsx +1 -1
  62. package/src/locales/default/setting.ts +0 -2
  63. package/src/locales/resources.ts +9 -7
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 0.120.3](https://github.com/lobehub/lobe-chat/compare/v0.120.2...v0.120.3)
6
+
7
+ <sup>Released on **2024-01-19**</sup>
8
+
9
+ #### ♻ Code Refactoring
10
+
11
+ - **misc**: Refactor antd i18n and improve locale order.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Code refactoring
19
+
20
+ - **misc**: Refactor antd i18n and improve locale order, closes [#1103](https://github.com/lobehub/lobe-chat/issues/1103) [#1083](https://github.com/lobehub/lobe-chat/issues/1083) ([c89f527](https://github.com/lobehub/lobe-chat/commit/c89f527))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
5
30
  ### [Version 0.120.2](https://github.com/lobehub/lobe-chat/compare/v0.120.1...v0.120.2)
6
31
 
7
32
  <sup>Released on **2024-01-17**</sup>
package/README.md CHANGED
@@ -19,6 +19,7 @@ Supports one-click free deployment of your private ChatGPT/LLM web application.
19
19
  [![][docker-release-shield]][docker-release-link]
20
20
  [![][vercel-shield]][vercel-link]
21
21
  [![][discord-shield]][discord-link]<br/>
22
+ [![][codecov-shield]][codecov-link]
22
23
  [![][github-action-test-shield]][github-action-test-link]
23
24
  [![][github-action-release-shield]][github-action-release-link]
24
25
  [![][github-releasedate-shield]][github-releasedate-link]<br/>
@@ -72,7 +73,7 @@ Supports one-click free deployment of your private ChatGPT/LLM web application.
72
73
 
73
74
  ## 👋🏻 Getting Started & Join Our Community
74
75
 
75
- Please be aware that LobeChat is currently under active development, and feedback is welcome for any [issues][issues-link] encountered.
76
+ We are a group of e/acc design-engineers, hoping to provide modern design components and tools for AIGC. Whether for users or professional developers, LobeHub will be your AI Agent playground. Please be aware that LobeChat is currently under active development, and feedback is welcome for any [issues][issues-link] encountered.
76
77
 
77
78
  | [![][vercel-shield-badge]][vercel-link] | No installation or registration necessary! Visit our website to experience it firsthand. |
78
79
  | :---------------------------------------- | :----------------------------------------------------------------------------------------------------------------- |
@@ -142,9 +143,23 @@ Users can choose the voice that suits their personal preferences or specific sce
142
143
 
143
144
  </div>
144
145
 
146
+ ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png)
147
+
148
+ #### `3` Text to Image
149
+
150
+ With support for the latest text-to-image generation technology, LobeChat now allows users to invoke image creation tools directly within conversations with the agent. By leveraging the capabilities of AI tools such as [`DALL-E 3`](https://openai.com/dall-e-3), [`MidJourney`](https://www.midjourney.com/), and [`Pollinations`](https://pollinations.ai/), the agents are now equipped to transform your ideas into images.
151
+
152
+ This enables a more private and immersive creative process, allowing for the seamless integration of visual storytelling into your personal dialogue with the agent.
153
+
154
+ <div align="right">
155
+
156
+ [![][back-to-top]](#readme-top)
157
+
158
+ </div>
159
+
145
160
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png)
146
161
 
147
- #### `3` Function Calling Plugin System
162
+ #### `4` Function Calling Plugin System
148
163
 
149
164
  The plugin ecosystem of LobeChat is a significant extension of its core functionalities, greatly enhancing the practicality and flexibility of ChatGPT.
150
165
  By leveraging plugins, ChatGPT can perform real-time information retrieval and processing,
@@ -152,7 +167,7 @@ such as automatically fetching the latest news headlines to provide users with i
152
167
  Moreover, these plugins are not limited to news aggregation but can also extend to other practical functions, such as quick document retrieval,
153
168
  e-commerce platform data access, and various third-party services.
154
169
 
155
- [Learn More →](./docs/Usage/Plugins.md)
170
+ > Learn More in [📘 Plugin Usage](https://github.com/lobehub/lobe-chat/wiki/Plugins)
156
171
 
157
172
  <video controls src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" muted="false"></video>
158
173
 
@@ -169,14 +184,14 @@ e-commerce platform data access, and various third-party services.
169
184
 
170
185
  <!-- PLUGIN LIST -->
171
186
 
172
- | Recent Submits | Description |
173
- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
174
- | [TikZJax](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Arvin Xu** on **2024-01-14**</sup> | Convert LaTeX TikZ code into SVG images for crisp, scalable mathematical diagrams and visualizations.<br/>`latex` `svg` `visualization` `diagram` `math` |
175
- | [weather GPT](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Steven Tey** on **2023-12-16**</sup> | Get current weather information for a specific location.<br/>`weather` |
176
- | [Ask Your PDF](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **AskYourPDF** on **2023-12-16**</sup> | Unlock the power of your PDFs!, dive into your documents, find answers, and bring information to your fingertips.<br/>`pdf` `document` `web` |
177
- | [Clock Time](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-11-01**</sup> | Display a clock to show current time<br/>`clock` `time` |
187
+ | Recent Submits | Description |
188
+ | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
189
+ | [Midjourney](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-18**</sup> | Unleash creativity with Midjourney, effortlessly generating unique AI-driven images through simple prompts. Add visual flair to your conversations with Midjourney's artistic touch.<br/>`ai-image-generation` `midjourney` `visualization` |
190
+ | [GIF Search](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **giphy** on **2024-01-17**</sup> | Search through a wide range of gifs - Powered by Giphy.<br/>`gif` `image` `search` |
191
+ | [Asset Ovi](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **assetovi** on **2024-01-17**</sup> | Search and preview millions of 3D assets for games, AIGC, AR/VR and others.<br/>`3-d` `assets` `search` |
192
+ | [Astrodaily](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **360macky** on **2024-01-17**</sup> | Search and discover NASA images.<br/>`nasa` `search` `image` |
178
193
 
179
- > 📊 Total plugins: [<kbd>**10**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
194
+ > 📊 Total plugins: [<kbd>**21**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
180
195
 
181
196
  <!-- PLUGIN LIST -->
182
197
 
@@ -188,7 +203,7 @@ e-commerce platform data access, and various third-party services.
188
203
 
189
204
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png)
190
205
 
191
- #### `4` Agent Market
206
+ #### `5` Agent Market
192
207
 
193
208
  In the LobeChat Agent Marketplace, creators can discover a vibrant and innovative community that brings together a multitude of well-designed agents,
194
209
  which not only play an important role in work scenarios but also offer great convenience in learning processes.
@@ -208,14 +223,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
208
223
 
209
224
  <!-- AGENT LIST -->
210
225
 
211
- | Recent Submits | Description |
212
- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
213
- | [William](https://chat-preview.lobehub.com/market?agent=unreal-engine-development-engineer)<br/><sup>By **[Wutpeach](https://github.com/Wutpeach)** on **2024-01-16**</sup> | Unreal Engine expert, proficient in C++ programming, rendering, memory, thread and other pipeline architectures, UE application on Android platform, comprehensive artistic cognition, familiar with Shader writing, proficient in 3D art asset production process and tools.<br/>`unreal-engine` `c-programming` `rendering-pipeline` `memory-management` `thread-architecture` |
214
- | [Chad](https://chat-preview.lobehub.com/market?agent=chad)<br/><sup>By **[HerIsDia](https://github.com/HerIsDia)** on **2024-01-15**</sup> | Just chad<br/>`humor` `funny` |
215
- | [English Analyst](https://chat-preview.lobehub.com/market?agent=english-teacher)<br/><sup>By **[fmaxyou](https://github.com/fmaxyou)** on **2024-01-11**</sup> | Specializes in explaining and memorization techniques for English words and phrases<br/>`english-teaching` `explanation` `memorization-techniques` |
216
- | [Life Decision Advisor](https://chat-preview.lobehub.com/market?agent=life-decision-advisor)<br/><sup>By **[amitalokbera](https://github.com/amitalokbera)** on **2024-01-11**</sup> | A Life Decision Advisor is a virtual guide designed to assist users in making informed life decisions<br/>`prompt` |
226
+ | Recent Submits | Description |
227
+ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
228
+ | [Tech Explorer AI](https://chat-preview.lobehub.com/market?agent=tech-explorer-ai)<br/><sup>By **[110rever](https://github.com/110rever)** on **2024-01-19**</sup> | Technology exploration AI capability: - Conduct comprehensive technical research - Provide predictive insights based on statistical data and trend analysis - Optimize research methodology - Maintain data accuracy and completeness - Infer limitations in the absence of complete data: - Only answer questions related to technology - Do not provide general purchasing advice - Provide product technology discussion through step-by-step guidance User interaction: - Provide clear and concise dialogue - Provide multilingual options Support objective: To provide accurate information and analyze predictions to deepen the understanding of technology among users.<br/>`technical-research` `data-analysis` `research-methods` `data-accuracy` `inference` `user-interaction` |
229
+ | [AE Script Development Expert](https://chat-preview.lobehub.com/market?agent=ae-script-development)<br/><sup>By **[Wutpeach](https://github.com/Wutpeach)** on **2024-01-18**</sup> | An expert in AE script development, proficient in JavaScript programming, understanding of AE software principles, capable of debugging and optimizing scripts.<br/>`script-development` `programmer` `adobe-after-effects` `java-script` `algorithm-design` `debugging` `optimization` `coding-standards` `user-communication` `script-usage-instructions` |
230
+ | [Code Companion](https://chat-preview.lobehub.com/market?agent=code-companion)<br/><sup>By **[110rever](https://github.com/110rever)** on **2024-01-18**</sup> | The best companion for programmers<br/>`code` `dev` `program` |
231
+ | [William](https://chat-preview.lobehub.com/market?agent=unreal-engine-development-engineer)<br/><sup>By **[Wutpeach](https://github.com/Wutpeach)** on **2024-01-16**</sup> | Unreal Engine expert, proficient in C++ programming, rendering, memory, thread and other pipeline architectures, UE application on Android platform, comprehensive artistic cognition, familiar with Shader writing, proficient in 3D art asset production process and tools.<br/>`unreal-engine` `c-programming` `rendering-pipeline` `memory-management` `thread-architecture` |
217
232
 
218
- > 📊 Total agents: [<kbd>**98**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
233
+ > 📊 Total agents: [<kbd>**102**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
219
234
 
220
235
  <!-- AGENT LIST -->
221
236
 
@@ -227,7 +242,7 @@ Our marketplace is not just a showcase platform but also a collaborative space.
227
242
 
228
243
  ![](https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp)
229
244
 
230
- #### `5` Progress Web App
245
+ #### `6` Progress Web App
231
246
 
232
247
  We deeply understand the importance of providing a seamless experience for users in today's multi-device environment.
233
248
  Therefore, we have adopted Progressive Web Application ([PWA](https://support.google.com/chrome/answer/9658361)) technology,
@@ -254,7 +269,7 @@ providing smooth animations, responsive layouts, and adapting to different devic
254
269
 
255
270
  ![](https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp)
256
271
 
257
- #### `6` Mobile Device Adaptation
272
+ #### `7` Mobile Device Adaptation
258
273
 
259
274
  We have carried out a series of optimization designs for mobile devices to enhance the user's mobile experience. Currently, we are iterating on the mobile user experience to achieve smoother and more intuitive interactions. If you have any suggestions or ideas, we welcome you to provide feedback through GitHub Issues or Pull Requests.
260
275
 
@@ -266,7 +281,7 @@ We have carried out a series of optimization designs for mobile devices to enhan
266
281
 
267
282
  ![](https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp)
268
283
 
269
- #### `7` Theme Mode Selection
284
+ #### `8` Theme Mode Selection
270
285
 
271
286
  As a design-engineering-oriented application, LobeChat places great emphasis on users' personalized experiences,
272
287
  hence introducing flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
@@ -465,7 +480,7 @@ $ pnpm install
465
480
  $ pnpm dev
466
481
  ```
467
482
 
468
- If you would like to learn more details, please feel free to look at our [LobeChat Development Guide](https://github.com/lobehub/lobe-chat/wiki/index)
483
+ If you would like to learn more details, please feel free to look at our [📘 Development Guide](https://github.com/lobehub/lobe-chat/wiki/index)
469
484
 
470
485
  <div align="right">
471
486
 
@@ -477,6 +492,14 @@ If you would like to learn more details, please feel free to look at our [LobeCh
477
492
 
478
493
  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.
479
494
 
495
+ > \[!TIP]
496
+ >
497
+ > We are creating a technology-driven forum, fostering knowledge interaction and the exchange of ideas that may culminate in mutual inspiration and collaborative innovation.
498
+ >
499
+ > Help us make LobeChat better. Welcome to provide product design feedback, user experience discussions directly to us.
500
+ >
501
+ > **Principal Maintainers:** [@arvinxx](https://github.com/arvinxx) [@canisminor1990](https://github.com/canisminor1990)
502
+
480
503
  [![][pr-welcome-shield]][pr-welcome-link]
481
504
  [![][submit-agents-shield]][submit-agents-link]
482
505
  [![][submit-plugin-shield]][submit-plugin-link]
@@ -569,6 +592,8 @@ This project is [MIT](./LICENSE) licensed.
569
592
  [chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
570
593
  [chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
571
594
  [chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
595
+ [codecov-link]: https://codecov.io/gh/lobehub/lobe-chat
596
+ [codecov-shield]: https://img.shields.io/codecov/c/github/lobehub/lobe-chat?labelColor=black&style=flat-square&logo=codecov&logoColor=white
572
597
  [codespaces-link]: https://codespaces.new/lobehub/lobe-chat
573
598
  [codespaces-shield]: https://github.com/codespaces/badge.svg
574
599
  [deploy-button-image]: https://vercel.com/button
package/README.zh-CN.md CHANGED
@@ -18,6 +18,7 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
18
18
  [![][docker-release-shield]][docker-release-link]
19
19
  [![][vercel-shield]][vercel-link]
20
20
  [![][discord-shield]][discord-link]<br/>
21
+ [![][codecov-shield]][codecov-link]
21
22
  [![][github-action-test-shield]][github-action-test-link]
22
23
  [![][github-action-release-shield]][github-action-release-link]
23
24
  [![][github-releasedate-shield]][github-releasedate-link]<br/>
@@ -37,6 +38,8 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
37
38
  [![][share-weibo-shield]][share-weibo-link]
38
39
  [![][share-mastodon-shield]][share-mastodon-link]
39
40
 
41
+ <sup>探索私人生产力的未来。在个体崛起的时代中为你打造.</sup>
42
+
40
43
  ![](https://gw.alipayobjects.com/zos/kitchen/RKnWrrfuMl/welcome.webp)
41
44
 
42
45
  </div>
@@ -69,7 +72,8 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
69
72
 
70
73
  ## 👋🏻 开始使用 & 交流
71
74
 
72
- 我们是一群充满热情的设计工程师,希望为 AIGC 提供现代化的设计组件和工具,并以开源的方式分享,以促进它们在更广泛的社区中的发展和采用,LobeChat 目前正在积极开发中,有需求或者问题,欢迎提交 [issues][issues-link]
75
+ 我们是一群充满热情的设计工程师,希望为 AIGC 提供现代化的设计组件和工具,并以开源的方式分享。不论普通用户与专业开发者
76
+ LobeHub 旨在成为所有人的 AI Agent 实验场,LobeChat 目前正在积极开发中,有需求或者问题,欢迎提交 [issues][issues-link]
73
77
 
74
78
  | [![][vercel-shield-badge]][vercel-link] | 无需安装或注册!访问我们的网站,快速体验 |
75
79
  | :---------------------------------------- | :--------------------------------------------------------------------------- |
@@ -90,10 +94,10 @@ LobeChat 是开源的高性能聊天机器人框架,支持语音合成、多
90
94
 
91
95
  ## ✨ 特性一览
92
96
 
93
- #### `1` GPT 视觉认知
94
-
95
97
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072129-382bdf30-e3d6-4411-b5a0-249710b8ba08.png)
96
98
 
99
+ #### `1` GPT 视觉认知
100
+
97
101
  LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 支持视觉识别的模型,这是一个具备视觉识别能力的多模态智能。
98
102
  用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
99
103
 
@@ -105,10 +109,10 @@ LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.
105
109
 
106
110
  </div>
107
111
 
108
- #### `2` TTS & STT 语音会话
109
-
110
112
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/284072124-c9853d8d-f1b5-44a8-a305-45ebc0f6d19a.png)
111
113
 
114
+ #### `2` TTS & STT 语音会话
115
+
112
116
  LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Speech-to-Text,STT)技术,我们的应用能够将文本信息转化为清晰的语音输出,用户可以像与真人交谈一样与我们的对话代理进行交流。
113
117
  用户可以从多种声音中选择,给助手搭配合适的音源。 同时,对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说,TTS 提供了一个极佳的解决方案。
114
118
 
@@ -128,14 +132,28 @@ LobeChat 支持文字转语音(Text-to-Speech,TTS)和语音转文字(Spe
128
132
 
129
133
  </div>
130
134
 
135
+ ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/297746445-0ff762b9-aa08-4337-afb7-12f932b6efbb.png)
136
+
137
+ #### `3` Text to Image 文生图
138
+
139
+ 支持最新的文本到图片生成技术,LobeChat 现在能够让用户在与助手对话中直接调用文成图工具进行创作。
140
+ 通过利用 [`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/) 和 [`Pollinations`](https://pollinations.ai/) 等 AI 工具的能力, 助手们现在可以将你的想法转化为图像。
141
+ 同时可以更私密和沉浸式的完成你的创造过程。
142
+
143
+ <div align="right">
144
+
145
+ [![][back-to-top]](#readme-top)
146
+
147
+ </div>
148
+
131
149
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670883-33c43a5c-a512-467e-855c-fa299548cce5.png)
132
150
 
133
- #### `3` Function Calling 插件系统
151
+ #### `4` Function Calling 插件系统
134
152
 
135
153
  LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。通过利用插件,ChatGPT 能够实现实时信息的获取和处理,例如自动获取最新新闻头条,为用户提供即时且相关的资讯。
136
154
  此外,这些插件不仅局限于新闻聚合,还可以扩展到其他实用的功能,如快速检索文档、获取电商平台数据、以及其他各式各样的第三方服务。
137
155
 
138
- [了解更多 →](./docs/Usage/Plugins.zh-CN.md)
156
+ > 通过 Wiki 了解更多 [📘 插件使用](https://github.com/lobehub/lobe-chat/wiki/Plugins.zh-CN)
139
157
 
140
158
  <video controls src="https://github.com/lobehub/lobe-chat/assets/28616219/f29475a3-f346-4196-a435-41a6373ab9e2" muted="false"></video>
141
159
 
@@ -150,14 +168,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
150
168
 
151
169
  <!-- PLUGIN LIST -->
152
170
 
153
- | 最近新增 | 插件描述 |
154
- | --------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
155
- | [TikZJax](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Arvin Xu** on **2024-01-14**</sup> | 将 LaTeX TikZ 代码转换为 SVG 图像,用于创建清晰、可缩放的数学图表和可视化效果。<br/>`latex` `svg` `可视化` `图表` `数学` |
156
- | [天气 GPT](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Steven Tey** on **2023-12-16**</sup> | 获取特定位置的当前天气信息。<br/>`天气` |
157
- | [AskYouPDF](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **AskYourPDF** on **2023-12-16**</sup> | 释放您的 PDF 的力量!深入您的文档,找到答案,并将信息带到您的指尖。<br/>`pdf` `文档` `web` |
158
- | [时钟时间](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2023-11-01**</sup> | 显示一个时钟来展示当前时间<br/>`时钟` `时间` |
171
+ | 最近新增 | 插件描述 |
172
+ | -------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
173
+ | [Midjourney](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **LobeHub** on **2024-01-18**</sup> | 通过简单的提示轻松释放创造力,利用 Midjourney 生成独特的 AI 驱动图像。通过 Midjourney 的艺术触感为您的对话增添视觉魅力。<br/>`ai-image-generation` `midjourney` `visualization` |
174
+ | [GIF 搜索](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **giphy** on **2024-01-17**</sup> | 搜索各种各样的 GIF - 由 Giphy 提供动力。<br/>`gif` `图片` `搜索` |
175
+ | [Asset Ovi](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **assetovi** on **2024-01-17**</sup> | 搜索和预览数百万款用于游戏、AIGC、AR/VR 等领域的 3D 资产。<br/>`3-d` `资产` `搜索` |
176
+ | [Astrodaily](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **360macky** on **2024-01-17**</sup> | 搜索和发现 NASA 图像。<br/>`nasa` `搜索` `图像` |
159
177
 
160
- > 📊 Total plugins: [<kbd>**10**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
178
+ > 📊 Total plugins: [<kbd>**21**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
161
179
 
162
180
  <!-- PLUGIN LIST -->
163
181
 
@@ -169,7 +187,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
169
187
 
170
188
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/268670869-f1ffbf66-42b6-42cf-a937-9ce1f8328514.png)
171
189
 
172
- #### `4` 助手市场
190
+ #### `5` 助手市场
173
191
 
174
192
  在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。
175
193
  我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
@@ -185,14 +203,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
185
203
 
186
204
  <!-- AGENT LIST -->
187
205
 
188
- | 最近新增 | 助手说明 |
189
- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
190
- | [William](https://chat-preview.lobehub.com/market?agent=unreal-engine-development-engineer)<br/><sup>By **[Wutpeach](https://github.com/Wutpeach)** on **2024-01-16**</sup> | 虚幻引擎专家,精通 C++ 编程,渲染、内存、线程等管线架构,UE 在安卓平台应用,全面的美术认知,熟悉 Shader 编写,熟练掌握 3D 美术资产制作流程与工具。<br/>`虚幻引擎` `c-编程` `渲染管线` `内存管理` `线程架构` |
191
- | [乍得](https://chat-preview.lobehub.com/market?agent=chad)<br/><sup>By **[HerIsDia](https://github.com/HerIsDia)** on **2024-01-15**</sup> | 只是乍得<br/>`幽默` `搞笑` |
192
- | [英语解析师](https://chat-preview.lobehub.com/market?agent=english-teacher)<br/><sup>By **[fmaxyou](https://github.com/fmaxyou)** on **2024-01-11**</sup> | 擅长英语单词和短语解释与记忆技巧<br/>`英语教学` `解释` `记忆技巧` |
193
- | [生活决策顾问](https://chat-preview.lobehub.com/market?agent=life-decision-advisor)<br/><sup>By **[amitalokbera](https://github.com/amitalokbera)** on **2024-01-11**</sup> | 生活决策顾问是一个虚拟指南,旨在帮助用户做出明智的生活决策<br/>`提示` |
206
+ | 最近新增 | 助手说明 |
207
+ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
208
+ | [Tech Explorer AI](https://chat-preview.lobehub.com/market?agent=tech-explorer-ai)<br/><sup>By **[110rever](https://github.com/110rever)** on **2024-01-19**</sup> | 技术探索人工智能能力:- 进行全面的技术研究 - 基于统计数据和趋势分析提供预测性见解 - 优化研究方法论 - 保持数据准确性和完整性 - 推断在没有完整数据的情况下的局限性:- 仅回答与技术相关的问题 - 不提供一般性的购买建议 - 通过逐步指导提供产品技术讨论用户交互:- 提供清晰简洁的对话 - 提供多语言选项支持目标:为用户提供准确的信息并分析预测,以加深他们对技术的理解。<br/>`技术研究` `数据分析` `研究方法` `数据准确性` `推断` `用户交互` |
209
+ | [AE 脚本开发专家](https://chat-preview.lobehub.com/market?agent=ae-script-development)<br/><sup>By **[Wutpeach](https://github.com/Wutpeach)** on **2024-01-18**</sup> | AE 脚本开发专家,精通 JavaScript 编程,理解 AE 软件工作原理,能够调试和优化脚本。<br/>`脚本开发` `程序员` `adobe-after-effects` `java-script` `算法设计` `调试` `优化` `编程规范` `用户沟通` `脚本使用说明` |
210
+ | [Code Companion](https://chat-preview.lobehub.com/market?agent=code-companion)<br/><sup>By **[110rever](https://github.com/110rever)** on **2024-01-18**</sup> | 程序员的最佳伴侣<br/>`code` `dev` `program` |
211
+ | [William](https://chat-preview.lobehub.com/market?agent=unreal-engine-development-engineer)<br/><sup>By **[Wutpeach](https://github.com/Wutpeach)** on **2024-01-16**</sup> | 虚幻引擎专家,精通 C++ 编程,渲染、内存、线程等管线架构,UE 在安卓平台应用,全面的美术认知,熟悉 Shader 编写,熟练掌握 3D 美术资产制作流程与工具。<br/>`虚幻引擎` `c-编程` `渲染管线` `内存管理` `线程架构` |
194
212
 
195
- > 📊 Total agents: [<kbd>**98**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
213
+ > 📊 Total agents: [<kbd>**102**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
196
214
 
197
215
  <!-- AGENT LIST -->
198
216
 
@@ -204,7 +222,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
204
222
 
205
223
  ![](https://gw.alipayobjects.com/zos/kitchen/69x6bllkX3/pwa.webp)
206
224
 
207
- #### `5` PWA 渐进式 Web 应用
225
+ #### `6` PWA 渐进式 Web 应用
208
226
 
209
227
  我们利深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,
210
228
  这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWA,LobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。
@@ -227,7 +245,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
227
245
 
228
246
  ![](https://gw.alipayobjects.com/zos/kitchen/R441AuFS4W/mobile.webp)
229
247
 
230
- #### `6` 移动设备适配
248
+ #### `7` 移动设备适配
231
249
 
232
250
  针对移动设备进行了一系列的优化设计,以提升用户的移动体验。目前,我们正在对移动端的用户体验进行版本迭代,以实现更加流畅和直观的交互。如果您有任何建议或想法,我们非常欢迎您通过 GitHub Issues 或者 Pull Requests 提供反馈。
233
251
 
@@ -239,7 +257,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
239
257
 
240
258
  ![](https://gw.alipayobjects.com/zos/kitchen/pvus1lo%26Z7/darkmode.webp)
241
259
 
242
- #### `7` 主题模式选择
260
+ #### `8` 自定义主题
243
261
 
244
262
  作为设计工程师出身 LobeChat 在界面设计上十分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
245
263
  除了主题模式的切换,提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
@@ -479,7 +497,7 @@ $ pnpm install
479
497
  $ pnpm run dev
480
498
  ```
481
499
 
482
- 如果你希望了解更多详情,欢迎可以查阅我们的 [LobeChat 开发指南](https://github.com/lobehub/lobe-chat/wiki/index.zh-CN)
500
+ 如果你希望了解更多详情,欢迎可以查阅我们的 [📘 开发指南](https://github.com/lobehub/lobe-chat/wiki/index.zh-CN)
483
501
 
484
502
  <div align="right">
485
503
 
@@ -491,6 +509,13 @@ $ pnpm run dev
491
509
 
492
510
  我们非常欢迎各种形式的贡献。如果你对贡献代码感兴趣,可以查看我们的 GitHub [Issues][github-issues-link] 和 [Projects][github-project-link],大展身手,向我们展示你的奇思妙想。
493
511
 
512
+ > \[!TIP]
513
+ >
514
+ > 我们希望创建一个技术分享型社区,一个可以促进知识共享、想法交流,激发彼此鼓励和协作的环境。
515
+ > 同时欢迎联系我们提供产品功能和使用体验反馈,帮助我们将 LobeChat 建设得更好。
516
+ >
517
+ > **组织维护者:** [@arvinxx](https://github.com/arvinxx) [@canisminor1990](https://github.com/canisminor1990)
518
+
494
519
  [![][pr-welcome-shield]][pr-welcome-link]
495
520
  [![][submit-agents-shield]][submit-agents-link]
496
521
  [![][submit-plugin-shield]][submit-plugin-link]
@@ -583,6 +608,8 @@ This project is [MIT](./LICENSE) licensed.
583
608
  [chat-plugin-sdk]: https://github.com/lobehub/chat-plugin-sdk
584
609
  [chat-plugin-template]: https://github.com/lobehub/chat-plugin-template
585
610
  [chat-plugins-gateway]: https://github.com/lobehub/chat-plugins-gateway
611
+ [codecov-link]: https://codecov.io/gh/lobehub/lobe-chat
612
+ [codecov-shield]: https://img.shields.io/codecov/c/github/lobehub/lobe-chat?labelColor=black&style=flat-square&logo=codecov&logoColor=white
586
613
  [codespaces-link]: https://codespaces.new/lobehub/lobe-chat
587
614
  [codespaces-shield]: https://github.com/codespaces/badge.svg
588
615
  [deploy-button-image]: https://vercel.com/button
@@ -1,6 +1,12 @@
1
1
  # Upstream Sync
2
2
 
3
- # A. Vercel / Zeabur Deployment
3
+ ## TOC
4
+
5
+ - [`A` Vercel / Zeabur Deployment](#a-vercel--zeabur-deployment)
6
+ - [Enabling Automatic Updates](#enabling-automatic-updates)
7
+ - [`B` Docker Deployment](#b-docker-deployment)
8
+
9
+ ## `A` Vercel / Zeabur Deployment
4
10
 
5
11
  If you have deployed your own project following the one-click deployment steps in the README, you might encounter constant prompts indicating "updates available". This is because Vercel defaults to creating a new project instead of forking this one, resulting in an inability to accurately detect updates. We suggest you redeploy using the following steps:
6
12
 
@@ -19,7 +25,7 @@ Once you have forked the project, due to Github restrictions, you will need to m
19
25
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/266985117-4d48fe7b-0412-4667-8129-b25ebcf2c9de.png)
20
26
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/266985177-7677b4ce-c348-4145-9f60-829d448d5be6.png)
21
27
 
22
- # B. Docker Deployment
28
+ ## `B` Docker Deployment
23
29
 
24
30
  Upgrading the Docker deployment version is very simple, just redeploy the latest image of LobeChat. Here are the instructions to perform these steps:
25
31
 
@@ -1,6 +1,12 @@
1
1
  # 自部署保持更新
2
2
 
3
- # `A` Vercel / Zeabur 部署
3
+ ## TOC
4
+
5
+ - [`A` Vercel\`\` / Zeabur 部署](#a-vercel--zeabur-部署)
6
+ - [启动自动更新](#启动自动更新)
7
+ - [`B` Docker 部署](#b-docker-部署)
8
+
9
+ ## `A` Vercel\`\` / Zeabur 部署
4
10
 
5
11
  如果你根据 README 中的一键部署步骤部署了自己的项目,你可能会发现总是被提示 “有可用更新”。这是因为 Vercel 默认为你创建新项目而非 fork 本项目,这将导致无法准确检测更新。我们建议按照以下步骤重新部署:
6
12
 
@@ -8,7 +14,7 @@
8
14
  - 使用页面右上角的 <kbd>Fork</kbd> 按钮,Fork 本项目;
9
15
  - 在 `Vercel` 上重新选择并部署。
10
16
 
11
- ## 启动自动更新
17
+ ### 启动自动更新
12
18
 
13
19
  > \[!NOTE]
14
20
  >
@@ -19,7 +25,7 @@
19
25
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/266985117-4d48fe7b-0412-4667-8129-b25ebcf2c9de.png)
20
26
  ![](https://github-production-user-asset-6210df.s3.amazonaws.com/17870709/266985177-7677b4ce-c348-4145-9f60-829d448d5be6.png)
21
27
 
22
- # `B` Docker 部署
28
+ ## `B` Docker 部署
23
29
 
24
30
  Docker 部署版本的升级非常简单,只需要重新部署 LobeChat 的最新镜像即可。 以下是执行这些步骤所需的指令:
25
31
 
@@ -1,7 +1,15 @@
1
- # LobeChat New Locale Guide
1
+ # New Locale Guide
2
2
 
3
3
  LobeChat uses [lobe-i18n](https://github.com/lobehub/lobe-cli-toolbox/tree/master/packages/lobe-i18n) as the i18n solution, which allows for quick addition of new language support in the application.
4
4
 
5
+ ## TOC
6
+
7
+ - [Adding New Language Support](#adding-new-language-support)
8
+ - [Step 1: Update the Internationalization Configuration File](#step-1-update-the-internationalization-configuration-file)
9
+ - [Step 2: Automatically Translate Language Files](#step-2-automatically-translate-language-files)
10
+ - [Step 3: Submit and Review Your Changes](#step-3-submit-and-review-your-changes)
11
+ - [Additional Information](#additional-information)
12
+
5
13
  ## Adding New Language Support
6
14
 
7
15
  To add new language internationalization support in LobeChat (for example, adding Vietnamese `vi-VN`), please follow the steps below:
@@ -1,7 +1,15 @@
1
- # LobeChat 新语种添加指南
1
+ # 新语种添加指南
2
2
 
3
3
  LobeChat 使用 [lobe-i18n](https://github.com/lobehub/lobe-cli-toolbox/tree/master/packages/lobe-i18n) 作为 i18n 解决方案,可以在应用中快速添加新的语言支持。
4
4
 
5
+ ## TOC
6
+
7
+ - [添加新的语言支持](#添加新的语言支持)
8
+ - [步骤 1: 更新国际化配置文件](#步骤-1-更新国际化配置文件)
9
+ - [步骤 2: 自动翻译语言文件](#步骤-2-自动翻译语言文件)
10
+ - [步骤 3: 提交和审查你的更改](#步骤-3-提交和审查你的更改)
11
+ - [附加信息](#附加信息)
12
+
5
13
  ## 添加新的语言支持
6
14
 
7
15
  为了在 LobeChat 中添加新的语言国际化支持,(例如添加越南语 `vi-VN`),请按照以下步骤操作:
@@ -0,0 +1,83 @@
1
+ # Code Style and Contribution Guidelines
2
+
3
+ Welcome to the Code Style and Contribution Guidelines for LobeChat. This guide will help you understand our code standards and contribution process, ensuring code consistency and smooth project progression.
4
+
5
+ ## TOC
6
+
7
+ - [Code Style](#code-style)
8
+ - [ESLint](#eslint)
9
+ - [Prettier](#prettier)
10
+ - [remarklint](#remarklint)
11
+ - [stylelint](#stylelint)
12
+ - [Contribution Process](#contribution-process)
13
+ - [Gitmoji](#gitmoji)
14
+ - [Semantic Release](#semantic-release)
15
+ - [Commitlint](#commitlint)
16
+ - [How to Contribute](#how-to-contribute)
17
+
18
+ ## Code Style
19
+
20
+ In LobeChat, we use the `@lobehub/lint` package to maintain a unified code style. This package incorporates configurations for `ESLint`, `Prettier`, `remarklint`, and `stylelint` to ensure that our JavaScript, Markdown, and CSS files adhere to the same coding standards.
21
+
22
+ ### ESLint
23
+
24
+ We use ESLint to check for issues in our JavaScript code. You can find the `.eslintrc.js` file in the project's root directory, which contains our extensions and custom rules for the ESLint configuration of `@lobehub/lint`.
25
+
26
+ To ensure your code aligns with the project's standards, run ESLint before committing your code.
27
+
28
+ ### Prettier
29
+
30
+ Prettier is responsible for code formatting to maintain consistency. Our Prettier configuration can be found in `.prettierrc.js`, imported from `@lobehub/lint`.
31
+
32
+ It's recommended to configure your editor to run Prettier automatically upon saving files or manually run it before committing.
33
+
34
+ ### remarklint
35
+
36
+ For Markdown files, we use remarklint to ensure consistent document formatting. You can find the corresponding configuration file in the project.
37
+
38
+ ### stylelint
39
+
40
+ We utilize stylelint to standardize the style of our CSS code. In the configuration file for stylelint, we have made some custom rule adjustments based on `@lobehub/lint` configuration.
41
+
42
+ Ensure that your style code passes stylelint checks before committing.
43
+
44
+ ## Contribution Process
45
+
46
+ LobeChat follows the gitmoji and semantic release as our code submission and release process.
47
+
48
+ ### Gitmoji
49
+
50
+ When committing code, please use gitmoji to label your commit messages. This helps other contributors quickly understand the content and purpose of your submission.
51
+
52
+ Gitmoji commit messages use specific emojis to represent the type or intent of the commit. Here's an example:
53
+
54
+ ```
55
+ 📝 Update README with contribution guidelines
56
+
57
+ - Added section about code style preferences
58
+ - Included instructions for running tests
59
+ - Corrected typos and improved formatting
60
+ ```
61
+
62
+ In this example, the 📝 emoji represents a documentation update. The commit message clearly describes the changes and provides specific details.
63
+
64
+ ### Semantic Release
65
+
66
+ We use semantic release to automate version control and release processes. Ensure that your commit messages adhere to the semantic release specifications so that when the code is merged into the main branch, the system can automatically create a new version and release it.
67
+
68
+ ### Commitlint
69
+
70
+ To ensure consistency in commit messages, we use `commitlint` to check the format of commit messages. You can find the relevant rules in the `.commitlintrc.js` configuration file.
71
+
72
+ Before committing your code, ensure that your commit messages adhere to our standards.
73
+
74
+ ### How to Contribute
75
+
76
+ 1. Fork the project to your account.
77
+ 2. Create a new branch for development.
78
+ 3. After completing the development, ensure that your code passes the aforementioned code style checks.
79
+ 4. Commit your changes and use appropriate gitmoji to label your commit message.
80
+ 5. Create a Pull Request to the main branch of the original project.
81
+ 6. Await code review and make necessary modifications based on feedback.
82
+
83
+ Thank you for following these guidelines, as they help us maintain the quality and consistency of the project. We look forward to your contributions!
@@ -2,6 +2,19 @@
2
2
 
3
3
  欢迎来到 LobeChat 的代码风格与贡献指南。本指南将帮助您理解我们的代码规范和贡献流程,确保代码的一致性和项目的顺利进行。
4
4
 
5
+ ## TOC
6
+
7
+ - [代码风格](#代码风格)
8
+ - [ESLint](#eslint)
9
+ - [Prettier](#prettier)
10
+ - [remarklint](#remarklint)
11
+ - [stylelint](#stylelint)
12
+ - [贡献流程](#贡献流程)
13
+ - [Gitmoji](#gitmoji)
14
+ - [Semantic Release](#semantic-release)
15
+ - [Commitlint](#commitlint)
16
+ - [如何贡献](#如何贡献)
17
+
5
18
  ## 代码风格
6
19
 
7
20
  在 LobeChat 中,我们使用 `@lobehub/lint` 程序包来统一代码风格。该程序包内置了 `ESLint`、`Prettier`、`remarklint` 和 `stylelint` 的配置,以确保我们的 JavaScript、Markdown 和 CSS 文件遵循相同的编码标准。