mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-30 04:15:45 +08:00
doc: 修改侧边栏结构,更新NapCat消息平台教程
This commit is contained in:
+21
-30
@@ -6,7 +6,7 @@ export default sidebar({
|
||||
{
|
||||
text: "功能介绍",
|
||||
icon: "operate",
|
||||
link: "posts/feature"
|
||||
link: "posts/feature",
|
||||
},
|
||||
{
|
||||
text: "部署教程",
|
||||
@@ -18,7 +18,7 @@ export default sidebar({
|
||||
{
|
||||
text: "部署QChatGPT",
|
||||
icon: "flow",
|
||||
prefix:"qchatgpt/",
|
||||
prefix: "qchatgpt/",
|
||||
link: "qchatgpt/",
|
||||
children: [
|
||||
{
|
||||
@@ -36,45 +36,36 @@ export default sidebar({
|
||||
{
|
||||
text: "部署消息平台",
|
||||
icon: "merge",
|
||||
prefix:"platforms/",
|
||||
prefix: "platforms/",
|
||||
link: "platforms/",
|
||||
children: [
|
||||
{
|
||||
text: "Mirai",
|
||||
text: "yiri-mirai",
|
||||
icon: "support",
|
||||
link: "mirai",
|
||||
},
|
||||
{
|
||||
text: "go-cqhttp",
|
||||
text: "nakuru",
|
||||
icon: "state",
|
||||
link: "gocq",
|
||||
},
|
||||
{
|
||||
text: "OpenShamrock",
|
||||
text: "aiocqhttp",
|
||||
icon: "mobile",
|
||||
link: "shamrock",
|
||||
},
|
||||
{
|
||||
text: "Lagrange.OneBot",
|
||||
icon: "light",
|
||||
link: "lagrange",
|
||||
link: "aiocqhttp/",
|
||||
},
|
||||
{
|
||||
text: "QQ 官方 API",
|
||||
icon: "network",
|
||||
link: "official",
|
||||
},
|
||||
{
|
||||
text: "其他兼容的平台",
|
||||
icon: "more",
|
||||
link: "other",
|
||||
}
|
||||
],
|
||||
},{
|
||||
},
|
||||
{
|
||||
text: "填写配置信息",
|
||||
icon: "class",
|
||||
link: "config",
|
||||
}
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -92,29 +83,29 @@ export default sidebar({
|
||||
{
|
||||
text: "platform.json",
|
||||
icon: "config",
|
||||
link: "platform"
|
||||
link: "platform",
|
||||
},
|
||||
{
|
||||
text: "pipeline.json",
|
||||
icon: "config",
|
||||
link: "pipeline"
|
||||
link: "pipeline",
|
||||
},
|
||||
{
|
||||
text: "provider.json",
|
||||
icon: "config",
|
||||
link: "provider"
|
||||
link: "provider",
|
||||
},
|
||||
{
|
||||
text: "command.json",
|
||||
icon: "config",
|
||||
link: "command"
|
||||
link: "command",
|
||||
},
|
||||
{
|
||||
text: "system.json",
|
||||
icon: "config",
|
||||
link: "system"
|
||||
link: "system",
|
||||
},
|
||||
]
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "元数据配置",
|
||||
@@ -126,19 +117,19 @@ export default sidebar({
|
||||
{
|
||||
text: "敏感词 sensitive-words.json",
|
||||
icon: "enum",
|
||||
link: "sensitive-words"
|
||||
link: "sensitive-words",
|
||||
},
|
||||
{
|
||||
text: "模型列表 llm-models.json",
|
||||
icon: "enum",
|
||||
link: "llm-models"
|
||||
link: "llm-models",
|
||||
},
|
||||
{
|
||||
text: "qq-botpy ID 映射 adapter-qq-botpy.json",
|
||||
icon: "enum",
|
||||
link: "adapter-qq-botpy"
|
||||
}
|
||||
]
|
||||
link: "adapter-qq-botpy",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "常见问题",
|
||||
|
||||
@@ -20,6 +20,5 @@ index: false
|
||||
|
||||
- Mirai(QQ):[Mirai部署教程](mirai.md)
|
||||
- go-cqhttp(QQ):[go-cqhttp部署教程](gocq.md)
|
||||
- Shamrock(QQ):[Shamrock部署教程](shamrock.md)
|
||||
- Lagrange(QQ):[Lagrange部署教程](lagrange.md)
|
||||
- aiocqhttp(QQ):[aiocqhttp适配器教程](aiocqhttp/)(支持Shamrock、Lagrange、LiteLoaderQQNT、NapCat)
|
||||
- QQ官方机器人(QQ频道):[QQ 官方 API 部署教程](official.md)
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
---
|
||||
head:
|
||||
- - meta
|
||||
- name: keywords
|
||||
content: Lagrange的部署教程
|
||||
title: aiocqhttp适配器系列教程
|
||||
icon: mobile
|
||||
order: 4
|
||||
author: RockChinQ,ikun0014
|
||||
date: 2024-05-05
|
||||
---
|
||||
|
||||
## OneBot 11 协议
|
||||
|
||||
**OneBot:统一的聊天机器人应用接口标准**
|
||||
|
||||
onebot介绍:[https://onebot.dev/](https://onebot.dev/)
|
||||
|
||||
以下消息框架可以通过 OneBot 11 协议接入,需选择使用`aiocqhttp`作为适配器,修改data下的platform.json文件
|
||||
|
||||

|
||||
|
||||
当前可用的OneBot 11标准消息平台,你可以选择下方任意
|
||||
|
||||
- [shamrock的教程](shamrock.md)
|
||||
- [Lagrange.OneBot的教程](lagrange.md)
|
||||
- [LiteLoaderQQNT的教程](llonebot.md)
|
||||
- [NapCat的教程](napcat.md)
|
||||
+6
-4
@@ -3,15 +3,17 @@ head:
|
||||
- - meta
|
||||
- name: keywords
|
||||
content: 其他消息平台
|
||||
title: 其他兼容的消息平台
|
||||
title: 部署消息平台LiteLoaderQQNT的教程
|
||||
icon: more
|
||||
order: 6
|
||||
author: RockChinQ
|
||||
date: 2024-03-02
|
||||
---
|
||||
|
||||
## OneBot 11 协议
|
||||
# LiteLoaderQQNT
|
||||
|
||||
以下消息框架可以通过 OneBot 11 协议接入,需选择使用`aiocqhttp`作为适配器,填写配置时可参考 Shamrock 和 Lagrange 的方式。
|
||||
- [LiteLoaderQQNT 的 OneBot API 插件](https://github.com/LLOneBot/LLOneBot) 注入 QQ 客户端并将其转换为 OneBot 11 协议
|
||||
|
||||
- [LiteLoaderQQNT 的 OneBot API 插件](https://github.com/LLOneBot/LLOneBot) 注入 QQ 客户端并将其转换为 OneBot 11 协议
|
||||
安装LiteLoaderQQNT的教程:https://llonebot.github.io/zh-CN/guide/getting-started
|
||||
|
||||

|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
head:
|
||||
- - meta
|
||||
- name: keywords
|
||||
content: NapCat的部署教程
|
||||
title: 部署消息平台NapCat的教程
|
||||
icon: mobile
|
||||
order: 5
|
||||
author: Lazy
|
||||
date: 2024-05-13
|
||||
---
|
||||
|
||||
## NapCat介绍
|
||||
|
||||
Lagrange 是一个 QQNT 协议逆向工程框架,比 Shamrock 或 Mirai 更加轻便,而且不需要图形环境,在Linux表现优异,与现有Hook框架有着本质区别,在性能与内存占用方面远远优于基于Hook的框架,现在目前也较为稳定。通过 OneBot 11 协议接入,需选择使用`aiocqhttp`作为适配器,填写配置时可参考 Shamrock 的方式。
|
||||
|
||||
可选平台:
|
||||
|
||||
- Windows
|
||||
- Linux Docker
|
||||
- Linux 非 Docker
|
||||
|
||||
## NapCat安装教程
|
||||
|
||||
https://napneko.github.io/zh-CN/guide/getting-started
|
||||
|
||||
运行后扫码登录
|
||||
|
||||
## NapCat配置教程
|
||||
|
||||
通过 OneBot 11 协议接入,需选择使用`aiocqhttp`作为适配器,填写配置时可参考 Shamrock 和 Lagrange 的方式。
|
||||
|
||||

|
||||
|
||||
登录后,可以在config文件夹中,找到并修改文件(数字对应机器人QQ号):
|
||||
|
||||
参考下图红框修改内容:
|
||||
|
||||

|
||||
|
||||
然后重新运行登录即可,看到提示:
|
||||
|
||||

|
||||
Reference in New Issue
Block a user