https://github.com/btmuli/whitetea
A Probot app
https://github.com/btmuli/whitetea
Last synced: about 1 year ago
JSON representation
A Probot app
- Host: GitHub
- URL: https://github.com/btmuli/whitetea
- Owner: BTMuli
- License: isc
- Created: 2023-10-12T09:21:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-05T07:04:50.000Z (over 1 year ago)
- Last Synced: 2025-06-11T04:14:14.147Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 935 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
Author: 目棃
Description: 说明文档
Date: 2023-10-12
Update: 2024-03-12
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-10-12 19:03:28`
>
> 更新于 `2024-03-12 19:11:08`
# WhiteTea
> A GitHub App built with [Probot](https://github.com/probot/probot) for TeyvatGuide.
辅助 [TeyvatGuide](https://github.com/BTMuli/TeyvatGuide) 的 GitHub App。
## Setup
```sh
# Install dependencies
bun install
# Run the bot with forever
bun start
# Run the bot locally
bun dev
```
## Important
由于未知原因,应用仅能保持数天的正常运行(详见 [`#3`](https://github.com/BTMuli/WhiteTea/issues/3))。
为保证应用正常运行,需要设置定时任务,每天重启一次应用。
以下代码以 **代码目录为 `/Code`,运行环境为 Linux** 为例:
> 需要在运行 `bun start` 后执行。
```sh
# 编辑定时任务
corntab -e
# 添加以下内容
30 2 * * * cd Code;bun reload
```
此后,应用将在每天凌晨 2:30 重启。
## License
[ISC](./LICENSE) © 2023 BTMuli