Miao-Yunzai/README.md

84 lines
2.2 KiB
Markdown
Raw Normal View History

2023-03-04 14:30:13 +08:00
# Miao-Yunzai v3
2023-03-04 16:12:48 +08:00
基于乐神版[云崽v3.0](https://gitee.com/le-niao/Yunzai-Bot) 改造,需要同时安装[miao-plugin](https://github.com/yoimiya-kokomi/miao-plugin.git)
对数据结构进行了改造无法直接迁回原版Yunzai请根据自己需求情况慎重安装
2023-05-28 15:25:23 +08:00
使用[icqq](https://github.com/icqqjs/icqq) 登录防止oicq可能出现的低版本问题
2023-03-04 14:30:13 +08:00
## 使用方法
2024-06-10 20:31:13 +08:00
[点击阅读Miao-Yunzai文档了解更多](https://ningmengchongshui.github.io/Miao-Yunzai-Docs/)
2024-06-10 20:31:13 +08:00
> 必要环境 Windows/Linux + Chrome/Chromium/Edge
2023-03-04 14:30:13 +08:00
2024-06-10 20:31:13 +08:00
> 必要环境 Node.js>16.14.0 + Redis>5.0.0
> 推荐环境 Node.js=18.18.2 + Redis>6.0.0
> 推荐使用NVM对Node.js进行版本管理
### 克隆项目
> 请根据网络情况选择Github安装或Gitee安装
```sh
# 使用 Github
git clone --depth=1 https://github.com/yoimiya-kokomi/Miao-Yunzai.git
cd Miao-Yunzai
git clone --depth=1 https://github.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/
```
```sh
# 使用Gitee
git clone --depth=1 https://gitee.com/yoimiya-kokomi/Miao-Yunzai.git
cd Miao-Yunzai
git clone --depth=1 https://gitee.com/yoimiya-kokomi/miao-plugin.git ./plugins/miao-plugin/
2023-03-04 14:30:13 +08:00
```
2024-06-10 20:31:13 +08:00
### 安装[pnpm](https://pnpm.io/zh/installation)
> 已安装的可以跳过
```sh
2023-03-04 14:30:13 +08:00
npm install pnpm -g
```
2024-06-10 20:31:13 +08:00
### 安装依赖
2024-06-10 20:31:13 +08:00
> 外网环境请修改的本地npm配置.npmrc
```sh
2024-06-10 20:31:13 +08:00
# 直接安装
pnpm install -P
2023-03-04 14:30:13 +08:00
```
2024-06-10 20:31:13 +08:00
### 运行
2024-06-10 20:31:13 +08:00
> 首次运行按提示输入登录
```sh
2024-06-10 20:31:13 +08:00
npm run app
```
2023-05-28 15:25:23 +08:00
2024-06-10 20:31:13 +08:00
### 登录
2023-05-28 15:25:23 +08:00
```sh
2024-06-10 20:31:13 +08:00
npm run login
```
2023-05-28 15:25:23 +08:00
2024-06-10 20:31:13 +08:00
### 托管
2023-05-28 15:25:23 +08:00
```sh
2024-06-10 20:31:13 +08:00
npm run start
```
2023-03-04 14:30:13 +08:00
## 致谢
2023-05-28 15:25:23 +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 |