2024-06-09 01:31:31 +08:00
|
|
|
|
# Miao-Yunzai
|
2023-03-04 16:12:48 +08:00
|
|
|
|
|
2024-06-10 17:28:12 +08:00
|
|
|
|
你应该积极使用 V3 ,它仍然是长期支持并维护的版本
|
2023-03-07 03:19:41 +08:00
|
|
|
|
|
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
|
2023-03-05 06:42:24 +08:00
|
|
|
|
|
2024-06-11 17:16:28 +08:00
|
|
|
|
> 推荐环境 Node.js@18.18.2 + Rediss@6.0.0
|
2023-03-05 06:42:24 +08:00
|
|
|
|
|
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
|
2024-06-15 11:22:01 +08:00
|
|
|
|
git clone --depth=1 -b dev https://gitee.com/yoimiya-kokomi/Miao-Yunzai.git
|
2024-06-09 01:00:07 +08:00
|
|
|
|
```
|
|
|
|
|
|
2024-06-09 23:45:33 +08:00
|
|
|
|
- 进入目录
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cd Miao-Yunzai
|
|
|
|
|
```
|
|
|
|
|
|
2024-06-13 21:01:16 +08:00
|
|
|
|
- 安装插件(计划移除中...功能暂不可用)
|
2024-06-09 23:45:33 +08:00
|
|
|
|
|
|
|
|
|
```sh
|
2024-06-13 21:01:16 +08:00
|
|
|
|
# 原神插件
|
2024-06-15 11:22:01 +08:00
|
|
|
|
git clone --depth=1 -b genshin https://gitee.com/yoimiya-kokomi/Miao-Yunzai.git ./plugins/genshin/
|
2024-06-13 21:01:16 +08:00
|
|
|
|
|
|
|
|
|
# 喵喵插件
|
2024-06-15 11:22:01 +08:00
|
|
|
|
git clone --depth=1 https://gitee.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/
|
2024-06-09 23:45:33 +08:00
|
|
|
|
```
|
|
|
|
|
|
2024-06-09 01:00:07 +08:00
|
|
|
|
- 安装依赖
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
npm install pnpm -g
|
|
|
|
|
pnpm install
|
|
|
|
|
```
|
2023-03-05 06:42:24 +08:00
|
|
|
|
|
2024-06-11 22:14:33 +08:00
|
|
|
|
- 连接代码
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
npm link
|
|
|
|
|
npm link yunzai
|
|
|
|
|
```
|
|
|
|
|
|
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
|
|
|
|
```
|
2023-03-05 06:42:24 +08:00
|
|
|
|
|
2024-06-09 01:00:07 +08:00
|
|
|
|
- 重新登录
|
2023-03-06 08:38:31 +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
|
|
|
|
```
|
2023-03-07 03:19:41 +08:00
|
|
|
|
|
2024-06-11 17:16:28 +08:00
|
|
|
|
- 托管
|
2024-06-09 11:57:45 +08:00
|
|
|
|
|
|
|
|
|
```sh
|
2024-06-10 00:37:59 +08:00
|
|
|
|
npm run start
|
2023-04-30 14:32:10 +08:00
|
|
|
|
```
|
2023-05-28 15:25:23 +08:00
|
|
|
|
|
2024-06-10 00:37:59 +08:00
|
|
|
|
- 杀死进程
|
2023-04-30 14:32:10 +08:00
|
|
|
|
|
2024-06-09 11:57:45 +08:00
|
|
|
|
```sh
|
2024-06-10 00:37:59 +08:00
|
|
|
|
npm run kill
|
2024-01-31 04:13:59 +08:00
|
|
|
|
```
|
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 |
|