Miao-Yunzai/README.md

84 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Miao-Yunzai
你应该积极使用 V3 ,它仍然是长期支持并维护的版本
> 必要环境 Windows/Linux + Chrome/Chromium/Edge
> 必要环境 Node.js>16.14.0 + Redis>5.0.0
> 推荐环境 Node.js@18.18.2 + Rediss@6.0.0
[点击阅读Miao-Yunzai文档了解更多](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
```
- 托管
```sh
npm run start
```
- 杀死进程
```sh
npm run kill
```
## 致谢
| 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 |