Miao-Yunzai/README.md

76 lines
1.6 KiB
Markdown
Raw Normal View History

2024-06-09 01:31:31 +08:00
# Miao-Yunzai
2023-03-04 16:12:48 +08:00
2024-06-08 20:52:49 +08:00
这里是Miao-Yunzai V4 测试仓库,
2024-06-08 20:52:49 +08:00
你应该积极使用 V3 ,它仍然是长期支持并维护的版本。
2024-06-08 20:52:49 +08:00
> 必要环境 Windows/Linux + Chrome/Chromium/Edge
2023-03-04 14:30:13 +08:00
2024-06-10 00:37:59 +08:00
> 必要环境 Node.js>16.14.0 + Redis>5.0.0
2024-06-10 00:37:59 +08:00
推荐使用`18.18.2`版本,如果系统不支持,最低要求`16.14.0`,这是新版`puppeteer`的限制
2024-06-10 17:11:16 +08:00
[点击阅读Miao-Yunzai文档了解更多](https://ningmengchongshui.github.io/Miao-Yunzai-Docs/)
2024-06-09 01:00:07 +08:00
## 使用教程
2024-06-09 01:00:25 +08:00
2024-06-09 01:00:07 +08:00
- 安装源码
2023-03-04 16:12:48 +08:00
2024-06-09 01:00:07 +08:00
```sh
git clone --depth=1 -b dev https://github.com/yoimiya-kokomi/Miao-Yunzai.git
```
2024-06-09 23:45:33 +08:00
- 进入目录
```sh
cd Miao-Yunzai
```
- 安装插件(计划移除中...)
```sh
git clone --depth=1 https://github.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/
```
2024-06-09 01:00:07 +08:00
- 安装依赖
```sh
npm install pnpm -g
pnpm install
```
2024-06-09 01:00:07 +08:00
- 启动
2023-03-04 14:30:13 +08:00
2024-06-09 01:00:07 +08:00
```sh
2024-06-10 00:37:59 +08:00
npm run app
2024-06-09 01:00:07 +08:00
```
2024-06-09 01:00:07 +08:00
- 重新登录
2024-06-09 01:00:07 +08:00
```sh
2024-06-10 17:11:16 +08:00
npm run login
2024-06-09 01:00:07 +08:00
```
2024-06-10 00:37:59 +08:00
- 进程托管
2024-06-09 11:57:45 +08:00
```sh
2024-06-10 00:37:59 +08:00
npm run start
```
2023-05-28 15:25:23 +08:00
2024-06-10 00:37:59 +08:00
- 杀死进程
2024-06-09 11:57:45 +08:00
```sh
2024-06-10 00:37:59 +08:00
npm run kill
```
2024-06-10 09:34:28 +08:00
2024-06-10 17:11:16 +08:00
## 致谢
2024-06-10 09:34:28 +08:00
2024-06-10 17:11:16 +08:00
| 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 |