🐛 fix: fix locale hydration error in SSR (#8365)

* fix locale

* update readme

* Update README.zh-CN.md

* update readme

* update README

* fix locales

* add docs
This commit is contained in:
Arvin Xu
2025-07-10 09:46:30 +08:00
committed by GitHub
parent 160678e7e0
commit 63f482a132
14 changed files with 577 additions and 72 deletions

122
README.md
View File

@@ -52,22 +52,26 @@ One-click **FREE** deployment of your private OpenAI ChatGPT/Claude/Gemini/Groq/
- [👋🏻 Getting Started & Join Our Community](#-getting-started--join-our-community)
- [✨ Features](#-features)
- [`1` Chain of Thought](#1-chain-of-thought)
- [`2` Branching Conversations](#2-branching-conversations)
- [`3` Artifacts Support](#3-artifacts-support)
- [`4` File Upload /Knowledge Base](#4-file-upload-knowledge-base)
- [`5` Multi-Model Service Provider Support](#5-multi-model-service-provider-support)
- [`6` Local Large Language Model (LLM) Support](#6-local-large-language-model-llm-support)
- [`7` Model Visual Recognition](#7-model-visual-recognition)
- [`8` TTS & STT Voice Conversation](#8-tts--stt-voice-conversation)
- [`9` Text to Image Generation](#9-text-to-image-generation)
- [`10` Plugin System (Function Calling)](#10-plugin-system-function-calling)
- [`11` Agent Market (GPTs)](#11-agent-market-gpts)
- [`12` Support Local / Remote Database](#12-support-local--remote-database)
- [`13` Support Multi-User Management](#13-support-multi-user-management)
- [`14` Progressive Web App (PWA)](#14-progressive-web-app-pwa)
- [`15` Mobile Device Adaptation](#15-mobile-device-adaptation)
- [`16` Custom Themes](#16-custom-themes)
- [✨ MCP Plugin One-Click Installation](#-mcp-plugin-one-click-installation)
- [🏪 MCP Marketplace](#-mcp-marketplace)
- [🖥️ Desktop App](#-desktop-app)
- [🌐 Smart Internet Search](#-smart-internet-search)
- [Chain of Thought](#chain-of-thought)
- [Branching Conversations](#branching-conversations)
- [Artifacts Support](#artifacts-support)
- [File Upload /Knowledge Base](#file-upload-knowledge-base)
- [Multi-Model Service Provider Support](#multi-model-service-provider-support)
- [Local Large Language Model (LLM) Support](#local-large-language-model-llm-support)
- [Model Visual Recognition](#model-visual-recognition)
- [TTS & STT Voice Conversation](#tts--stt-voice-conversation)
- [Text to Image Generation](#text-to-image-generation)
- [Plugin System (Function Calling)](#plugin-system-function-calling)
- [Agent Market (GPTs)](#agent-market-gpts)
- [Support Local / Remote Database](#support-local--remote-database)
- [Support Multi-User Management](#support-multi-user-management)
- [Progressive Web App (PWA)](#progressive-web-app-pwa)
- [Mobile Device Adaptation](#mobile-device-adaptation)
- [Custom Themes](#custom-themes)
- [`*` What's more](#-whats-more)
- [⚡️ Performance](#-performance)
- [🛳 Self Hosting](#-self-hosting)
@@ -114,9 +118,59 @@ Whether for users or professional developers, LobeHub will be your AI Agent play
## ✨ Features
Transform your AI experience with LobeChat's powerful features designed for seamless connectivity, enhanced productivity, and unlimited creativity.
![][image-feat-mcp]
### ✨ MCP Plugin One-Click Installation
**Seamlessly Connect Your AI to the World**
Unlock the full potential of your AI by enabling smooth, secure, and dynamic interactions with external tools, data sources, and services. LobeChat's MCP (Model Context Protocol) plugin system breaks down the barriers between your AI and the digital ecosystem, allowing for unprecedented connectivity and functionality.
Transform your conversations into powerful workflows by connecting to databases, APIs, file systems, and more. Experience the freedom of AI that truly understands and interacts with your world.
[![][back-to-top]](#readme-top)
![][image-feat-mcp-market]
### 🏪 MCP Marketplace
**Discover, Connect, Extend**
Browse a growing library of MCP plugins to expand your AI's capabilities and streamline your workflows effortlessly. Visit [lobehub.com/mcp](https://lobehub.com/mcp) to explore the MCP Marketplace, which offers a curated collection of integrations that enhance your AI's ability to work with various tools and services.
From productivity tools to development environments, discover new ways to extend your AI's reach and effectiveness. Connect with the community and find the perfect plugins for your specific needs.
[![][back-to-top]](#readme-top)
![][image-feat-desktop]
### 🖥️ Desktop App
**Peak Performance, Zero Distractions**
Get the full LobeChat experience without browser limitations—lightweight, focused, and always ready to go. Our desktop application provides a dedicated environment for your AI interactions, ensuring optimal performance and minimal distractions.
Experience faster response times, better resource management, and a more stable connection to your AI assistant. The desktop app is designed for users who demand the best performance from their AI tools.
[![][back-to-top]](#readme-top)
![][image-feat-web-search]
### 🌐 Smart Internet Search
**Online Knowledge On Demand**
With real-time internet access, your AI keeps up with the world—news, data, trends, and more. Stay informed and get the most current information available, enabling your AI to provide accurate and up-to-date responses.
Access live information, verify facts, and explore current events without leaving your conversation. Your AI becomes a gateway to the world's knowledge, always current and comprehensive.
[![][back-to-top]](#readme-top)
[![][image-feat-cot]][docs-feat-cot]
### `1` [Chain of Thought][docs-feat-cot]
### [Chain of Thought][docs-feat-cot]
Experience AI reasoning like never before. Watch as complex problems unfold step by step through our innovative Chain of Thought (CoT) visualization. This breakthrough feature provides unprecedented transparency into AI's decision-making process, allowing you to observe how conclusions are reached in real-time.
@@ -126,7 +180,7 @@ By breaking down complex reasoning into clear, logical steps, you can better und
[![][image-feat-branch]][docs-feat-branch]
### `2` [Branching Conversations][docs-feat-branch]
### [Branching Conversations][docs-feat-branch]
Introducing a more natural and flexible way to chat with AI. With Branch Conversations, your discussions can flow in multiple directions, just like human conversations do. Create new conversation branches from any message, giving you the freedom to explore different paths while preserving the original context.
@@ -141,7 +195,7 @@ This groundbreaking feature transforms linear conversations into dynamic, tree-l
[![][image-feat-artifacts]][docs-feat-artifacts]
### `3` [Artifacts Support][docs-feat-artifacts]
### [Artifacts Support][docs-feat-artifacts]
Experience the power of Claude Artifacts, now integrated into LobeChat. This revolutionary feature expands the boundaries of AI-human interaction, enabling real-time creation and visualization of diverse content formats.
@@ -155,7 +209,7 @@ Create and visualize with unprecedented flexibility:
[![][image-feat-knowledgebase]][docs-feat-knowledgebase]
### `4` [File Upload /Knowledge Base][docs-feat-knowledgebase]
### [File Upload /Knowledge Base][docs-feat-knowledgebase]
LobeChat supports file upload and knowledge base functionality. You can upload various types of files including documents, images, audio, and video, as well as create knowledge bases, making it convenient for users to manage and search for files. Additionally, you can utilize files and knowledge base features during conversations, enabling a richer dialogue experience.
@@ -173,7 +227,7 @@ LobeChat supports file upload and knowledge base functionality. You can upload v
[![][image-feat-privoder]][docs-feat-provider]
### `5` [Multi-Model Service Provider Support][docs-feat-provider]
### [Multi-Model Service Provider Support][docs-feat-provider]
In the continuous development of LobeChat, we deeply understand the importance of diversity in model service providers for meeting the needs of the community when providing AI conversation services. Therefore, we have expanded our support to multiple model service providers, rather than being limited to a single one, in order to offer users a more diverse and rich selection of conversations.
@@ -246,7 +300,7 @@ At the same time, we are also planning to support more model service providers.
[![][image-feat-local]][docs-feat-local]
### `6` [Local Large Language Model (LLM) Support][docs-feat-local]
### [Local Large Language Model (LLM) Support][docs-feat-local]
To meet the specific needs of users, LobeChat also supports the use of local models based on [Ollama](https://ollama.ai), allowing users to flexibly use their own or third-party models.
@@ -262,7 +316,7 @@ To meet the specific needs of users, LobeChat also supports the use of local mod
[![][image-feat-vision]][docs-feat-vision]
### `7` [Model Visual Recognition][docs-feat-vision]
### [Model Visual Recognition][docs-feat-vision]
LobeChat now supports OpenAI's latest [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) model with visual recognition capabilities,
a multimodal intelligence that can perceive visuals. Users can easily upload or drag and drop images into the dialogue box,
@@ -280,7 +334,7 @@ Whether it's sharing images in daily use or interpreting images within specific
[![][image-feat-tts]][docs-feat-tts]
### `8` [TTS & STT Voice Conversation][docs-feat-tts]
### [TTS & STT Voice Conversation][docs-feat-tts]
LobeChat supports Text-to-Speech (TTS) and Speech-to-Text (STT) technologies, enabling our application to convert text messages into clear voice outputs,
allowing users to interact with our conversational agent as if they were talking to a real person. Users can choose from a variety of voices to pair with the agent.
@@ -297,7 +351,7 @@ Users can choose the voice that suits their personal preferences or specific sce
[![][image-feat-t2i]][docs-feat-t2i]
### `9` [Text to Image Generation][docs-feat-t2i]
### [Text to Image Generation][docs-feat-t2i]
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.
@@ -311,7 +365,7 @@ This enables a more private and immersive creative process, allowing for the sea
[![][image-feat-plugin]][docs-feat-plugin]
### `10` [Plugin System (Function Calling)][docs-feat-plugin]
### [Plugin System (Function Calling)][docs-feat-plugin]
The plugin ecosystem of LobeChat is an important extension of its core functionality, greatly enhancing the practicality and flexibility of the LobeChat assistant.
@@ -346,7 +400,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
[![][image-feat-agent]][docs-feat-agent]
### `11` [Agent Market (GPTs)][docs-feat-agent]
### [Agent Market (GPTs)][docs-feat-agent]
In LobeChat Agent Marketplace, creators can discover a vibrant and innovative community that brings together a multitude of well-designed agents,
which not only play an important role in work scenarios but also offer great convenience in learning processes.
@@ -385,7 +439,7 @@ Our marketplace is not just a showcase platform but also a collaborative space.
[![][image-feat-database]][docs-feat-database]
### `12` [Support Local / Remote Database][docs-feat-database]
### [Support Local / Remote Database][docs-feat-database]
LobeChat supports the use of both server-side and local databases. Depending on your needs, you can choose the appropriate deployment solution:
@@ -402,7 +456,7 @@ Regardless of which database you choose, LobeChat can provide you with an excell
[![][image-feat-auth]][docs-feat-auth]
### `13` [Support Multi-User Management][docs-feat-auth]
### [Support Multi-User Management][docs-feat-auth]
LobeChat supports multi-user management and provides two main user authentication and management solutions to meet different needs:
@@ -420,7 +474,7 @@ Regardless of which user management solution you choose, LobeChat can provide yo
[![][image-feat-pwa]][docs-feat-pwa]
### `14` [Progressive Web App (PWA)][docs-feat-pwa]
### [Progressive Web App (PWA)][docs-feat-pwa]
We deeply understand the importance of providing a seamless experience for users in today's multi-device environment.
Therefore, we have adopted Progressive Web Application ([PWA](https://support.google.com/chrome/answer/9658361)) technology,
@@ -447,7 +501,7 @@ providing smooth animations, responsive layouts, and adapting to different devic
[![][image-feat-mobile]][docs-feat-mobile]
### `15` [Mobile Device Adaptation][docs-feat-mobile]
### [Mobile Device Adaptation][docs-feat-mobile]
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.
@@ -459,7 +513,7 @@ We have carried out a series of optimization designs for mobile devices to enhan
[![][image-feat-theme]][docs-feat-theme]
### `16` [Custom Themes][docs-feat-theme]
### [Custom Themes][docs-feat-theme]
As a design-engineering-oriented application, LobeChat places great emphasis on users' personalized experiences,
hence introducing flexible and diverse theme modes, including a light mode for daytime and a dark mode for nighttime.
@@ -858,8 +912,11 @@ This project is [Apache 2.0](./LICENSE) licensed.
[image-feat-branch]: https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41
[image-feat-cot]: https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e
[image-feat-database]: https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d
[image-feat-desktop]: https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96
[image-feat-knowledgebase]: https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae
[image-feat-local]: https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850
[image-feat-mcp]: https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995
[image-feat-mcp-market]: https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0
[image-feat-mobile]: https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380
[image-feat-plugin]: https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b
[image-feat-privoder]: https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821
@@ -868,6 +925,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[image-feat-theme]: https://github.com/user-attachments/assets/b47c39f1-806f-492b-8fcb-b0fa973937c1
[image-feat-tts]: https://github.com/user-attachments/assets/50189597-2cc3-4002-b4c8-756a52ad5c0a
[image-feat-vision]: https://github.com/user-attachments/assets/18574a1f-46c2-4cbc-af2c-35a86e128a07
[image-feat-web-search]: https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad
[image-overview]: https://github.com/user-attachments/assets/dbfaa84a-2c82-4dd9-815c-5be616f264a4
[image-star]: https://github.com/user-attachments/assets/c3b482e7-cef5-4e94-bef9-226900ecfaab
[issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat

View File

@@ -52,22 +52,26 @@
- [👋🏻 开始使用 & 交流](#-开始使用--交流)
- [✨ 特性一览](#-特性一览)
- [`1` 思维链 (CoT)](#1-思维链-cot)
- [`2` 分支对话](#2-分支对话)
- [`3` 支持白板 (Artifacts)](#3-支持白板-artifacts)
- [`4` 文件上传 / 知识库](#4-文件上传--知识库)
- [`5` 多模型服务商支持](#5-多模型服务商支持)
- [`6` 支持本地大语言模型 (LLM)](#6-支持本地大语言模型-llm)
- [`7` 模型视觉识别 (Model Visual)](#7-模型视觉识别-model-visual)
- [`8` TTS & STT 语音会话](#8-tts--stt-语音会话)
- [`9` Text to Image 文生图](#9-text-to-image-文生图)
- [`10` 插件系统 (Tools Calling)](#10-插件系统-tools-calling)
- [`11` 助手市场 (GPTs)](#11-助手市场-gpts)
- [`12` 支持本地 / 远程数据库](#12-支持本地--远程数据库)
- [`13` 支持多用户管理](#13-支持多用户管理)
- [`14` 渐进式 Web 应用 (PWA)](#14-渐进式-web-应用-pwa)
- [`15` 移动设备适配](#15-移动设备适配)
- [`16` 自定义主题](#16-自定义主题)
- [✨ MCP 插件一键安装](#-mcp-插件一键安装)
- [🏪 MCP 市场](#-mcp-市场)
- [🖥️ 桌面应用](#-桌面应用)
- [🌐 智能联网搜索](#-智能联网搜索)
- [思维链 (CoT)](#思维链-cot)
- [分支对话](#分支对话)
- [支持白板 (Artifacts)](#支持白板-artifacts)
- [文件上传 / 知识库](#文件上传--知识库)
- [多模型服务商支持](#多模型服务商支持)
- [支持本地大语言模型 (LLM)](#支持本地大语言模型-llm)
- [模型视觉识别 (Model Visual)](#模型视觉识别-model-visual)
- [TTS & STT 语音会话](#tts--stt-语音会话)
- [Text to Image 文生图](#text-to-image-文生图)
- [插件系统 (Tools Calling)](#插件系统-tools-calling)
- [助手市场 (GPTs)](#助手市场-gpts)
- [支持本地 / 远程数据库](#支持本地--远程数据库)
- [支持多用户管理](#支持多用户管理)
- [渐进式 Web 应用 (PWA)](#渐进式-web-应用-pwa)
- [移动设备适配](#移动设备适配)
- [自定义主题](#自定义主题)
- [`*` 更多特性](#-更多特性)
- [⚡️ 性能测试](#-性能测试)
- [🛳 开箱即用](#-开箱即用)
@@ -114,9 +118,59 @@
## ✨ 特性一览
通过 LobeChat 的强大功能,体验为无缝连接、提升效率和无限创意而设计的全新 AI 体验。
### ✨ MCP 插件一键安装
[![](https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995)](https://lobehub.com/mcp)
**无缝连接你的 AI 与世界**
通过启用与外部工具、数据源和服务的平滑、安全和动态交互,释放你的 AI 的全部潜力。基于 MCP模型上下文协议的插件系统打破了 AI 与数字生态系统之间的壁垒,实现了前所未有的连接性和功能性。
将对话转化为强大的工作流程连接数据库、API、文件系统等。体验真正理解并与你的世界互动的 AI Agent。
[![][back-to-top]](#readme-top)
### 🏪 MCP 市场
![][image-feat-mcp-market]
**发现、连接、扩展**
浏览不断增长的 MCP 插件库,轻松扩展你的 AI 能力并简化工作流程。访问 [lobehub.com/mcp](https://lobehub.com/mcp) 探索 MCP 市场,提供精选的集成集合,增强你的 AI 与各种工具和服务协作的能力。
从生产力工具到开发环境,发现扩展 AI 覆盖范围和效率的新方式。与社区连接,找到满足特定需求的完美插件。
[![][back-to-top]](#readme-top)
### 🖥️ 桌面应用
![][image-feat-desktop]
**巅峰性能,零干扰**
获得完整的 LobeChat 体验,摆脱浏览器限制 —— 轻量级、专注且随时就绪。我们的桌面应用程序为你的 AI 交互提供专用环境,确保最佳性能和最小干扰。
体验更快的响应时间、更好的资源管理和与 AI 助手的更稳定连接。桌面应用专为要求 AI 工具最佳性能的用户设计。
[![][back-to-top]](#readme-top)
### 🌐 智能联网搜索
![][image-feat-web-search]
**在线知识,按需获取**
通过实时联网访问,你的 AI 与世界保持同步 —— 新闻、数据、趋势等。保持信息更新,获取最新可用信息,使你的 AI 能够提供准确和最新的回复。
访问实时信息,验证事实,探索当前事件,无需离开对话。你的 AI 成为通向世界知识的门户,始终保持最新和全面。
[![][back-to-top]](#readme-top)
[![][image-feat-cot]][docs-feat-cot]
### `1` [思维链 (CoT)][docs-feat-cot]
### [思维链 (CoT)][docs-feat-cot]
体验前所未有的 AI 推理过程。通过创新的思维链CoT可视化功能您可以实时观察复杂问题是如何一步步被解析的。这项突破性的功能为 AI 的决策过程提供了前所未有的透明度,让您能够清晰地了解结论是如何得出的。
@@ -126,7 +180,7 @@
[![][image-feat-branch]][docs-feat-branch]
### `2` [分支对话][docs-feat-branch]
### [分支对话][docs-feat-branch]
为您带来更自然、更灵活的 AI 对话方式。通过分支对话功能,您的讨论可以像人类对话一样自然延伸。在任意消息处创建新的对话分支,让您在保留原有上下文的同时,自由探索不同的对话方向。
@@ -141,7 +195,7 @@
[![][image-feat-artifacts]][docs-feat-artifacts]
### `3` [支持白板 (Artifacts)][docs-feat-artifacts]
### [支持白板 (Artifacts)][docs-feat-artifacts]
体验集成于 LobeChat 的 Claude Artifacts 能力。这项革命性功能突破了 AI 人机交互的边界,让您能够实时创建和可视化各种格式的内容。
@@ -155,7 +209,7 @@
[![][image-feat-knowledgebase]][docs-feat-knowledgebase]
### `4` [文件上传 / 知识库][docs-feat-knowledgebase]
### [文件上传 / 知识库][docs-feat-knowledgebase]
LobeChat 支持文件上传与知识库功能,你可以上传文件、图片、音频、视频等多种类型的文件,以及创建知识库,方便用户管理和查找文件。同时在对话中使用文件和知识库功能,实现更加丰富的对话体验。
@@ -173,7 +227,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
[![][image-feat-privoder]][docs-feat-provider]
### `5` [多模型服务商支持][docs-feat-provider]
### [多模型服务商支持][docs-feat-provider]
在 LobeChat 的不断发展过程中,我们深刻理解到在提供 AI 会话服务时模型服务商的多样性对于满足社区需求的重要性。因此,我们不再局限于单一的模型服务商,而是拓展了对多种模型服务商的支持,以便为用户提供更为丰富和多样化的会话选择。
@@ -246,7 +300,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
[![][image-feat-local]][docs-feat-local]
### `6` [支持本地大语言模型 (LLM)][docs-feat-local]
### [支持本地大语言模型 (LLM)][docs-feat-local]
为了满足特定用户的需求LobeChat 还基于 [Ollama](https://ollama.ai) 支持了本地模型的使用,让用户能够更灵活地使用自己的或第三方的模型。
@@ -262,7 +316,7 @@ LobeChat 支持文件上传与知识库功能,你可以上传文件、图片
[![][image-feat-vision]][docs-feat-vision]
### `7` [模型视觉识别 (Model Visual)][docs-feat-vision]
### [模型视觉识别 (Model Visual)][docs-feat-vision]
LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.com/docs/guides/vision) 支持视觉识别的模型,这是一个具备视觉识别能力的多模态应用。
用户可以轻松上传图片或者拖拽图片到对话框中,助手将能够识别图片内容,并在此基础上进行智能对话,构建更智能、更多元化的聊天场景。
@@ -277,7 +331,7 @@ LobeChat 已经支持 OpenAI 最新的 [`gpt-4-vision`](https://platform.openai.
[![][image-feat-tts]][docs-feat-tts]
### `8` [TTS & STT 语音会话][docs-feat-tts]
### [TTS & STT 语音会话][docs-feat-tts]
LobeChat 支持文字转语音Text-to-SpeechTTS和语音转文字Speech-to-TextSTT技术这使得我们的应用能够将文本信息转化为清晰的语音输出用户可以像与真人交谈一样与我们的对话助手进行交流。
用户可以从多种声音中选择,给助手搭配合适的音源。 同时对于那些倾向于听觉学习或者想要在忙碌中获取信息的用户来说TTS 提供了一个极佳的解决方案。
@@ -292,7 +346,7 @@ LobeChat 支持文字转语音Text-to-SpeechTTS和语音转文字Spe
[![][image-feat-t2i]][docs-feat-t2i]
### `9` [Text to Image 文生图][docs-feat-t2i]
### [Text to Image 文生图][docs-feat-t2i]
支持最新的文本到图片生成技术LobeChat 现在能够让用户在与助手对话中直接调用文生图工具进行创作。
通过利用 [`DALL-E 3`](https://openai.com/dall-e-3)、[`MidJourney`](https://www.midjourney.com/) 和 [`Pollinations`](https://pollinations.ai/) 等 AI 工具的能力, 助手们现在可以将你的想法转化为图像。
@@ -306,7 +360,7 @@ LobeChat 支持文字转语音Text-to-SpeechTTS和语音转文字Spe
[![][image-feat-plugin]][docs-feat-plugin]
### `10` [插件系统 (Tools Calling)][docs-feat-plugin]
### [插件系统 (Tools Calling)][docs-feat-plugin]
LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地增强了 ChatGPT 的实用性和灵活性。
@@ -339,7 +393,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
[![][image-feat-agent]][docs-feat-agent]
### `11` [助手市场 (GPTs)][docs-feat-agent]
### [助手市场 (GPTs)][docs-feat-agent]
在 LobeChat 的助手市场中,创作者们可以发现一个充满活力和创新的社区,它汇聚了众多精心设计的助手,这些助手不仅在工作场景中发挥着重要作用,也在学习过程中提供了极大的便利。
我们的市场不仅是一个展示平台,更是一个协作的空间。在这里,每个人都可以贡献自己的智慧,分享个人开发的助手。
@@ -374,7 +428,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
[![][image-feat-database]][docs-feat-database]
### `12` [支持本地 / 远程数据库][docs-feat-database]
### [支持本地 / 远程数据库][docs-feat-database]
LobeChat 支持同时使用服务端数据库和本地数据库。根据您的需求,您可以选择合适的部署方案:
@@ -391,7 +445,7 @@ LobeChat 支持同时使用服务端数据库和本地数据库。根据您的
[![][image-feat-auth]][docs-feat-auth]
### `13` [支持多用户管理][docs-feat-auth]
### [支持多用户管理][docs-feat-auth]
LobeChat 支持多用户管理,提供了两种主要的用户认证和管理方案,以满足不同需求:
@@ -409,7 +463,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-pwa]][docs-feat-pwa]
### `14` [渐进式 Web 应用 (PWA)][docs-feat-pwa]
### [渐进式 Web 应用 (PWA)][docs-feat-pwa]
我们深知在当今多设备环境下为用户提供无缝体验的重要性。为此,我们采用了渐进式 Web 应用 [PWA](https://support.google.com/chrome/answer/9658361) 技术,
这是一种能够将网页应用提升至接近原生应用体验的现代 Web 技术。通过 PWALobeChat 能够在桌面和移动设备上提供高度优化的用户体验,同时保持轻量级和高性能的特点。
@@ -422,7 +476,6 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
> - 在电脑上运行 Chrome 或 Edge 浏览器 .
> - 访问 LobeChat 网页 .
> - 在地址栏的右上角,单击 <kbd>安装</kbd> 图标 .
> - 根据屏幕上的指示完成 PWA 的安装 .
<div align="right">
@@ -432,7 +485,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-mobile]][docs-feat-mobile]
### `15` [移动设备适配][docs-feat-mobile]
### [移动设备适配][docs-feat-mobile]
针对移动设备进行了一系列的优化设计,以提升用户的移动体验。目前,我们正在对移动端的用户体验进行版本迭代,以实现更加流畅和直观的交互。如果您有任何建议或想法,我们非常欢迎您通过 GitHub Issues 或者 Pull Requests 提供反馈。
@@ -444,7 +497,7 @@ LobeChat 支持多用户管理,提供了两种主要的用户认证和管理
[![][image-feat-theme]][docs-feat-theme]
### `16` [自定义主题][docs-feat-theme]
### [自定义主题][docs-feat-theme]
作为设计工程师出身LobeChat 在界面设计上充分考虑用户的个性化体验,因此引入了灵活多变的主题模式,其中包括日间的亮色模式和夜间的深色模式。
除了主题模式的切换,还提供了一系列的颜色定制选项,允许用户根据自己的喜好来调整应用的主题色彩。无论是想要沉稳的深蓝,还是希望活泼的桃粉,或者是专业的灰白,用户都能够在 LobeChat 中找到匹配自己风格的颜色选择。
@@ -531,7 +584,7 @@ LobeChat 提供了 Vercel 的 自托管版本 和 [Docker 镜像][docker-release
#### 保持更新
如果你根据 README 中的一键部署步骤部署了自己的项目,你可能会发现总是被提示 有可用更新。这是因为 Vercel 默认为你创建新项目而非 fork 本项目,这将导致无法准确检测更新。
如果你根据 README 中的一键部署步骤部署了自己的项目,你可能会发现总是被提示 "有可用更新"。这是因为 Vercel 默认为你创建新项目而非 fork 本项目,这将导致无法准确检测更新。
> \[!TIP]
>
@@ -880,8 +933,10 @@ This project is [Apache 2.0](./LICENSE) licensed.
[image-feat-branch]: https://github.com/user-attachments/assets/92f72082-02bd-4835-9c54-b089aad7fd41
[image-feat-cot]: https://github.com/user-attachments/assets/f74f1139-d115-4e9c-8c43-040a53797a5e
[image-feat-database]: https://github.com/user-attachments/assets/f1697c8b-d1fb-4dac-ba05-153c6295d91d
[image-feat-desktop]: https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96
[image-feat-knowledgebase]: https://github.com/user-attachments/assets/7da7a3b2-92fd-4630-9f4e-8560c74955ae
[image-feat-local]: https://github.com/user-attachments/assets/1239da50-d832-4632-a7ef-bd754c0f3850
[image-feat-mcp-market]: https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0
[image-feat-mobile]: https://github.com/user-attachments/assets/32cf43c4-96bd-4a4c-bfb6-59acde6fe380
[image-feat-plugin]: https://github.com/user-attachments/assets/66a891ac-01b6-4e3f-b978-2eb07b489b1b
[image-feat-privoder]: https://github.com/user-attachments/assets/e553e407-42de-4919-977d-7dbfcf44a821
@@ -890,6 +945,7 @@ This project is [Apache 2.0](./LICENSE) licensed.
[image-feat-theme]: https://github.com/user-attachments/assets/b47c39f1-806f-492b-8fcb-b0fa973937c1
[image-feat-tts]: https://github.com/user-attachments/assets/50189597-2cc3-4002-b4c8-756a52ad5c0a
[image-feat-vision]: https://github.com/user-attachments/assets/18574a1f-46c2-4cbc-af2c-35a86e128a07
[image-feat-web-search]: https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad
[image-overview]: https://github.com/user-attachments/assets/dbfaa84a-2c82-4dd9-815c-5be616f264a4
[image-star]: https://github.com/user-attachments/assets/c3b482e7-cef5-4e94-bef9-226900ecfaab
[issues-link]: https://img.shields.io/github/issues/lobehub/lobe-chat.svg?style=flat

View File

@@ -0,0 +1,53 @@
---
title: LobeChat Desktop Application
description: >-
Experience the full power of LobeChat without browser limitations. A
lightweight, focused, and always-ready desktop app offering a dedicated
environment and optimal performance.
tags:
- Desktop Application
- Native App
- Performance Optimization
- Dedicated Environment
- Offline Use
- System Integration
- User Experience
---
# Desktop Application
<Image alt={'Desktop Application'} borderless cover src={'https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96'}> />
**Peak Performance, Zero Distractions**
Unlock the full LobeChat experience without the constraints of a browser — lightweight, focused, and always ready. Our desktop application provides a dedicated environment for your AI interactions, ensuring optimal performance with minimal distractions.
Enjoy faster response times, better resource management, and a more stable connection to your AI assistant. The desktop app is designed for users who demand the best performance from their AI tools.
## Why Choose the Desktop Application
### 🚀 Superior Performance
<Callout type={'tip'}>
The desktop app delivers faster response times and a smoother user experience compared to the browser version.
</Callout>
- **Dedicated Process**: Runs independently, free from browser limitations
- **Memory Optimization**: More efficient memory management and resource allocation
- **GPU Acceleration**: Fully leverages hardware acceleration capabilities
- **Low Latency**: Reduces network delays and page load times
### 🎯 Focused Experience
- **Distraction-Free Environment**: Eliminates interruptions from browser tabs, bookmarks bar, and more
- **Full-Screen Mode**: Supports immersive, full-screen usage
- **Quick Launch**: Auto-start on boot, ready whenever you are
- **Keyboard Shortcuts**: Extensive shortcut support to boost productivity
### 🔒 Secure and Reliable
- **Local Storage**: Data securely stored locally for enhanced privacy
- **Offline Capability**: Partial functionality available offline
- **Automatic Updates**: Always up to date without manual intervention
- **Data Backup**: Comprehensive data backup and recovery features

View File

@@ -0,0 +1,49 @@
---
title: LobeChat 桌面应用
description: 获得完整的 LobeChat 体验,摆脱浏览器限制。轻量级、专注且随时就绪的桌面应用,提供专用环境和最佳性能。
tags:
- 桌面应用
- 原生应用
- 性能优化
- 专用环境
- 离线使用
- 系统集成
- 用户体验
---
# 桌面应用
<Image alt={'桌面应用'} borderless cover src={'https://github.com/user-attachments/assets/a7bac8d3-ea96-4000-bb39-fadc9b610f96'} />
**巅峰性能,零干扰**
获得完整的 LobeChat 体验,摆脱浏览器限制 —— 轻量级、专注且随时就绪。我们的桌面应用程序为你的 AI 交互提供专用环境,确保最佳性能和最小干扰。
体验更快的响应时间、更好的资源管理和与 AI 助手的更稳定连接。桌面应用专为要求 AI 工具最佳性能的用户设计。
## 为什么选择桌面应用
### 🚀 卓越性能
<Callout type={'tip'}>
桌面应用提供比浏览器版本更快的响应速度和更流畅的用户体验。
</Callout>
- **专用进程**:独立运行,不受浏览器限制
- **内存优化**:更高效的内存管理和资源分配
- **GPU 加速**:充分利用硬件加速能力
- **低延迟**:减少网络延迟和页面加载时间
### 🎯 专注体验
- **无干扰环境**:摆脱浏览器标签页、书签栏等干扰
- **全屏模式**:支持全屏和沉浸式体验
- **快速启动**:开机自启动,随时可用
- **键盘快捷键**:丰富的快捷键支持,提高操作效率
### 🔒 安全可靠
- **本地存储**:数据安全存储在本地,隐私保护更好
- **离线能力**:部分功能支持离线使用
- **自动更新**:无需手动更新,始终保持最新版本
- **数据备份**:完整的数据备份和恢复功能

View File

@@ -0,0 +1,26 @@
---
title: 'MCP Marketplace - Discover, Connect, Expand'
description: >-
Browse the ever-growing MCP plugin library to effortlessly enhance your AI
capabilities and streamline workflows. Explore the MCP Marketplace to find
curated collections of integrations.
tags:
- MCP Marketplace
- Plugin Library
- Integrations
- Extensions
- Workflows
- Community
- Developers
---
# MCP Marketplace
<Image alt={'MCP Marketplace'} borderless cover src={'https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0'}> />
**Discover, Connect, Expand**
Browse the ever-growing MCP plugin library to effortlessly enhance your AI capabilities and streamline your workflows. Visit [lobehub.com/mcp](https://lobehub.com/mcp) to explore the MCP Marketplace, featuring curated collections of integrations that empower your AI to collaborate seamlessly with a variety of tools and services.
From productivity tools to development environments, discover new ways to extend AIs reach and efficiency. Connect with the community to find the perfect plugin tailored to your specific needs.

View File

@@ -0,0 +1,22 @@
---
title: MCP 市场 - 发现、连接、扩展
description: 浏览不断增长的 MCP 插件库,轻松扩展你的 AI 能力并简化工作流程。探索 MCP 市场,发现精选的集成集合。
tags:
- MCP 市场
- 插件库
- 集成
- 扩展
- 工作流程
- 社区
- 开发者
---
# MCP 市场
<Image alt={'MCP 市场'} borderless cover src={'https://github.com/user-attachments/assets/bb114f9f-24c5-4000-a984-c10d187da5a0'} />
**发现、连接、扩展**
浏览不断增长的 MCP 插件库,轻松扩展你的 AI 能力并简化工作流程。访问 [lobehub.com/mcp](https://lobehub.com/mcp) 探索 MCP 市场,提供精选的集成集合,增强你的 AI 与各种工具和服务协作的能力。
从生产力工具到开发环境,发现扩展 AI 覆盖范围和效率的新方式。与社区连接,找到满足特定需求的完美插件。

View File

@@ -0,0 +1,58 @@
---
title: MCP Plugin One-Click Installation - Seamlessly Connect AI with the World
description: >-
Unlock the full potential of AI through the MCP (Model Context Protocol)
plugin system, enabling smooth, secure, and dynamic interactions with external
tools, data sources, and services.
tags:
- MCP
- Model Context Protocol
- Plugin System
- One-Click Installation
- Tool Integration
- Workflow
- External Services
---
# MCP Plugin One-Click Installation
<Image alt={'MCP Plugin One-Click Installation'} borderless cover src={'https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995'}> />
**Seamlessly Connect Your AI with the World**
Unlock the full potential of your AI by enabling smooth, secure, and dynamic interactions with external tools, data sources, and services. The MCP (Model Context Protocol)-based plugin system breaks down barriers between AI and the digital ecosystem, delivering unprecedented connectivity and functionality.
Transform conversations into powerful workflows by connecting databases, APIs, file systems, and more. Experience an AI Agent that truly understands and interacts with your world.
## What is MCP (Model Context Protocol)?
MCP (Model Context Protocol) is an open protocol standard that provides AI models with a standardized way to access and interact with external resources. Through MCP, AI assistants can:
- 🔗 **Secure Connections**: Establish secure links with various tools and services
- 🔄 **Dynamic Interaction**: Retrieve and update external data in real time
- 🛡️ **Permission Control**: Manage access rights with fine-grained precision
- 📊 **Context Awareness**: Maintain rich conversational context information
## Key Features
### 🚀 One-Click Installation Experience
<Callout type={'tip'}>
No complicated setup required—installing and configuring MCP plugins takes just a few clicks.
</Callout>
- **Rapid Deployment**: From discovery to use in under one minute
- **Automatic Configuration**: The system handles connection and permission settings automatically
- **Instant Activation**: Ready to use in conversations immediately after installation
### 🔌 Extensive Connectivity
MCP plugins support connections to a wide variety of external resources:
- **Databases**: MySQL, PostgreSQL, MongoDB, and more
- **API Services**: REST APIs, GraphQL, WebSocket
- **File Systems**: Local files, cloud storage, version control
- **Development Tools**: GitHub, GitLab, Jira, Slack
- **Office Suites**: Google Workspace, Microsoft 365
- **Professional Tools**: Docker, Kubernetes, Jenkins

View File

@@ -0,0 +1,54 @@
---
title: MCP 插件一键安装 - 无缝连接 AI 与世界
description: 通过 MCP模型上下文协议插件系统释放 AI 的全部潜力,实现与外部工具、数据源和服务的平滑、安全和动态交互。
tags:
- MCP
- 模型上下文协议
- 插件系统
- 一键安装
- 工具集成
- 工作流程
- 外部服务
---
# MCP 插件一键安装
<Image alt={'MCP 插件一键安装'} borderless cover src={'https://github.com/user-attachments/assets/1be85d36-3975-4413-931f-27e05e440995'} />
**无缝连接你的 AI 与世界**
通过启用与外部工具、数据源和服务的平滑、安全和动态交互,释放你的 AI 的全部潜力。基于 MCP模型上下文协议的插件系统打破了 AI 与数字生态系统之间的壁垒,实现了前所未有的连接性和功能性。
将对话转化为强大的工作流程连接数据库、API、文件系统等。体验真正理解并与你的世界互动的 AI Agent。
## 什么是 MCP模型上下文协议
MCPModel Context Protocol是一个开放的协议标准它为 AI 模型提供了一个标准化的方式来访问和交互外部资源。通过 MCPAI 助手可以:
- 🔗 **安全连接**:与各种工具和服务建立安全的连接
- 🔄 **动态交互**:实时获取和更新外部数据
- 🛡️ **权限控制**:精细化的访问权限管理
- 📊 **上下文感知**:维护丰富的对话上下文信息
## 主要特性
### 🚀 一键式安装体验
<Callout type={'tip'}>
无需复杂的配置过程,只需几次点击即可完成 MCP 插件的安装和配置。
</Callout>
- **快速部署**:从发现到使用,整个过程不超过 1 分钟
- **自动配置**:系统自动处理连接和权限设置
- **即时生效**:安装完成后立即可在对话中使用
### 🔌 广泛的连接能力
MCP 插件支持连接各种类型的外部资源:
- **数据库**MySQL、PostgreSQL、MongoDB 等
- **API 服务**REST API、GraphQL、WebSocket
- **文件系统**:本地文件、云存储、版本控制
- **开发工具**GitHub、GitLab、Jira、Slack
- **办公软件**Google Workspace、Microsoft 365
- **专业工具**Docker、Kubernetes、Jenkins

View File

@@ -0,0 +1,56 @@
---
title: 'Intelligent Connected Search - Online Knowledge, On Demand'
description: >-
Stay synchronized with the world through real-time online access. Obtain the
latest information, verify facts, and explore current events without leaving
the conversation.
tags:
- Connected Search
- Real-time Information
- Search Engines
- Information Retrieval
- Fact Verification
- Real-time Data
- Knowledge Updates
---
# Intelligent Connected Search
<Image alt={'Intelligent Connected Search'} borderless cover src={'https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad'}> />
**Online Knowledge, On Demand**
Stay in sync with the world through real-time online access — news, data, trends, and more. Keep your information up to date and access the latest available data, enabling your AI to provide accurate and current responses.
Access real-time information, verify facts, and explore ongoing events without leaving the conversation. Your AI becomes a gateway to the worlds knowledge, always up-to-date and comprehensive.
## Features Overview
### 🌐 Real-Time Information Access
<Callout type={'tip'}>
Intelligent Connected Search empowers AI to access the latest internet information, ensuring accuracy and timeliness in responses.
</Callout>
- **Breaking News**: Get the latest news reports and event updates
- **Market Data**: Real-time stock prices, exchange rates, cryptocurrency values
- **Weather Information**: Global weather forecasts and meteorological data
- **Traffic Conditions**: Live traffic updates and road status
- **Sports Events**: Match results, schedules, and statistics
### 🔍 Multi-Source Search Engines
Supports multiple search engines to ensure comprehensive and accurate information:
- **Google**: The worlds largest search engine
- **Bing**: Microsofts search engine
- **DuckDuckGo**: Privacy-focused search engine
### 📊 Structured Data Retrieval
- **Academic Papers**: Access academic databases and journals
- **Technical Documentation**: Obtain the latest technical documents and API references
- **Statistical Data**: Government statistics, survey reports, market research
- **Product Information**: Product details and reviews from e-commerce platforms
- **Laws and Regulations**: Latest legal texts and policy interpretations

View File

@@ -0,0 +1,52 @@
---
title: 智能联网搜索 - 在线知识,按需获取
description: 通过实时联网访问,你的 AI 与世界保持同步。获取最新信息,验证事实,探索当前事件,无需离开对话。
tags:
- 联网搜索
- 实时信息
- 搜索引擎
- 信息获取
- 事实验证
- 实时数据
- 知识更新
---
# 智能联网搜索
<Image alt={'智能联网搜索'} borderless cover src={'https://github.com/user-attachments/assets/cfdc48ac-b5f8-4a00-acee-db8f2eba09ad'} />
**在线知识,按需获取**
通过实时联网访问,你的 AI 与世界保持同步 —— 新闻、数据、趋势等。保持信息更新,获取最新可用信息,使你的 AI 能够提供准确和最新的回复。
访问实时信息,验证事实,探索当前事件,无需离开对话。你的 AI 成为通向世界知识的门户,始终保持最新和全面。
## 功能概述
### 🌐 实时信息获取
<Callout type={'tip'}>
智能联网搜索让 AI 能够访问最新的互联网信息,确保回答的准确性和时效性。
</Callout>
- **实时新闻**:获取最新的新闻报道和事件动态
- **市场数据**:实时股价、汇率、加密货币价格
- **天气信息**:全球天气预报和气象数据
- **交通状况**:实时路况和交通信息
- **体育赛事**:比赛结果、赛程和统计数据
### 🔍 多源搜索引擎
支持多个搜索引擎,确保信息的全面性和准确性:
- **Google**:全球最大的搜索引擎
- **Bing**Microsoft 搜索引擎
- **DuckDuckGo**:注重隐私的搜索引擎
### 📊 结构化数据获取
- **学术论文**:访问学术数据库和期刊
- **技术文档**:获取最新的技术文档和 API 资料
- **统计数据**:政府统计、调查报告、市场研究
- **产品信息**:电商平台的产品详情和评价
- **法律法规**:最新的法律条文和政策解读

View File

@@ -280,7 +280,7 @@
"@commitlint/cli": "^19.8.1",
"@edge-runtime/vm": "^5.0.0",
"@huggingface/tasks": "^0.15.9",
"@lobehub/i18n-cli": "^1.23.0",
"@lobehub/i18n-cli": "^1.25.1",
"@lobehub/lint": "^1.26.2",
"@lobehub/market-types": "^1.11.2",
"@lobehub/seo-cli": "^1.6.0",

View File

@@ -40,7 +40,8 @@ const Locale = memo<LocaleLayoutProps>(({ children, defaultLang, antdLocale }) =
// if run on server side, init i18n instance everytime
if (isOnServerSide) {
i18n.init();
// use sync mode to init instantly
i18n.init({ initAsync: false });
// load the dayjs locale
// if (lang) {

View File

@@ -31,8 +31,10 @@ export const createI18nNext = (lang?: string) => {
}
});
return {
init: () =>
instance.init({
init: (params: { initAsync?: boolean } = {}) => {
const { initAsync = true } = params;
return instance.init({
debug: debugMode,
defaultNS: ['error', 'common', 'chat'],
// detection: {
@@ -50,11 +52,14 @@ export const createI18nNext = (lang?: string) => {
// lookupCookie: LOBE_LOCALE_COOKIE,
// },
fallbackLng: DEFAULT_LANG,
initAsync,
interpolation: {
escapeValue: false,
},
lng: lang,
}),
});
},
instance,
};
};

View File

@@ -1,7 +1,8 @@
import { resolveAcceptLanguage } from 'resolve-accept-language';
import { DEFAULT_LANG } from '@/const/locale';
import { locales, normalizeLocale } from '@/locales/resources';
import { Locales, locales, normalizeLocale } from '@/locales/resources';
import { RouteVariants } from '@/utils/server/routeVariants';
export const getAntdLocale = async (lang?: string) => {
let normalLang: any = normalizeLocale(lang);
@@ -44,3 +45,17 @@ export const parseBrowserLanguage = (headers: Headers, defaultLang: string = DEF
return browserLang;
};
/**
* Parse the page locale from the URL and search
* used in cloud
*/
export const parsePageLocale = async (props: {
params: Promise<{ variants: string }>;
searchParams: Promise<any>;
}) => {
const searchParams = await props.searchParams;
const browserLocale = await RouteVariants.getLocale(props);
return normalizeLocale(searchParams?.hl || browserLocale) as Locales;
};