https://github.com/mr-python-in-china/luogu-paintboard-bot
https://github.com/mr-python-in-china/luogu-paintboard-bot
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mr-python-in-china/luogu-paintboard-bot
- Owner: Mr-Python-in-China
- Created: 2023-12-05T13:06:04.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T15:03:21.000Z (over 2 years ago)
- Last Synced: 2025-01-11T04:29:31.172Z (over 1 year ago)
- Language: TypeScript
- Size: 10.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# luogu-paintboard-bot
在 luogu 冬日绘版上自动画画。See:
## 使用
```sh
npm install
npm run compile
node ./dist/index.js [-m ] [tokens...]
```
- `mirror`: 镜像源,默认 `https://www.oi-search.com/paintboard/`。
- `image`: 图片路径。
- `width`: 绘画的宽度。
- `x`, `y`: 绘画位置。
- `tokens`: 绘画使用的 tokens 列表,形如:`uid:token` 的形式填写。有多个使用空格分隔。