feat(uptime_kuma_puller): 初始化Uptime Kuma状态监控AstrBot插件

包含依赖配置、gitignore规则、配置Schema与使用文档,支持通过/list、/uptime、/状态、/健康指令查询监控状态,可配置多个监控项目,展示监控项在线状态、延迟及维护和事件公告。
This commit is contained in:
2026-07-17 05:28:08 +08:00
commit d1b49503aa
5 changed files with 322 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
# astrbot_plugin_uptime_kuma_puller
Uptime Kuma 状态监控查询插件,适用于 AstrBot。
## 说明
- 插件通过 AstrBot 指令 `list` 触发。
- 会从 Uptime Kuma 状态页接口拉取监控项、维护公告和事件公告。
- 支持查询单个项目,也支持一次性输出所有已配置项目。
## 安装
- 可通过 AstrBot 插件市场安装。
- 或直接下载整个仓库后放入 AstrBot 插件目录。
## 配置
请在 AstrBot 插件管理面板配置以下字段:
- `query_url`:Uptime Kuma 站点地址,例如 `https://status.example.com`
- `proj_name_list`:状态页项目名称列表
项目名称请填写状态页链接 `/status/<项目名>` 中的 `<项目名>` 部分。
例如:
- 状态页地址是 `https://status.example.com/status/game`
- 则项目名填写 `game`
## 使用方法
- `/list`
- 查询 `proj_name_list` 中的全部项目状态
- `/list <项目名>`
- 查询指定项目状态
也保留了别名:
- `/uptime`
- `/状态`
- `/健康`
## 返回内容
- 监控项在线/离线状态
- 最近一次延迟
- 维护公告
- 事件公告