Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

Commit e524381

Browse files
authored
Merge branch 'v2' into v2
2 parents 2aec6b2 + 36a6eb9 commit e524381

9 files changed

Lines changed: 255 additions & 114 deletions

File tree

.vitepress/config.mjs

Lines changed: 250 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,254 @@ export default defineConfig({
1717
ignoreDeadLinks: true,
1818
cleanUrls: true,
1919
metaChunk: true,
20-
20+
sidebar: [
21+
{
22+
text: "简介",
23+
items: [
24+
{ text: "什么是 AstrBot", link: "/what-is-astrbot" },
25+
{ text: "社区", link: "/community" },
26+
{ text: "常见问题", link: "/faq" },
27+
],
28+
},
29+
{
30+
text: "开源之夏",
31+
base: "/ospp",
32+
collapsed: false,
33+
items: [
34+
{ text: "OSPP 2025", link: "/2025" },
35+
],
36+
},
37+
{
38+
text: "部署",
39+
base: "/deploy",
40+
collapsed: false,
41+
items: [
42+
{
43+
text: "部署 AstrBot",
44+
base: "/deploy/astrbot",
45+
collapsed: true,
46+
items: [
47+
{ text: "🦈 Docker 部署", link: "/docker" },
48+
{ text: "☁️ 雨云一键云部署(NEW)", link: "/rainyun" },
49+
{ text: "💻 Windows 一键部署", link: "/windows" },
50+
{ text: "👍 手动部署", link: "/cli" },
51+
{ text: "😁 宝塔面板部署", link: "/btpanel" },
52+
{ text: "😊 CasaOS 部署", link: "/casaos" },
53+
// { text: "😌 社区提供的部署脚本", link: "/linux-one" },
54+
],
55+
},
56+
{
57+
text: "部署消息平台(协议端)",
58+
base: "/deploy/platform",
59+
collapsed: true,
60+
items: [
61+
{
62+
text: "QQ 官方接口",
63+
base: "/deploy/platform/qqofficial",
64+
collapsed: true,
65+
items: [
66+
{ text: "Webhook 方式", link: "/webhook" },
67+
{ text: "Websockets 方式", link: "/websockets" },
68+
],
69+
},
70+
{
71+
text: "QQ 个人号",
72+
base: "/deploy/platform/aiocqhttp",
73+
collapsed: true,
74+
items: [
75+
{ text: "使用 NapCat", link: "/napcat" },
76+
{ text: "使用 Lagrange", link: "/lagrange" },
77+
{ text: "使用其他端", link: "/others" },
78+
],
79+
},
80+
{ text: "企业微信", link: "/wecom" },
81+
{ text: "微信公众平台", link: "/weixin-official-account" },
82+
// {
83+
// text: "微信个人号",
84+
// base: "/deploy/platform/wechat",
85+
// collapsed: true,
86+
// items: [
87+
// { text: "使用 WeChatPadPro", link: "/wechatpadpro" },
88+
// { text: "使用 Gewechat [失效]", link: "/gewechat" },
89+
// ],
90+
// },
91+
{ text: "飞书", link: "/lark" },
92+
{ text: "钉钉", link: "/dingtalk" },
93+
{ text: "Telegram", link: "/telegram" },
94+
{ text: "Slack", link: "/slack" },
95+
{ text: "Discord", link: "/discord" },
96+
{ text: "KOOK", link: "/kook" },
97+
{ text: "VoceChat", link: "/vocechat" },
98+
],
99+
},
100+
{
101+
text: "部署好后...",
102+
link: "/when-deployed",
103+
},
104+
],
105+
},
106+
{
107+
text: "配置",
108+
base: "/config",
109+
collapsed: false,
110+
items: [
111+
{
112+
text: "接入大模型服务",
113+
base: "/config/providers",
114+
collapsed: true,
115+
items: [
116+
{ text: "接入 302.AI 模型服务", link: "/302ai" },
117+
{ text: "接入 PPIO 派欧云模型服务", link: "/ppio" },
118+
{ text: "接入 OpenAI、DeepSeek 等各种模型", link: "/llm" },
119+
{
120+
text: "接入 Dify",
121+
link: "/dify",
122+
},
123+
{
124+
text: "接入 阿里云百炼应用",
125+
link: "/dashscope",
126+
},
127+
{
128+
text: "接入 Ollama 使用 DeepSeek-R1 等模型",
129+
link: "/provider-ollama",
130+
},
131+
{
132+
text: "接入 LMStudio 使用 DeepSeek-R1 等模型",
133+
link: "/provider-lmstudio",
134+
},
135+
{
136+
text: "接入 OneAPI",
137+
link: "/oneapi",
138+
},
139+
],
140+
},
141+
{
142+
text: "AstrBot 配置文件",
143+
link: "/astrbot-config",
144+
},
145+
{
146+
text: "自定义温度等模型参数",
147+
link: "/model-config",
148+
},
149+
],
150+
},
151+
{
152+
text: "使用",
153+
base: "/use",
154+
collapsed: false,
155+
items: [
156+
{
157+
text: "管理面板",
158+
link: "/webui",
159+
},
160+
{
161+
text: "AstrBot Star(插件)",
162+
link: "/plugin",
163+
},
164+
{
165+
text: "内置指令",
166+
link: "/command",
167+
},
168+
{
169+
text: "函数调用",
170+
link: "/function-calling",
171+
},
172+
{
173+
text: "MCP",
174+
link: "/mcp",
175+
},
176+
{
177+
text: "网页搜索",
178+
link: "/websearch",
179+
},
180+
{
181+
text: "知识库",
182+
link: "/knowledge-base",
183+
},
184+
{
185+
text: "沙箱化代码执行器(beta)",
186+
link: "/code-interpreter",
187+
},
188+
{
189+
text: "配置 Whisper 语音转文字",
190+
link: "/whisper",
191+
},
192+
{
193+
text: "配置文字转语音(TTS)",
194+
link: "/tts",
195+
},
196+
{
197+
text: "更新管理面板",
198+
link: "/update-webui",
199+
},
200+
],
201+
},
202+
{
203+
text: "开发",
204+
base: "/dev",
205+
collapsed: false,
206+
items: [
207+
{
208+
text: "核心代码解释",
209+
base: "/dev/core",
210+
collapsed: true,
211+
items: [
212+
{ text: "整体架构", link: "/overall_architecture" },
213+
{ text: "运行流程", link: "/overall_operation_process" },
214+
],
215+
},
216+
{
217+
text: "插件开发",
218+
base: "/dev/star",
219+
collapsed: true,
220+
items: [
221+
{ text: "插件基础开发", link: "/plugin" },
222+
{ text: "插件数据目录", link: "/all_resources" },
223+
{
224+
text: "插件开发数据",
225+
base: "/dev/star/resources",
226+
collapsed: true,
227+
items: [
228+
{ text: "AstrMessageEvent", link: "/astr_message_event" },
229+
{ text: "AstrBotMessage", link: "/astrbot_message" },
230+
{ text: "MessageType", link: "/message_type" },
231+
{ text: "MessageMember", link: "/message_member" },
232+
{ text: "Context", link: "/context" },
233+
{ text: "Star", link: "/star" },
234+
{ text: "StarMetadata", link: "/star_metadata" },
235+
{ text: "PlatformMetadata", link: "/platform_metadata" },
236+
],
237+
},
238+
],
239+
},
240+
{
241+
text: "接入平台适配器",
242+
link: "/plugin-platform-adapter",
243+
},
244+
],
245+
},
246+
{
247+
text: "其他",
248+
base: "/others",
249+
collapsed: false,
250+
items: [
251+
{
252+
text: "配置文件-大语言模型提供商",
253+
link: "/provider",
254+
},
255+
{
256+
text: "配置文件-消息平台适配器",
257+
link: "/platform",
258+
},
259+
{
260+
text: "自部署文转图",
261+
link: "/self-host-t2i",
262+
},
263+
{
264+
text: "插件下载不了?试试自建 GitHub 加速服务",
265+
link: "/github-proxy",
266+
},
267+
],
268+
},
269+
],
21270
})

deploy/astrbot/btpanel.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ AstrBot 已经上架至宝塔的 Docker 应用商店,支持一键安装。
4343
>| 6195 | 企业微信 `默认` 端口 | 可选 |
4444
>| 6199 | QQ 个人号(aiocqhttp) `默认` 端口 | 可选 |
4545
>| 6196 | QQ 官方接口(Webhook) `默认` 端口 | 可选 |
46-
>| 11451 | 微信个人号(gewechat) `默认` 端口 | 可选 |
4746
>
4847
> 没有列举的平台表示不需要额外放行端口。
4948

deploy/astrbot/linux-one.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Ubuntu安装脚本:
2222
wget -O - https://gitee.com/mc_cloud/mccloud_bot/raw/master/mccloud_install_u.sh | bash
2323
```
2424

25-
支持 QQ 微信 一键管理。命令:bot
25+
支持 QQ 一键管理。命令:bot
2626

2727

2828
## 备注

deploy/platform/aiocqhttp/napcat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ docker logs napcat
118118
在新弹出的窗口中:
119119

120120
- 勾选 `启用`
121-
- `URL` 填写 `ws://宿主机IP:端口/ws`。如 `ws://1.2.3.4:6199/ws`
121+
- `URL` 填写 `ws://宿主机IP:端口/ws`。如 `ws://localhost:6199/ws``ws://127.0.0.1:6199/ws`
122122
- 消息格式:`Array`
123123
- 心跳间隔: `5000`
124124
- 重连间隔: `5000`

deploy/platform/gewechat.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
本页面已经迁移至 [Gewechat](/deploy/platform/wechat/gewechat)
1+
<!-- 本页面已经迁移至 [Gewechat](/deploy/platform/wechat/gewechat)。 -->
2+
We don't officially provide an adapt method for wechat(personal account).

deploy/platform/wechat/gewechat.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)