From 22ccf3b7f0ccd90bc62c4335c5aca601b2e08894 Mon Sep 17 00:00:00 2001 From: Yurn <132195516+Nyayurn@users.noreply.github.com> Date: Wed, 2 Oct 2024 08:50:48 +0800 Subject: [PATCH] docs: update Yutori guild (#11) * Update sidebars.ts * Create yutori.mdx * Update index.mdx --- packages/docs/docs/guide/connect/index.mdx | 1 - packages/docs/docs/guide/connect/yutori.mdx | 11 +++++++++++ packages/docs/sidebars.ts | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 packages/docs/docs/guide/connect/yutori.mdx diff --git a/packages/docs/docs/guide/connect/index.mdx b/packages/docs/docs/guide/connect/index.mdx index 83d3abc..a250503 100644 --- a/packages/docs/docs/guide/connect/index.mdx +++ b/packages/docs/docs/guide/connect/index.mdx @@ -25,7 +25,6 @@ Chronocat 支持多种应用和框架。你可以从这里开始接入。 | -------------------------------------------------------------------- | ---------- | -------------------------------------- | | [Satori](https://github.com/satorijs/satori) | TypeScript | Satori 的官方 TypeScript 实现 | | [satori-rs](https://github.com/satorijs/satori-rs) | Rust | Satori 官方管理的 Rust 实现 | -| [Yutori-Next](https://nyayurn.github.io/Yutori-Next) | Kotlin | 基于 Satori 协议的多平台机器人开发框架 | | [satori-sdk-go](https://github.com/satori-protocol-go/satori-sdk-go) | Go | Go 语言开发的 Satori 协议的 SDK 客户端 | | [Patory](https://github.com/im-patory/patory) | PHP | Satori PHP 实现 | | [SPPS](https://github.com/im-patory/spps) | PHP | Satori PHP SDK | diff --git a/packages/docs/docs/guide/connect/yutori.mdx b/packages/docs/docs/guide/connect/yutori.mdx new file mode 100644 index 0000000..cbf74f9 --- /dev/null +++ b/packages/docs/docs/guide/connect/yutori.mdx @@ -0,0 +1,11 @@ +--- +title: 接入 Yutori +sidebar_position: 6 +--- + +[Yutori](https://github.com/Nyayurn/yutori) 是一个支持多聊天平台的 Kotlin Multiplatform 通讯软件开发框架。 + +Yutori 提供了 [Satori 扩展](https://github.com/Nyayurn/yutorix-satori),可以直接使用 Satori 适配器接入 Chronocat。 + +添加 `yutorix-satori-core` 和 `yutorix-satori-adapter` 依赖,`host` 填写 Chronocat 开启 Satori +服务的地址,`port` 填写 Satori 服务的 port,`token` 填写 Satori 服务的 token。编译运行项目,即可连接到 Chronocat。 diff --git a/packages/docs/sidebars.ts b/packages/docs/sidebars.ts index 6638f61..fc02dd7 100644 --- a/packages/docs/sidebars.ts +++ b/packages/docs/sidebars.ts @@ -48,6 +48,7 @@ const sidebars: SidebarsConfig = { 'guide/connect/nonebot', 'guide/connect/avilla', 'guide/connect/kiramibot', + 'guild/connect/yutori', ], }, {