@lobehub/chat 1.44.3 → 1.45.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/.remarkrc.mdx.js +6 -0
- package/CHANGELOG.md +25 -0
- package/changelog/v1.json +9 -0
- package/docs/changelog/2023-09-09-plugin-system.mdx +5 -0
- package/docs/changelog/2023-09-09-plugin-system.zh-CN.mdx +5 -0
- package/docs/changelog/2023-11-14-gpt4-vision.mdx +6 -0
- package/docs/changelog/2023-11-14-gpt4-vision.zh-CN.mdx +6 -0
- package/docs/changelog/2023-11-19-tts-stt.mdx +6 -0
- package/docs/changelog/2023-11-19-tts-stt.zh-CN.mdx +7 -0
- package/docs/changelog/2023-12-22-dalle-3.mdx +6 -0
- package/docs/changelog/2023-12-22-dalle-3.zh-CN.mdx +4 -0
- package/docs/changelog/2024-02-08-sso-oauth.mdx +6 -0
- package/docs/changelog/2024-02-08-sso-oauth.zh-CN.mdx +6 -0
- package/docs/changelog/2024-02-14-ollama.mdx +6 -0
- package/docs/changelog/2024-02-14-ollama.zh-CN.mdx +5 -0
- package/docs/changelog/2024-06-19-lobe-chat-v1.mdx +6 -0
- package/docs/changelog/2024-06-19-lobe-chat-v1.zh-CN.mdx +5 -0
- package/docs/changelog/2024-07-19-gpt-4o-mini.mdx +5 -0
- package/docs/changelog/2024-07-19-gpt-4o-mini.zh-CN.mdx +4 -0
- package/docs/changelog/2024-08-02-lobe-chat-database-docker.mdx +6 -0
- package/docs/changelog/2024-08-02-lobe-chat-database-docker.zh-CN.mdx +5 -0
- package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.mdx +6 -0
- package/docs/changelog/2024-08-21-file-upload-and-knowledge-base.zh-CN.mdx +5 -0
- package/docs/changelog/2024-09-13-openai-o1-models.mdx +6 -0
- package/docs/changelog/2024-09-13-openai-o1-models.zh-CN.mdx +6 -0
- package/docs/changelog/2024-09-20-artifacts.mdx +6 -0
- package/docs/changelog/2024-09-20-artifacts.zh-CN.mdx +6 -0
- package/docs/changelog/2024-10-27-pin-assistant.mdx +5 -0
- package/docs/changelog/2024-10-27-pin-assistant.zh-CN.mdx +4 -0
- package/docs/changelog/2024-11-06-share-text-json.mdx +4 -0
- package/docs/changelog/2024-11-06-share-text-json.zh-CN.mdx +4 -0
- package/docs/changelog/2024-11-25-november-providers.mdx +7 -0
- package/docs/changelog/2024-11-25-november-providers.zh-CN.mdx +7 -0
- package/docs/changelog/2024-11-27-forkable-chat.mdx +4 -0
- package/docs/changelog/2024-11-27-forkable-chat.zh-CN.mdx +5 -0
- package/docs/changelog/2025-01-03-user-profile.mdx +5 -0
- package/docs/changelog/2025-01-03-user-profile.zh-CN.mdx +4 -1
- package/docs/self-hosting/advanced/auth/clerk.mdx +25 -41
- package/docs/self-hosting/advanced/auth/clerk.zh-CN.mdx +23 -37
- package/docs/self-hosting/advanced/auth/next-auth/auth0.mdx +31 -58
- package/docs/self-hosting/advanced/auth/next-auth/auth0.zh-CN.mdx +30 -57
- package/docs/self-hosting/advanced/auth/next-auth/authelia.mdx +38 -38
- package/docs/self-hosting/advanced/auth/next-auth/authelia.zh-CN.mdx +37 -38
- package/docs/self-hosting/advanced/auth/next-auth/authentik.mdx +26 -31
- package/docs/self-hosting/advanced/auth/next-auth/authentik.zh-CN.mdx +25 -30
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.mdx +74 -75
- package/docs/self-hosting/advanced/auth/next-auth/casdoor.zh-CN.mdx +72 -73
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.mdx +24 -25
- package/docs/self-hosting/advanced/auth/next-auth/cloudflare-zero-trust.zh-CN.mdx +23 -24
- package/docs/self-hosting/advanced/auth/next-auth/github.mdx +46 -73
- package/docs/self-hosting/advanced/auth/next-auth/github.zh-CN.mdx +43 -70
- package/docs/self-hosting/advanced/auth/next-auth/logto.mdx +28 -37
- package/docs/self-hosting/advanced/auth/next-auth/logto.zh-CN.mdx +28 -37
- package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.mdx +36 -49
- package/docs/self-hosting/advanced/auth/next-auth/microsoft-entra-id.zh-CN.mdx +30 -43
- package/docs/self-hosting/advanced/auth/next-auth/wechat.mdx +13 -14
- package/docs/self-hosting/advanced/auth/next-auth/wechat.zh-CN.mdx +14 -15
- package/docs/self-hosting/advanced/auth/next-auth/zitadel.mdx +35 -69
- package/docs/self-hosting/advanced/auth/next-auth/zitadel.zh-CN.mdx +34 -68
- package/docs/self-hosting/advanced/auth.mdx +14 -13
- package/docs/self-hosting/advanced/auth.zh-CN.mdx +15 -14
- package/docs/self-hosting/advanced/feature-flags.zh-CN.mdx +15 -15
- package/docs/self-hosting/advanced/knowledge-base.mdx +14 -3
- package/docs/self-hosting/advanced/knowledge-base.zh-CN.mdx +12 -3
- package/docs/self-hosting/advanced/model-list.zh-CN.mdx +5 -5
- package/docs/self-hosting/advanced/s3/cloudflare-r2.mdx +52 -81
- package/docs/self-hosting/advanced/s3/cloudflare-r2.zh-CN.mdx +51 -80
- package/docs/self-hosting/advanced/s3/tencent-cloud.mdx +20 -34
- package/docs/self-hosting/advanced/s3/tencent-cloud.zh-CN.mdx +28 -43
- package/docs/self-hosting/advanced/s3.mdx +30 -34
- package/docs/self-hosting/advanced/s3.zh-CN.mdx +28 -33
- package/docs/self-hosting/advanced/settings-url-share.mdx +6 -6
- package/docs/self-hosting/advanced/settings-url-share.zh-CN.mdx +19 -19
- package/docs/self-hosting/advanced/upstream-sync.mdx +73 -89
- package/docs/self-hosting/advanced/upstream-sync.zh-CN.mdx +71 -87
- package/docs/self-hosting/advanced/webrtc.mdx +14 -21
- package/docs/self-hosting/advanced/webrtc.zh-CN.mdx +19 -26
- package/docs/self-hosting/environment-variables/analytics.zh-CN.mdx +0 -3
- package/docs/self-hosting/environment-variables/auth.zh-CN.mdx +1 -1
- package/docs/self-hosting/environment-variables/basic.mdx +13 -13
- package/docs/self-hosting/environment-variables/basic.zh-CN.mdx +15 -15
- package/docs/self-hosting/environment-variables/model-provider.mdx +1 -1
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +1 -1
- package/docs/self-hosting/environment-variables/s3.mdx +3 -4
- package/docs/self-hosting/environment-variables/s3.zh-CN.mdx +5 -7
- package/docs/self-hosting/environment-variables.mdx +8 -4
- package/docs/self-hosting/environment-variables.zh-CN.mdx +4 -0
- package/docs/self-hosting/examples/azure-openai.mdx +9 -12
- package/docs/self-hosting/examples/azure-openai.zh-CN.mdx +8 -11
- package/docs/self-hosting/examples/ollama.mdx +8 -7
- package/docs/self-hosting/examples/ollama.zh-CN.mdx +8 -7
- package/docs/self-hosting/platform/alibaba-cloud.mdx +5 -7
- package/docs/self-hosting/platform/alibaba-cloud.zh-CN.mdx +5 -7
- package/docs/self-hosting/platform/btpanel.mdx +3 -2
- package/docs/self-hosting/platform/btpanel.zh-CN.mdx +3 -3
- package/docs/self-hosting/platform/docker-compose.mdx +75 -85
- package/docs/self-hosting/platform/docker-compose.zh-CN.mdx +75 -85
- package/docs/self-hosting/platform/docker.mdx +87 -92
- package/docs/self-hosting/platform/docker.zh-CN.mdx +96 -115
- package/docs/self-hosting/platform/netlify.mdx +44 -94
- package/docs/self-hosting/platform/netlify.zh-CN.mdx +40 -90
- package/docs/self-hosting/platform/railway.mdx +6 -7
- package/docs/self-hosting/platform/railway.zh-CN.mdx +6 -7
- package/docs/self-hosting/platform/repocloud.mdx +6 -7
- package/docs/self-hosting/platform/repocloud.zh-CN.mdx +6 -7
- package/docs/self-hosting/platform/sealos.mdx +6 -7
- package/docs/self-hosting/platform/sealos.zh-CN.mdx +6 -7
- package/docs/self-hosting/platform/vercel.mdx +7 -8
- package/docs/self-hosting/platform/vercel.zh-CN.mdx +7 -8
- package/docs/self-hosting/platform/zeabur.mdx +29 -32
- package/docs/self-hosting/platform/zeabur.zh-CN.mdx +29 -32
- package/docs/self-hosting/server-database/docker-compose.mdx +44 -71
- package/docs/self-hosting/server-database/docker-compose.zh-CN.mdx +44 -71
- package/docs/self-hosting/server-database/docker.mdx +84 -88
- package/docs/self-hosting/server-database/docker.zh-CN.mdx +87 -91
- package/docs/self-hosting/server-database/dokploy.mdx +18 -1
- package/docs/self-hosting/server-database/dokploy.zh-CN.mdx +84 -68
- package/docs/self-hosting/server-database/repocloud.mdx +7 -9
- package/docs/self-hosting/server-database/repocloud.zh-CN.mdx +9 -11
- package/docs/self-hosting/server-database/vercel.mdx +158 -243
- package/docs/self-hosting/server-database/vercel.zh-CN.mdx +137 -205
- package/docs/self-hosting/server-database/zeabur.mdx +21 -23
- package/docs/self-hosting/server-database/zeabur.zh-CN.mdx +20 -22
- package/docs/self-hosting/server-database.mdx +34 -36
- package/docs/self-hosting/server-database.zh-CN.mdx +34 -37
- package/docs/self-hosting/start.mdx +1 -4
- package/docs/self-hosting/start.zh-CN.mdx +1 -1
- package/docs/usage/agents/agent-organization.mdx +5 -21
- package/docs/usage/agents/agent-organization.zh-CN.mdx +5 -21
- package/docs/usage/agents/concepts.mdx +4 -4
- package/docs/usage/agents/concepts.zh-CN.mdx +4 -4
- package/docs/usage/agents/custom-agent.mdx +2 -2
- package/docs/usage/agents/custom-agent.zh-CN.mdx +2 -2
- package/docs/usage/agents/model.mdx +4 -4
- package/docs/usage/agents/model.zh-CN.mdx +6 -6
- package/docs/usage/agents/prompt.mdx +5 -6
- package/docs/usage/agents/prompt.zh-CN.mdx +5 -6
- package/docs/usage/agents/topics.mdx +2 -2
- package/docs/usage/agents/topics.zh-CN.mdx +2 -2
- package/docs/usage/features/agent-market.mdx +2 -2
- package/docs/usage/features/agent-market.zh-CN.mdx +2 -2
- package/docs/usage/features/auth.mdx +1 -5
- package/docs/usage/features/auth.zh-CN.mdx +1 -5
- package/docs/usage/features/database.mdx +1 -5
- package/docs/usage/features/database.zh-CN.mdx +1 -5
- package/docs/usage/features/local-llm.mdx +2 -6
- package/docs/usage/features/local-llm.zh-CN.mdx +2 -6
- package/docs/usage/features/mobile.mdx +1 -5
- package/docs/usage/features/mobile.zh-CN.mdx +1 -5
- package/docs/usage/features/multi-ai-providers.mdx +3 -11
- package/docs/usage/features/multi-ai-providers.zh-CN.mdx +3 -11
- package/docs/usage/features/plugin-system.mdx +9 -10
- package/docs/usage/features/plugin-system.zh-CN.mdx +9 -10
- package/docs/usage/features/pwa.mdx +11 -25
- package/docs/usage/features/pwa.zh-CN.mdx +11 -25
- package/docs/usage/features/text-to-image.mdx +2 -2
- package/docs/usage/features/text-to-image.zh-CN.mdx +2 -2
- package/docs/usage/features/theme.mdx +1 -6
- package/docs/usage/features/theme.zh-CN.mdx +1 -6
- package/docs/usage/features/tts.mdx +3 -7
- package/docs/usage/features/tts.zh-CN.mdx +3 -7
- package/docs/usage/features/vision.mdx +2 -2
- package/docs/usage/features/vision.zh-CN.mdx +2 -2
- package/docs/usage/foundation/basic.mdx +7 -18
- package/docs/usage/foundation/basic.zh-CN.mdx +6 -16
- package/docs/usage/foundation/share.mdx +3 -13
- package/docs/usage/foundation/share.zh-CN.mdx +3 -13
- package/docs/usage/foundation/text2image.mdx +3 -12
- package/docs/usage/foundation/text2image.zh-CN.mdx +3 -12
- package/docs/usage/foundation/translate.mdx +3 -13
- package/docs/usage/foundation/translate.zh-CN.mdx +3 -13
- package/docs/usage/foundation/tts-stt.mdx +3 -12
- package/docs/usage/foundation/tts-stt.zh-CN.mdx +3 -12
- package/docs/usage/foundation/vision.mdx +4 -16
- package/docs/usage/foundation/vision.zh-CN.mdx +4 -16
- package/docs/usage/plugins/basic-usage.mdx +7 -30
- package/docs/usage/plugins/basic-usage.zh-CN.mdx +7 -30
- package/docs/usage/plugins/development.mdx +30 -78
- package/docs/usage/plugins/development.zh-CN.mdx +31 -79
- package/docs/usage/plugins/store.mdx +2 -10
- package/docs/usage/plugins/store.zh-CN.mdx +2 -10
- package/docs/usage/providers/ai21.mdx +17 -33
- package/docs/usage/providers/ai21.zh-CN.mdx +17 -33
- package/docs/usage/providers/ai360.mdx +17 -33
- package/docs/usage/providers/ai360.zh-CN.mdx +20 -36
- package/docs/usage/providers/anthropic.mdx +23 -45
- package/docs/usage/providers/anthropic.zh-CN.mdx +22 -44
- package/docs/usage/providers/azure.mdx +21 -51
- package/docs/usage/providers/azure.zh-CN.mdx +19 -48
- package/docs/usage/providers/baichuan.mdx +16 -34
- package/docs/usage/providers/baichuan.zh-CN.mdx +15 -33
- package/docs/usage/providers/bedrock.mdx +38 -87
- package/docs/usage/providers/bedrock.zh-CN.mdx +37 -86
- package/docs/usage/providers/cloudflare.mdx +25 -48
- package/docs/usage/providers/cloudflare.zh-CN.mdx +24 -45
- package/docs/usage/providers/deepseek.mdx +25 -51
- package/docs/usage/providers/deepseek.zh-CN.mdx +24 -50
- package/docs/usage/providers/fireworksai.mdx +23 -43
- package/docs/usage/providers/fireworksai.zh-CN.mdx +21 -41
- package/docs/usage/providers/gemini.mdx +20 -46
- package/docs/usage/providers/gemini.zh-CN.mdx +20 -46
- package/docs/usage/providers/giteeai.mdx +24 -45
- package/docs/usage/providers/giteeai.zh-CN.mdx +22 -43
- package/docs/usage/providers/github.mdx +19 -45
- package/docs/usage/providers/github.zh-CN.mdx +19 -44
- package/docs/usage/providers/groq.mdx +12 -29
- package/docs/usage/providers/groq.zh-CN.mdx +11 -28
- package/docs/usage/providers/hunyuan.mdx +19 -39
- package/docs/usage/providers/hunyuan.zh-CN.mdx +18 -38
- package/docs/usage/providers/internlm.mdx +21 -38
- package/docs/usage/providers/internlm.zh-CN.mdx +19 -36
- package/docs/usage/providers/minimax.mdx +24 -50
- package/docs/usage/providers/minimax.zh-CN.mdx +22 -48
- package/docs/usage/providers/mistral.mdx +21 -39
- package/docs/usage/providers/mistral.zh-CN.mdx +20 -38
- package/docs/usage/providers/moonshot.mdx +20 -38
- package/docs/usage/providers/moonshot.zh-CN.mdx +19 -37
- package/docs/usage/providers/novita.mdx +20 -43
- package/docs/usage/providers/novita.zh-CN.mdx +19 -42
- package/docs/usage/providers/ollama/gemma.mdx +12 -29
- package/docs/usage/providers/ollama/gemma.zh-CN.mdx +12 -30
- package/docs/usage/providers/ollama/qwen.mdx +17 -32
- package/docs/usage/providers/ollama/qwen.zh-CN.mdx +12 -27
- package/docs/usage/providers/ollama.mdx +67 -99
- package/docs/usage/providers/ollama.zh-CN.mdx +67 -99
- package/docs/usage/providers/openai.mdx +42 -56
- package/docs/usage/providers/openai.zh-CN.mdx +39 -52
- package/docs/usage/providers/openrouter.mdx +48 -84
- package/docs/usage/providers/openrouter.zh-CN.mdx +31 -67
- package/docs/usage/providers/perplexity.mdx +16 -34
- package/docs/usage/providers/perplexity.zh-CN.mdx +16 -34
- package/docs/usage/providers/qwen.mdx +26 -52
- package/docs/usage/providers/qwen.zh-CN.mdx +25 -51
- package/docs/usage/providers/sensenova.mdx +24 -45
- package/docs/usage/providers/sensenova.zh-CN.mdx +22 -43
- package/docs/usage/providers/siliconcloud.mdx +17 -33
- package/docs/usage/providers/siliconcloud.zh-CN.mdx +17 -33
- package/docs/usage/providers/spark.mdx +20 -40
- package/docs/usage/providers/spark.zh-CN.mdx +19 -39
- package/docs/usage/providers/stepfun.mdx +17 -35
- package/docs/usage/providers/stepfun.zh-CN.mdx +17 -35
- package/docs/usage/providers/taichu.mdx +16 -34
- package/docs/usage/providers/taichu.zh-CN.mdx +15 -33
- package/docs/usage/providers/togetherai.mdx +18 -40
- package/docs/usage/providers/togetherai.zh-CN.mdx +18 -40
- package/docs/usage/providers/upstage.mdx +18 -34
- package/docs/usage/providers/upstage.zh-CN.mdx +17 -33
- package/docs/usage/providers/wenxin.mdx +22 -42
- package/docs/usage/providers/wenxin.zh-CN.mdx +20 -40
- package/docs/usage/providers/xai.mdx +21 -38
- package/docs/usage/providers/xai.zh-CN.mdx +20 -37
- package/docs/usage/providers/zeroone.mdx +22 -48
- package/docs/usage/providers/zeroone.zh-CN.mdx +22 -48
- package/docs/usage/providers/zhipu.mdx +17 -35
- package/docs/usage/providers/zhipu.zh-CN.mdx +18 -34
- package/docs/usage/providers.mdx +1 -6
- package/docs/usage/providers.zh-CN.mdx +1 -6
- package/docs/usage/start.mdx +4 -18
- package/docs/usage/start.zh-CN.mdx +2 -19
- package/docs/usage/tools-calling/anthropic.mdx +18 -51
- package/docs/usage/tools-calling/anthropic.zh-CN.mdx +22 -55
- package/docs/usage/tools-calling/google.mdx +16 -23
- package/docs/usage/tools-calling/google.zh-CN.mdx +17 -24
- package/docs/usage/tools-calling/groq.mdx +9 -0
- package/docs/usage/tools-calling/groq.zh-CN.mdx +44 -70
- package/docs/usage/tools-calling/moonshot.mdx +9 -0
- package/docs/usage/tools-calling/openai.mdx +19 -44
- package/docs/usage/tools-calling/openai.zh-CN.mdx +20 -45
- package/docs/usage/tools-calling.mdx +9 -0
- package/docs/usage/tools-calling.zh-CN.mdx +60 -68
- package/package.json +42 -41
- package/scripts/mdxWorkflow/index.ts +7 -0
- package/src/app/(main)/(mobile)/me/(home)/features/Header.tsx +2 -1
- package/src/app/(main)/(mobile)/me/data/features/Header.tsx +1 -1
- package/src/app/(main)/(mobile)/me/profile/features/Header.tsx +1 -1
- package/src/app/(main)/(mobile)/me/settings/features/Header.tsx +1 -1
- package/src/app/(main)/@nav/_layout/Mobile.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/@topic/features/SystemRole/SystemRoleContent.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/@topic/features/TopicListContent/ByTimeMode/GroupItem.tsx +2 -2
- package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/Main.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/_layout/Desktop/ChatHeader/index.tsx +1 -1
- package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/ChatHeaderTitle.tsx +2 -1
- package/src/app/(main)/chat/(workspace)/_layout/Mobile/ChatHeader/index.tsx +1 -1
- package/src/app/(main)/chat/@session/_layout/Mobile/SessionHeader.tsx +2 -1
- package/src/app/(main)/chat/settings/_layout/Desktop/Header.tsx +1 -1
- package/src/app/(main)/chat/settings/_layout/Mobile/Header.tsx +1 -1
- package/src/app/(main)/discover/(detail)/provider/[slug]/features/InfoSidebar/SuggestionItem.tsx +8 -6
- package/src/app/(main)/discover/(list)/_layout/Desktop/Nav.tsx +1 -1
- package/src/app/(main)/discover/(list)/_layout/Mobile/Header.tsx +2 -1
- package/src/app/(main)/discover/_layout/Desktop/Header.tsx +1 -1
- package/src/app/(main)/discover/components/VirtuosoGridList/index.tsx +9 -5
- package/src/app/(main)/discover/search/_layout/Mobile/Header.tsx +1 -1
- package/src/app/(main)/files/(content)/@menu/features/KnowledgeBase/EmptyStatus.tsx +21 -13
- package/src/app/(main)/repos/[id]/evals/evaluation/EvaluationList/index.tsx +1 -1
- package/src/app/(main)/settings/sync/features/DeviceInfo/SystemIcon.tsx +2 -0
- package/src/components/Branding/ProductLogo/Custom.tsx +19 -20
- package/src/components/BrowserIcon/index.tsx +19 -30
- package/src/components/BubblesLoading/index.tsx +31 -23
- package/src/components/FunctionModal/createModalHooks.ts +6 -3
- package/src/components/StopLoading.tsx +10 -7
- package/src/features/ChatInput/Desktop/InputArea/index.tsx +2 -2
- package/src/features/InitClientDB/EnableModal.tsx +2 -2
- package/src/features/InitClientDB/{PGliteSVG.tsx → PGliteIcon.tsx} +17 -11
- package/src/features/ShareModal/ShareImage/index.tsx +32 -22
- package/src/features/ShareModal/ShareJSON/Preview.tsx +2 -2
- package/src/features/ShareModal/ShareJSON/index.tsx +49 -37
- package/src/features/ShareModal/ShareText/Preview.tsx +4 -1
- package/src/features/ShareModal/ShareText/index.tsx +49 -38
- package/src/features/ShareModal/index.tsx +1 -1
- package/src/features/ShareModal/style.ts +30 -0
- package/src/utils/colorUtils.ts +1 -1
- package/src/components/BrowserIcon/components/Brave.tsx +0 -56
- package/src/components/BrowserIcon/components/Chrome.tsx +0 -14
- package/src/components/BrowserIcon/components/Chromium.tsx +0 -14
- package/src/components/BrowserIcon/components/Edge.tsx +0 -36
- package/src/components/BrowserIcon/components/Firefox.tsx +0 -38
- package/src/components/BrowserIcon/components/Opera.tsx +0 -19
- package/src/components/BrowserIcon/components/Safari.tsx +0 -23
- package/src/components/BrowserIcon/components/Samsung.tsx +0 -21
@@ -22,129 +22,79 @@ If you want to deploy LobeChat on Netlify, you can follow these steps:
|
|
22
22
|
<Steps>
|
23
23
|
### Fork the LobeChat Repository
|
24
24
|
|
25
|
-
Click the Fork button to fork the LobeChat repository to your GitHub account.
|
25
|
+
Click the Fork button to fork the LobeChat repository to your GitHub account.
|
26
26
|
|
27
|
-
### Prepare your OpenAI API Key
|
27
|
+
### Prepare your OpenAI API Key
|
28
28
|
|
29
|
-
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to obtain your OpenAI API Key.
|
29
|
+
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to obtain your OpenAI API Key.
|
30
30
|
|
31
|
-
### Import to Netlify Workspace
|
31
|
+
### Import to Netlify Workspace
|
32
32
|
|
33
|
-
<Callout>
|
34
|
-
|
35
|
-
|
36
|
-
</Callout>
|
33
|
+
<Callout>
|
34
|
+
After testing, it is currently not supported to have a one-click deployment button similar to
|
35
|
+
Vercel/Zeabur. The reason is unknown. Therefore, manual import is required.
|
36
|
+
</Callout>
|
37
37
|
|
38
|
-
Click "Import from git"
|
38
|
+
Click "Import from git"
|
39
39
|
|
40
|
-
<Image
|
41
|
-
alt={'Click "Import from git" in the Netlify workspace'}
|
42
|
-
height={362}
|
43
|
-
inStep
|
44
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/31b999e5-2a74-45fc-935b-f036e72a684d'}
|
45
|
-
/>
|
40
|
+
<Image alt={'Click "Import from git" in the Netlify workspace'} height={362} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/31b999e5-2a74-45fc-935b-f036e72a684d'} />
|
46
41
|
|
47
|
-
Then click "Deploy with Github" and authorize Netlify to access your GitHub account.
|
42
|
+
Then click "Deploy with Github" and authorize Netlify to access your GitHub account.
|
48
43
|
|
49
|
-
<Image
|
50
|
-
alt={'Authorize Netlify to access your GitHub account'}
|
51
|
-
height={273}
|
52
|
-
inStep
|
53
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9c58141-5ec6-43f1-8d97-0a84a04dcdba'}
|
54
|
-
/>
|
44
|
+
<Image alt={'Authorize Netlify to access your GitHub account'} height={273} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9c58141-5ec6-43f1-8d97-0a84a04dcdba'} />
|
55
45
|
|
56
|
-
Next, select the LobeChat project:
|
46
|
+
Next, select the LobeChat project:
|
57
47
|
|
58
|
-
<Image
|
59
|
-
alt={'Select the LobeChat github project'}
|
60
|
-
height={228}
|
61
|
-
inStep
|
62
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/6c3968a8-fbbb-4268-a587-edaced2d96af'}
|
63
|
-
/>
|
48
|
+
<Image alt={'Select the LobeChat github project'} height={228} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/6c3968a8-fbbb-4268-a587-edaced2d96af'} />
|
64
49
|
|
65
|
-
### Configure Site Name and Environment Variables
|
50
|
+
### Configure Site Name and Environment Variables
|
66
51
|
|
67
|
-
In this step, you need to configure your site, including the site name, build command, and publish directory. Fill in your site name in the "Site Name" field. If there are no special requirements, you do not need to modify the remaining configurations as we have already set the default configurations.
|
52
|
+
In this step, you need to configure your site, including the site name, build command, and publish directory. Fill in your site name in the "Site Name" field. If there are no special requirements, you do not need to modify the remaining configurations as we have already set the default configurations.
|
68
53
|
|
69
|
-
<Image
|
70
|
-
alt={'Configure LobeChat site name'}
|
71
|
-
height={712}
|
72
|
-
inStep
|
73
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/f3885537-6d43-422f-b1b8-e70732401025'}
|
74
|
-
/>
|
54
|
+
<Image alt={'Configure LobeChat site name'} height={712} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/f3885537-6d43-422f-b1b8-e70732401025'} />
|
75
55
|
|
76
|
-
Click the "Add environment variables" button to add site environment variables:
|
56
|
+
Click the "Add environment variables" button to add site environment variables:
|
77
57
|
|
78
|
-
<Image
|
79
|
-
alt={'Add LobeChat site environment variables'}
|
80
|
-
height={537}
|
81
|
-
inStep
|
82
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/3b607482-4d99-455a-bc10-3090dd4fe3c5'}
|
83
|
-
/>
|
58
|
+
<Image alt={'Add LobeChat site environment variables'} height={537} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/3b607482-4d99-455a-bc10-3090dd4fe3c5'} />
|
84
59
|
|
85
|
-
Taking OpenAI as an example, the environment variables you need to add are as follows:
|
60
|
+
Taking OpenAI as an example, the environment variables you need to add are as follows:
|
86
61
|
|
87
|
-
| Environment Variable | Type
|
88
|
-
|
|
89
|
-
| `OPENAI_API_KEY`
|
90
|
-
| `ACCESS_CODE`
|
91
|
-
| `OPENAI_PROXY_URL`
|
62
|
+
| Environment Variable | Type | Description | Example |
|
63
|
+
| -------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
64
|
+
| `OPENAI_API_KEY` | Required | This is the API key you applied for on the OpenAI account page | `sk-xxxxxx...xxxxxx` |
|
65
|
+
| `ACCESS_CODE` | Required | Add a password to access this service. You can set a long password to prevent brute force attacks. When this value is separated by commas, it becomes an array of passwords | `awCT74` or `e3@09!` or `code1,code2,code3` |
|
66
|
+
| `OPENAI_PROXY_URL` | Optional | If you manually configure the OpenAI interface proxy, you can use this configuration to override the default OpenAI API request base URL | `https://aihubmix.com/v1`, default value: `https://api.openai.com/v1` |
|
92
67
|
|
93
|
-
<Callout type={'tip'}>
|
94
|
-
|
95
|
-
|
96
|
-
</Callout>
|
68
|
+
<Callout type={'tip'}>
|
69
|
+
For a complete list of environment variables supported by LobeChat, please refer to the [📘
|
70
|
+
Environment Variables](/docs/self-hosting/environment-variables)
|
71
|
+
</Callout>
|
97
72
|
|
98
|
-
Afteradding the variables, finally click "Deploy lobe-chat" to enter the deployment phase
|
73
|
+
Afteradding the variables, finally click "Deploy lobe-chat" to enter the deployment phase
|
99
74
|
|
100
|
-
<Image
|
101
|
-
alt={'Environment variables added'}
|
102
|
-
height={600}
|
103
|
-
inStep
|
104
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9f74ec4-ce63-4ce9-b9e2-34bda6fda10b'}
|
105
|
-
/>
|
75
|
+
<Image alt={'Environment variables added'} height={600} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9f74ec4-ce63-4ce9-b9e2-34bda6fda10b'} />
|
106
76
|
|
107
|
-
### Wait for Deployment to Complete
|
77
|
+
### Wait for Deployment to Complete
|
108
78
|
|
109
|
-
After clicking deploy, you will enter the site details page, where you can click the "Deploying your site" in blue or the "Building" in yellow to view the deployment progress.
|
79
|
+
After clicking deploy, you will enter the site details page, where you can click the "Deploying your site" in blue or the "Building" in yellow to view the deployment progress.
|
110
80
|
|
111
|
-
<Image
|
112
|
-
alt={'Netlify site details page'}
|
113
|
-
height={396}
|
114
|
-
inStep
|
115
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/a7fd85d5-fd32-4756-814e-ff7ab7567fe1'}
|
116
|
-
/>
|
81
|
+
<Image alt={'Netlify site details page'} height={396} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/a7fd85d5-fd32-4756-814e-ff7ab7567fe1'} />
|
117
82
|
|
118
|
-
Upon entering the deployment details, you will see the following interface, indicating that your LobeChat is currently being deployed. Simply wait for the deployment to complete.
|
83
|
+
Upon entering the deployment details, you will see the following interface, indicating that your LobeChat is currently being deployed. Simply wait for the deployment to complete.
|
119
84
|
|
120
|
-
<Image
|
121
|
-
alt={'LobeChat deployment in progress'}
|
122
|
-
height={325}
|
123
|
-
inStep
|
124
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/1ed8b13d-046e-47c8-bd61-116ffdf5d01b'}
|
125
|
-
/>
|
85
|
+
<Image alt={'LobeChat deployment in progress'} height={325} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/1ed8b13d-046e-47c8-bd61-116ffdf5d01b'} />
|
126
86
|
|
127
|
-
During the deployment and build process:
|
87
|
+
During the deployment and build process:
|
128
88
|
|
129
|
-
<Image
|
130
|
-
alt={'Deployment in progress'}
|
131
|
-
height={558}
|
132
|
-
inStep
|
133
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/1c82d707-cb6f-4924-b246-a5235a919864'}
|
134
|
-
/>
|
135
|
-
|
136
|
-
### Deployment Successful, Start Using
|
89
|
+
<Image alt={'Deployment in progress'} height={558} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/1c82d707-cb6f-4924-b246-a5235a919864'} />
|
137
90
|
|
138
|
-
|
139
|
-
|
140
|
-
<Image
|
141
|
-
alt={'Deployment Successful'}
|
142
|
-
height={558}
|
143
|
-
inStep
|
144
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/c1f945d1-f3e2-4100-b6bb-24d4cb13c438'}
|
145
|
-
/>
|
91
|
+
### Deployment Successful, Start Using
|
146
92
|
|
147
|
-
|
93
|
+
If your Deploy Log in the interface looks like the following, it means your LobeChat has been successfully deployed.
|
94
|
+
|
95
|
+
<Image alt={'Deployment Successful'} height={558} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/c1f945d1-f3e2-4100-b6bb-24d4cb13c438'} />
|
96
|
+
|
97
|
+
At this point, you can click on "Open production deploy" to access your LobeChat site.
|
148
98
|
|
149
99
|
<Image alt={'Access Your LobeChat Site'} height={527} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/b04723eb-64ad-4028-a901-dc4e4ee2d0c1'} />
|
150
100
|
</Steps>
|
@@ -20,126 +20,76 @@ tags:
|
|
20
20
|
<Steps>
|
21
21
|
### Fork LobeChat 仓库
|
22
22
|
|
23
|
-
点击 Fork 按钮,将 LobeChat 仓库 Fork 到你的 GitHub 账号下。
|
23
|
+
点击 Fork 按钮,将 LobeChat 仓库 Fork 到你的 GitHub 账号下。
|
24
24
|
|
25
|
-
### 准备好你的 OpenAI API Key
|
25
|
+
### 准备好你的 OpenAI API Key
|
26
26
|
|
27
|
-
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
27
|
+
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
28
28
|
|
29
|
-
### 在 Netlify 工作台导入
|
29
|
+
### 在 Netlify 工作台导入
|
30
30
|
|
31
|
-
<Callout>经过测试,暂不支持类似 Vercel/Zeabur 的一键部署按钮,原因未知。因此需要手动导入</Callout>
|
31
|
+
<Callout>经过测试,暂不支持类似 Vercel/Zeabur 的一键部署按钮,原因未知。因此需要手动导入</Callout>
|
32
32
|
|
33
|
-
点击 「Import from git」
|
33
|
+
点击 「Import from git」
|
34
34
|
|
35
|
-
<Image
|
36
|
-
alt={'在 Netflix 工作台点击 「Import from git」'}
|
37
|
-
height={362}
|
38
|
-
inStep
|
39
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/31b999e5-2a74-45fc-935b-f036e72a684d'}
|
40
|
-
/>
|
35
|
+
<Image alt={'在 Netflix 工作台点击 「Import from git」'} height={362} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/31b999e5-2a74-45fc-935b-f036e72a684d'} />
|
41
36
|
|
42
|
-
然后点击 「Deploy with Github」,并授权 Netlify 访问你的 GitHub 账号
|
37
|
+
然后点击 「Deploy with Github」,并授权 Netlify 访问你的 GitHub 账号
|
43
38
|
|
44
|
-
<Image
|
45
|
-
alt={'授权 Netlify 访问你的 GitHub 账号'}
|
46
|
-
height={273}
|
47
|
-
inStep
|
48
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9c58141-5ec6-43f1-8d97-0a84a04dcdba'}
|
49
|
-
/>
|
39
|
+
<Image alt={'授权 Netlify 访问你的 GitHub 账号'} height={273} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9c58141-5ec6-43f1-8d97-0a84a04dcdba'} />
|
50
40
|
|
51
|
-
然后选择 LobeChat 项目:
|
41
|
+
然后选择 LobeChat 项目:
|
52
42
|
|
53
|
-
<Image
|
54
|
-
alt={'选择 LobeChat github 项目'}
|
55
|
-
height={228}
|
56
|
-
inStep
|
57
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/6c3968a8-fbbb-4268-a587-edaced2d96af'}
|
58
|
-
/>
|
43
|
+
<Image alt={'选择 LobeChat github 项目'} height={228} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/6c3968a8-fbbb-4268-a587-edaced2d96af'} />
|
59
44
|
|
60
|
-
### 配置站点名称与环境变量
|
45
|
+
### 配置站点名称与环境变量
|
61
46
|
|
62
|
-
在这一步,你需要配置你的站点,包括站点名称、构建命令、发布目录等。在「Site Name」字段填写上你的站点名称。其余配置如果没有特殊要求,无需修改,我们已经设定好了默认配置。
|
47
|
+
在这一步,你需要配置你的站点,包括站点名称、构建命令、发布目录等。在「Site Name」字段填写上你的站点名称。其余配置如果没有特殊要求,无需修改,我们已经设定好了默认配置。
|
63
48
|
|
64
|
-
<Image
|
65
|
-
alt={'配置 LobeChat 站点名称'}
|
66
|
-
height={712}
|
67
|
-
inStep
|
68
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/f3885537-6d43-422f-b1b8-e70732401025'}
|
69
|
-
/>
|
49
|
+
<Image alt={'配置 LobeChat 站点名称'} height={712} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/f3885537-6d43-422f-b1b8-e70732401025'} />
|
70
50
|
|
71
|
-
点击 「Add environment variables」按钮,添加站点环境变量:
|
51
|
+
点击 「Add environment variables」按钮,添加站点环境变量:
|
72
52
|
|
73
|
-
<Image
|
74
|
-
alt={'添加 LobeChat 站点环境变量'}
|
75
|
-
height={537}
|
76
|
-
inStep
|
77
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/3b607482-4d99-455a-bc10-3090dd4fe3c5'}
|
78
|
-
/>
|
53
|
+
<Image alt={'添加 LobeChat 站点环境变量'} height={537} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/3b607482-4d99-455a-bc10-3090dd4fe3c5'} />
|
79
54
|
|
80
|
-
以配置 OpenAI 为例,你需要添加的环境变量如下:
|
55
|
+
以配置 OpenAI 为例,你需要添加的环境变量如下:
|
81
56
|
|
82
|
-
| 环境变量
|
83
|
-
|
|
84
|
-
| `OPENAI_API_KEY`
|
85
|
-
| `ACCESS_CODE`
|
86
|
-
| `OPENAI_PROXY_URL` | 可选 | 如果你手动配置了 OpenAI 接口代理,可以使用此配置项来覆盖默认的 OpenAI API 请求基础 URL | `https://aihubmix.com/v1` ,默认值:`https://api.openai.com/v1` |
|
57
|
+
| 环境变量 | 类型 | 描述 | 示例 |
|
58
|
+
| ------------------ | -- | ------------------------------------------------------- | ---------------------------------------------------------- |
|
59
|
+
| `OPENAI_API_KEY` | 必选 | 这是你在 OpenAI 账户页面申请的 API 密钥 | `sk-xxxxxx...xxxxxx` |
|
60
|
+
| `ACCESS_CODE` | 必选 | 添加访问此服务的密码,你可以设置一个长密码以防被爆破,该值用逗号分隔时为密码数组 | `awCT74` 或 `e3@09!` or `code1,code2,code3` |
|
61
|
+
| `OPENAI_PROXY_URL` | 可选 | 如果你手动配置了 OpenAI 接口代理,可以使用此配置项来覆盖默认的 OpenAI API 请求基础 URL | `https://aihubmix.com/v1` ,默认值:`https://api.openai.com/v1` |
|
87
62
|
|
88
|
-
<Callout type={'tip'}>
|
89
|
-
|
90
|
-
|
91
|
-
</Callout>
|
63
|
+
<Callout type={'tip'}>
|
64
|
+
LobeChat 支持的完整环境变量列表请参考 [📘 环境变量](/zh/docs/self-hosting/environment-variables)
|
65
|
+
部分
|
66
|
+
</Callout>
|
92
67
|
|
93
|
-
添加完成后,最后点击「Deploy lobe-chat」 进入部署阶段。
|
68
|
+
添加完成后,最后点击「Deploy lobe-chat」 进入部署阶段。
|
94
69
|
|
95
|
-
<Image
|
96
|
-
alt={'环境变量添加完成'}
|
97
|
-
height={600}
|
98
|
-
inStep
|
99
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9f74ec4-ce63-4ce9-b9e2-34bda6fda10b'}
|
100
|
-
/>
|
70
|
+
<Image alt={'环境变量添加完成'} height={600} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/c9f74ec4-ce63-4ce9-b9e2-34bda6fda10b'} />
|
101
71
|
|
102
|
-
### 等待部署完成
|
72
|
+
### 等待部署完成
|
103
73
|
|
104
|
-
点击部署后,会进入站点详情页面,你可以点击青色字样的「Deploying your site」或者 「Building」 黄色标签查看部署进度。
|
74
|
+
点击部署后,会进入站点详情页面,你可以点击青色字样的「Deploying your site」或者 「Building」 黄色标签查看部署进度。
|
105
75
|
|
106
|
-
<Image
|
107
|
-
alt={'Netlify 站点详情页'}
|
108
|
-
height={396}
|
109
|
-
inStep
|
110
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/a7fd85d5-fd32-4756-814e-ff7ab7567fe1'}
|
111
|
-
/>
|
76
|
+
<Image alt={'Netlify 站点详情页'} height={396} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/a7fd85d5-fd32-4756-814e-ff7ab7567fe1'} />
|
112
77
|
|
113
|
-
进入部署详情,你会看到下述界面,这意味着你的 LobeChat 正在部署中,只需等待部署完成即可。
|
78
|
+
进入部署详情,你会看到下述界面,这意味着你的 LobeChat 正在部署中,只需等待部署完成即可。
|
114
79
|
|
115
|
-
<Image
|
116
|
-
alt={'LobeChat 部署构建中'}
|
117
|
-
height={325}
|
118
|
-
inStep
|
119
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/1ed8b13d-046e-47c8-bd61-116ffdf5d01b'}
|
120
|
-
/>
|
80
|
+
<Image alt={'LobeChat 部署构建中'} height={325} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/1ed8b13d-046e-47c8-bd61-116ffdf5d01b'} />
|
121
81
|
|
122
|
-
部署构建过程中:
|
82
|
+
部署构建过程中:
|
123
83
|
|
124
|
-
<Image
|
125
|
-
alt={'部署构建中'}
|
126
|
-
height={558}
|
127
|
-
inStep
|
128
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/1c82d707-cb6f-4924-b246-a5235a919864'}
|
129
|
-
/>
|
84
|
+
<Image alt={'部署构建中'} height={558} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/1c82d707-cb6f-4924-b246-a5235a919864'} />
|
130
85
|
|
131
|
-
### 部署成功,开始使用
|
86
|
+
### 部署成功,开始使用
|
132
87
|
|
133
|
-
如果你的界面中的 Deploy Log 如下所示,意味着你的 LobeChat 部署成功了。
|
134
|
-
|
135
|
-
<Image
|
136
|
-
alt={'部署成功'}
|
137
|
-
height={558}
|
138
|
-
inStep
|
139
|
-
src={'https://github.com/lobehub/lobe-chat/assets/28616219/c1f945d1-f3e2-4100-b6bb-24d4cb13c438'}
|
140
|
-
/>
|
88
|
+
如果你的界面中的 Deploy Log 如下所示,意味着你的 LobeChat 部署成功了。
|
141
89
|
|
142
|
-
|
90
|
+
<Image alt={'部署成功'} height={558} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/c1f945d1-f3e2-4100-b6bb-24d4cb13c438'} />
|
91
|
+
|
92
|
+
此时,你可以点击「Open production deploy」,即可访问你的 LobeChat 站点
|
143
93
|
|
144
94
|
<Image alt={'访问你的 LobeChat 站点'} height={527} inStep src={'https://github.com/lobehub/lobe-chat/assets/28616219/b04723eb-64ad-4028-a901-dc4e4ee2d0c1'} />
|
145
95
|
</Steps>
|
@@ -20,16 +20,15 @@ If you want to deploy LobeChat on Railway, you can follow the steps below:
|
|
20
20
|
<Steps>
|
21
21
|
### Prepare your OpenAI API Key
|
22
22
|
|
23
|
-
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
23
|
+
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
24
24
|
|
25
|
-
### Click the button below to deploy
|
25
|
+
### Click the button below to deploy
|
26
26
|
|
27
|
-
[](https://railway.app/template/FB6HrV?referralCode=9bD9mT)
|
27
|
+
[](https://railway.app/template/FB6HrV?referralCode=9bD9mT)
|
28
28
|
|
29
|
-
### Once deployed, you can start using it
|
29
|
+
### Once deployed, you can start using it
|
30
30
|
|
31
|
-
### Bind a custom domain (optional)
|
32
|
-
|
33
|
-
You can use the subdomain provided by Railway, or choose to bind a custom domain. Currently, the domains provided by Railway have not been contaminated, and most regions can connect directly.
|
31
|
+
### Bind a custom domain (optional)
|
34
32
|
|
33
|
+
You can use the subdomain provided by Railway, or choose to bind a custom domain. Currently, the domains provided by Railway have not been contaminated, and most regions can connect directly.
|
35
34
|
</Steps>
|
@@ -19,16 +19,15 @@ tags:
|
|
19
19
|
<Steps>
|
20
20
|
### 准备好你的 OpenAI API Key
|
21
21
|
|
22
|
-
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
22
|
+
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
23
23
|
|
24
|
-
### 点击下方按钮进行部署
|
24
|
+
### 点击下方按钮进行部署
|
25
25
|
|
26
|
-
[](https://railway.app/template/FB6HrV?referralCode=9bD9mT)
|
26
|
+
[](https://railway.app/template/FB6HrV?referralCode=9bD9mT)
|
27
27
|
|
28
|
-
### 部署完毕后,即可开始使用
|
28
|
+
### 部署完毕后,即可开始使用
|
29
29
|
|
30
|
-
### 绑定自定义域名(可选)
|
31
|
-
|
32
|
-
你可以使用 Railway 提供的子域名,也可以选择绑定自定义域名。目前 Railway 提供的域名还未被污染,大多数地区都可以直连。
|
30
|
+
### 绑定自定义域名(可选)
|
33
31
|
|
32
|
+
你可以使用 Railway 提供的子域名,也可以选择绑定自定义域名。目前 Railway 提供的域名还未被污染,大多数地区都可以直连。
|
34
33
|
</Steps>
|
@@ -20,18 +20,17 @@ If you want to deploy LobeChat on RepoCloud, you can follow the steps below:
|
|
20
20
|
<Steps>
|
21
21
|
### Prepare your OpenAI API Key
|
22
22
|
|
23
|
-
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
23
|
+
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
24
24
|
|
25
|
-
### One-click to deploy
|
25
|
+
### One-click to deploy
|
26
26
|
|
27
|
-
[![][deploy-button-image]][deploy-link]
|
27
|
+
[![][deploy-button-image]][deploy-link]
|
28
28
|
|
29
|
-
### Once deployed, you can start using it
|
29
|
+
### Once deployed, you can start using it
|
30
30
|
|
31
|
-
### Bind a custom domain (optional)
|
32
|
-
|
33
|
-
You can use the subdomain provided by RepoCloud, or choose to bind a custom domain. Currently, the domains provided by RepoCloud have not been contaminated, and most regions can connect directly.
|
31
|
+
### Bind a custom domain (optional)
|
34
32
|
|
33
|
+
You can use the subdomain provided by RepoCloud, or choose to bind a custom domain. Currently, the domains provided by RepoCloud have not been contaminated, and most regions can connect directly.
|
35
34
|
</Steps>
|
36
35
|
|
37
36
|
[deploy-button-image]: https://d16t0pc4846x52.cloudfront.net/deploy.svg
|
@@ -18,18 +18,17 @@ tags:
|
|
18
18
|
<Steps>
|
19
19
|
### 准备好你的 OpenAI API Key
|
20
20
|
|
21
|
-
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
21
|
+
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
22
22
|
|
23
|
-
### 点击下方按钮进行部署
|
23
|
+
### 点击下方按钮进行部署
|
24
24
|
|
25
|
-
[![][deploy-button-image]][deploy-link]
|
25
|
+
[![][deploy-button-image]][deploy-link]
|
26
26
|
|
27
|
-
### 部署完毕后,即可开始使用
|
27
|
+
### 部署完毕后,即可开始使用
|
28
28
|
|
29
|
-
### 绑定自定义域名(可选)
|
30
|
-
|
31
|
-
你可以使用 RepoCloud 提供的子域名,也可以选择绑定自定义域名。目前 RepoCloud 提供的域名还未被污染,大多数地区都可以直连。
|
29
|
+
### 绑定自定义域名(可选)
|
32
30
|
|
31
|
+
你可以使用 RepoCloud 提供的子域名,也可以选择绑定自定义域名。目前 RepoCloud 提供的域名还未被污染,大多数地区都可以直连。
|
33
32
|
</Steps>
|
34
33
|
|
35
34
|
[deploy-button-image]: https://d16t0pc4846x52.cloudfront.net/deploy.svg
|
@@ -19,18 +19,17 @@ If you want to deploy LobeChat on SealOS, you can follow the steps below:
|
|
19
19
|
<Steps>
|
20
20
|
### Prepare your OpenAI API Key
|
21
21
|
|
22
|
-
Go to [OpenAI](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
22
|
+
Go to [OpenAI](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
23
23
|
|
24
|
-
### Click the button below to deploy
|
24
|
+
### Click the button below to deploy
|
25
25
|
|
26
|
-
[![][deploy-button-image]][deploy-link]
|
26
|
+
[![][deploy-button-image]][deploy-link]
|
27
27
|
|
28
|
-
### After deployment, you can start using it
|
28
|
+
### After deployment, you can start using it
|
29
29
|
|
30
|
-
### Bind a custom domain (optional)
|
31
|
-
|
32
|
-
You can use the subdomain provided by SealOS, or choose to bind a custom domain. Currently, the domains provided by SealOS have not been contaminated, and can be directly accessed in most regions.
|
30
|
+
### Bind a custom domain (optional)
|
33
31
|
|
32
|
+
You can use the subdomain provided by SealOS, or choose to bind a custom domain. Currently, the domains provided by SealOS have not been contaminated, and can be directly accessed in most regions.
|
34
33
|
</Steps>
|
35
34
|
|
36
35
|
[deploy-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
|
@@ -18,18 +18,17 @@ tags:
|
|
18
18
|
<Steps>
|
19
19
|
### 准备好你的 OpenAI API Key
|
20
20
|
|
21
|
-
前往 [OpenAI](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
21
|
+
前往 [OpenAI](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
22
22
|
|
23
|
-
### 点击下方按钮进行部署
|
23
|
+
### 点击下方按钮进行部署
|
24
24
|
|
25
|
-
[![][deploy-button-image]][deploy-link]
|
25
|
+
[![][deploy-button-image]][deploy-link]
|
26
26
|
|
27
|
-
### 部署完毕后,即可开始使用
|
27
|
+
### 部署完毕后,即可开始使用
|
28
28
|
|
29
|
-
### 绑定自定义域名(可选)
|
30
|
-
|
31
|
-
你可以使用 SealOS 提供的子域名,也可以选择绑定自定义域名。目前 SealOS 提供的域名还未被污染,大多数地区都可以直连。
|
29
|
+
### 绑定自定义域名(可选)
|
32
30
|
|
31
|
+
你可以使用 SealOS 提供的子域名,也可以选择绑定自定义域名。目前 SealOS 提供的域名还未被污染,大多数地区都可以直连。
|
33
32
|
</Steps>
|
34
33
|
|
35
34
|
[deploy-button-image]: https://raw.githubusercontent.com/labring-actions/templates/main/Deploy-on-Sealos.svg
|
@@ -20,20 +20,19 @@ If you want to deploy LobeChat on Vercel, you can follow the steps below:
|
|
20
20
|
<Steps>
|
21
21
|
### Prepare your OpenAI API Key
|
22
22
|
|
23
|
-
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
23
|
+
Go to [OpenAI API Key](https://platform.openai.com/account/api-keys) to get your OpenAI API Key.
|
24
24
|
|
25
|
-
### Click the button below to deploy
|
25
|
+
### Click the button below to deploy
|
26
26
|
|
27
|
-
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat
|
27
|
+
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Flobehub%2Flobe-chat\&env=OPENAI_API_KEY,ACCESS_CODE\&envDescription=Find%20your%20OpenAI%20API%20Key%20by%20click%20the%20right%20Learn%20More%20button.%20%7C%20Access%20Code%20can%20protect%20your%20website\&envLink=https%3A%2F%2Fplatform.openai.com%2Faccount%2Fapi-keys\&project-name=lobe-chat\&repository-name=lobe-chat)
|
28
28
|
|
29
|
-
Simply log in with your GitHub account, and remember to fill in `OPENAI_API_KEY` (required) and `ACCESS_CODE` (recommended) in the environment variables page.
|
29
|
+
Simply log in with your GitHub account, and remember to fill in `OPENAI_API_KEY` (required) and `ACCESS_CODE` (recommended) in the environment variables page.
|
30
30
|
|
31
|
-
### After deployment, you can start using it
|
31
|
+
### After deployment, you can start using it
|
32
32
|
|
33
|
-
### Bind a custom domain (optional)
|
34
|
-
|
35
|
-
Vercel's assigned domain DNS may be polluted in some regions, so binding a custom domain can establish a direct connection.
|
33
|
+
### Bind a custom domain (optional)
|
36
34
|
|
35
|
+
Vercel's assigned domain DNS may be polluted in some regions, so binding a custom domain can establish a direct connection.
|
37
36
|
</Steps>
|
38
37
|
|
39
38
|
## Automatic Synchronization of Updates
|
@@ -19,20 +19,19 @@ tags:
|
|
19
19
|
<Steps>
|
20
20
|
### 准备好你的 OpenAI API Key
|
21
21
|
|
22
|
-
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
22
|
+
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
|
23
23
|
|
24
|
-
### 点击下方按钮进行部署
|
24
|
+
### 点击下方按钮进行部署
|
25
25
|
|
26
|
-
[![][deploy-button-image]][deploy-link]
|
26
|
+
[![][deploy-button-image]][deploy-link]
|
27
27
|
|
28
|
-
直接使用 GitHub 账号登录即可,记得在环境变量页填入 `OPENAI_API_KEY` (必填) and `ACCESS_CODE`(推荐);
|
28
|
+
直接使用 GitHub 账号登录即可,记得在环境变量页填入 `OPENAI_API_KEY` (必填) and `ACCESS_CODE`(推荐);
|
29
29
|
|
30
|
-
### 部署完毕后,即可开始使用
|
30
|
+
### 部署完毕后,即可开始使用
|
31
31
|
|
32
|
-
### 绑定自定义域名(可选)
|
33
|
-
|
34
|
-
Vercel 分配的域名 DNS 在某些区域被污染了,绑定自定义域名即可直连。
|
32
|
+
### 绑定自定义域名(可选)
|
35
33
|
|
34
|
+
Vercel 分配的域名 DNS 在某些区域被污染了,绑定自定义域名即可直连。
|
36
35
|
</Steps>
|
37
36
|
|
38
37
|
## 自动同步更新
|