lsp-yggdrasil/README.MD

62 lines
1.9 KiB
Plaintext
Raw Normal View History

2022-05-02 15:12:46 +00:00
# 老色批世界树((
老色批世界树 —— 一个高性能麻将、奥苏力不-印寨克托接口的实现。使用fastify来把处理速度加速到老色批的速度
具体有多快呢?登录处理从数据包发出到接收到服务端响应仅需要 __***6ms***__根据机器不同可能会有浮动以实际情况为准
2022-05-02 15:12:46 +00:00
[![996.icu](https://img.shields.io/badge/link-996.icu-red.svg)](https://996.icu)
[![LICENSE](https://img.shields.io/badge/license-Anti%20996-blue.svg)](https://github.com/996icu/996.ICU/blob/master/LICENSE)
2022-05-04 08:59:08 +00:00
[![Build Status](https://ci.186526.xyz/api/badges/Lama3L9R/lsp-yggdrasil/status.svg)](https://ci.186526.xyz/Lama3L9R/lsp-yggdrasil)
2022-05-02 15:12:46 +00:00
---
## 开发计划:
2022-05-04 08:59:08 +00:00
#### Beta 1.0:
- [ ] 基础世界树 API
2022-05-04 08:59:08 +00:00
+ [x] /authserver
+ [ ] /sessionserver
+ [ ] /api
- [ ] 进阶 API
- [ ] 皮肤上传和安全检查
+ [ ] 皮肤数据的RSA签名
- [ ] 兼容S3后端
- [ ] 服务器状态接口
- [ ] authlib-injector 元数据接口
#### Release 1.0
- [ ] TGbot前端
- [ ] 单元测试
2022-05-04 08:59:08 +00:00
+ [ ] API
- [ ] /authserver
- [ ] /sessionserver
- [ ] /api
- [ ] Advanced API
+ [ ] Utils
#### 未来的版本:
- [ ] 完整 web 管理
---
## 使用方法
1. 安装Node.js、yarn、并下载源代码
+ 推荐 Node.js 版本:`16.15.0 LTS (Latest LTS)`,最低兼容 `14 LTS`
+ 使用 `$ npm install -g yarn` 来安装yarn
+ 使用 `$ git clone https://git.186526.xyz/Lama3L9R/lsp-yggdrasil.git` 下载源代码
2. 使用 `$ yarn install` 安装依赖库
3. 配置 `src/config.js`
4. 使用 `$ node build.js` 创建运行时构建
5. 使用 `$ node path/to/lsp-yggdrasil.full.cjs` 起飞
2022-05-04 08:59:08 +00:00
## 常见问题
2022-05-04 08:59:08 +00:00
- Q支持 `https` 嘛?
- A不支持请使用反代来使用`https`,或者您也可以修改 `index.js` 中初始化代码。
2022-05-04 08:59:08 +00:00
## 内置的 yarn 指令
2022-05-04 08:59:08 +00:00
+ `dev` —— 启动开发环境服务器
+ `test` —— 单元测试