# TRSS-Yunzai Yunzai 应用端,支持多账号,支持协议端:go-cqhttp、ComWeChat、GSUIDCore、ICQQ、QQ频道、微信、KOOK、Telegram、Discord [![访问量](https://visitor-badge.glitch.me/badge?page_id=TimeRainStarSky.Yunzai&right_color=red&left_text=访%20问%20量)](https://github.com/TimeRainStarSky/Yunzai) [![Stars](https://img.shields.io/github/stars/TimeRainStarSky/Yunzai?color=yellow&label=收藏)](../../stargazers) [![Downloads](https://img.shields.io/github/downloads/TimeRainStarSky/Yunzai/total?color=blue&label=下载)](../../archive/main.tar.gz) [![Releases](https://img.shields.io/github/v/release/TimeRainStarSky/Yunzai?color=green&label=发行版)](../../releases/latest) [![访问量](https://profile-counter.glitch.me/TimeRainStarSky-Yunzai/count.svg)](https://github.com/TimeRainStarSky/Yunzai)
- 基于 [Miao-Yunzai](../../../../yoimiya-kokomi/Miao-Yunzai) 改造,需要同时安装 [miao-plugin](../../../../yoimiya-kokomi/miao-plugin) - 开发文档:[docs 分支](../../tree/docs) ## TRSS-Yunzai 后续计划 先刨坑,但也许会咕咕咕 - 完善现有协议端 - 支持更多协议端 项目仅供学习交流使用,严禁用于任何商业用途和非法行为 ## 使用方法 ### 建议使用 TRSS Script 一键安装管理 - [🌌 TRSS](https://TRSS.me) - [🔼 Vercel](https://TRSS-Script.Vercel.app) - [🐱 GitHub](https://TimeRainStarSky.GitHub.io/TRSS_Script) - [🇬 Gitee](https://Gitee.com/TimeRainStarSky/TRSS_Script) ### 手动安装 > 环境准备: Windows or Linux,Node.js( [版本至少 v18 以上](http://nodejs.cn/download) ), [Redis](https://redis.io/docs/getting-started/installation) 1.克隆项目并安装 genshin miao-plugin TRSS-Plugin(可选) 请根据网络情况选择使用 GitHub 或 Gitee 安装 ``` git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai cd Yunzai git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai-genshin plugins/genshin git clone --depth 1 https://github.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin git clone --depth 1 https://github.com/TimeRainStarSky/TRSS-Plugin plugins/TRSS-Plugin ``` ``` git clone --depth 1 https://gitee.com/TimeRainStarSky/Yunzai cd Yunzai git clone --depth 1 https://gitee.com/TimeRainStarSky/Yunzai-genshin plugins/genshin git clone --depth 1 https://gitee.com/yoimiya-kokomi/miao-plugin plugins/miao-plugin git clone --depth 1 https://Yunzai.TRSS.me plugins/TRSS-Plugin ``` 2.安装 [pnpm](https://pnpm.io/zh/installation) ``` npm install -g pnpm ``` 3.安装依赖 ``` pnpm i ``` 4.运行 ``` node app ``` 5.启动协议端:
go-cqhttp 下载运行 [go-cqhttp](https://docs.go-cqhttp.org),选择反向 WebSocket,修改 `config.yml`,以下为必改项: ``` uin: 账号 password: '密码' post-format: array universal: ws://localhost:2536/go-cqhttp ```
ComWeChat 下载运行 [ComWeChat](https://justundertaker.github.io/ComWeChatBotClient),修改 `.env`,以下为必改项: ``` websocekt_type = "Backward" websocket_url = ["ws://localhost:2536/ComWeChat"] ```
GSUIDCore 下载运行 [GenshinUID 插件](http://docs.gsuid.gbots.work/#/AdapterList),GSUIDCore 连接地址 修改为: ``` ws://localhost:2536/GSUIDCore ```
ICQQ [TRSS-Yunzai ICQQ Plugin](../../../Yunzai-ICQQ-Plugin)
QQ频道 [TRSS-Yunzai QQGuild Plugin](../../../Yunzai-QQGuild-Plugin)
微信 [TRSS-Yunzai WeChat Plugin](../../../Yunzai-WeChat-Plugin)
KOOK [TRSS-Yunzai KOOK Plugin](../../../Yunzai-KOOK-Plugin)
Telegram [TRSS-Yunzai Telegram Plugin](../../../Yunzai-Telegram-Plugin)
Discord [TRSS-Yunzai Discord Plugin](../../../Yunzai-Discord-Plugin)
代理 [TRSS-Yunzai Proxy Plugin](../../../Yunzai-Proxy-Plugin)
6.设置主人:发送 `#设置主人`,后台日志获取验证码并发送 ## 致谢 | Nickname | Contribution | | :-----------------------------------------------------------: | -------------------- | | [Yunzai-Bot](../../../../Le-niao/Yunzai-Bot) | 乐神的 Yunzai-Bot | | [Miao-Yunzai](../../../../yoimiya-kokomi/Miao-Yunzai) | 喵喵的 Miao-Yunzai |