Code Monkey home page Code Monkey logo

yunzai's Introduction

TRSS-Yunzai

Yunzai 应用端,支持多账号,支持协议端:OneBotv11、ComWeChat、GSUIDCore、ICQQ、QQBot、QQ频道、微信、KOOK、Telegram、Discord、OPQBot、Lagrange

访问量 Stars Downloads Releases

访问量

TRSS-Yunzai 后续计划

先刨坑,但也许会咕咕咕

  • 完善现有协议端
  • 支持更多协议端

项目仅供学习交流使用,严禁用于任何商业用途和非法行为

使用方法

建议使用 TRSS Script 一键安装管理

手动安装

环境准备:Windows/Linux/MacOS/Android
Node.js(>=v21), Redis, Git, Chrome(可选)

  1. Git Clone 项目

请根据网络情况选择使用 GitHub 或 Gitee 安装

git clone --depth 1 https://github.com/TimeRainStarSky/Yunzai
git clone --depth 1 https://gitee.com/TimeRainStarSky/Yunzai
cd Yunzai
  1. 推荐安装插件(可选)
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-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
  1. 安装 pnpm 和依赖
npm i -g pnpm
pnpm i
  1. 前台运行
操作 命令
启动 node .
停止 node . stop
  1. 启动协议端
WebSocket
OneBotv11
go-cqhttp

下载运行 go-cqhttp,选择反向 WebSocket,修改 config.yml,以下为必改项:

uin: 账号
password: '密码'
post-format: array
universal: ws://localhost:2536/OneBotv11
LLOneBot

下载安装 LLOneBot,启用反向 WebSocket,添加地址:

ws://localhost:2536/OneBotv11
Shamrock

下载安装 Shamrock,启用被动 WebSocket,添加地址:

ws://localhost:2536/OneBotv11
Lagrange

下载运行 Lagrange.OneBot,修改 appsettings.jsonImplementations

{
  "Type": "ReverseWebSocket",
  "Host": "localhost",
  "Port": 2536,
  "Suffix": "/OneBotv11",
  "ReconnectInterval": 5000,
  "HeartBeatInterval": 5000,
  "AccessToken": ""
}
ComWeChat

下载运行 ComWeChat,修改 .env,以下为必改项:

websocekt_type = "Backward"
websocket_url = ["ws://localhost:2536/ComWeChat"]
GSUIDCore

下载运行 GenshinUID 插件,GSUIDCore 连接地址 修改为:

ws://localhost:2536/GSUIDCore
OPQBot

下载运行 OPQBot,启动参数添加:

-wsserver ws://localhost:2536/OPQBot
插件
  1. 设置主人:发送 #设置主人,日志获取验证码并发送

  2. 使用 pm2 后台运行

操作 命令
启动 pnpm start
停止 pnpm stop
日志 pnpm log
  1. 开机自启
pnpm start
pnpm pm2 save
pnpm pm2 startup

班级群(¿

  1. 用户(897643592)
  2. 开发者(833565573)
  3. 机器人(907431599)

致谢

Nickname Contribution
Yunzai-Bot 乐神的 Yunzai-Bot
Miao-Yunzai 喵喵的 Miao-Yunzai

yunzai's People

Contributors

timerainstarsky avatar cikeyqi avatar 200303hx avatar shikeaixy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.