Miao-Yunzai/README.md

70 lines
1.5 KiB
Markdown

# Miao-Yunzai
> 必要环境 Windows/Linux + Chrome/Chromium/Edge
> 必要环境 Node.js>16.14.0 + Redis>5.0.0
> 推荐环境 Node.js@18.18.2 + Rediss@6.0.0
[☞点击阅读文档了解更多](https://ningmengchongshui.github.io/Miao-Yunzai-Docs/)
## 使用教程
- 安装源码
```sh
git clone --depth=1 -b dev https://gitee.com/yoimiya-kokomi/Miao-Yunzai.git
```
- 进入目录
```sh
cd Miao-Yunzai
```
- 安装插件
```sh
# 原神插件
git clone --depth=1 -b genshin https://gitee.com/yoimiya-kokomi/Miao-Yunzai.git ./plugins/genshin/
# 喵喵插件
git clone --depth=1 https://gitee.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/
```
- 安装依赖
```sh
npm install pnpm -g
pnpm install
```
- 连接代码
```sh
npm link
npm link yunzai
```
- 启动
```sh
npm run app
```
- 重新登录
```sh
npm run login
```
## 致谢
| Nickname | Contribution |
| :-----------------------------------------------------------: | -------------------- |
| [Yunzai v3.0](https://gitee.com/le-niao/Yunzai-Bot) | 乐神的Yunzai-Bot V3 |
| [GardenHamster](https://github.com/GardenHamster/GenshinPray) | 模拟抽卡背景素材来源 |
| [西风驿站](https://bbs.mihoyo.com/ys/collection/839181) | 角色攻略图来源 |
| [米游社友人A](https://bbs.mihoyo.com/ys/collection/428421) | 角色突破素材图来源 |
| [icqq](https://github.com/icqqjs/icqq) | ICQQ |