RMAnnounce
所属分类:机器人/智能制造
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2024-04-18 23:35:21
上 传 者:
sh-1993
说明: 自动拉取 RoboMaster 官网的最新公告并通过飞书机器人发送, stars:5, update:2024-04-15 14:36:34
文件列表:
etc/
internal/
.dockerignore
Dockerfile
go.mod
go.sum
main.go
# RMAnnounce
自动拉取 RoboMaster 官网的最新公告并通过飞书机器人发送。
## Build
```shell
docker build .
```
## Configuration
### Example
```yaml
# 飞书机器人 Webhook
webhooks:
- https://open.feishu.cn/open-apis/bot/v2/hook/...
# RM 公告最后一条 ID
lastId: 1708
```
## Run
### Docker Run
```shell
docker run -d -v /path/to/config.yaml:/app/etc/config.yaml registry.cn-guangzhou.aliyuncs.com/scutrobot/rm-announce:latest
```
### Docker Compose
```yaml
version: '3'
services:
rm-announce:
image: registry.cn-guangzhou.aliyuncs.com/scutrobot/rm-announce:latest
container_name: rm-announce
volumes:
- /path/to/config.yaml:/app/etc/config.yaml
restart: always
```
近期下载者:
相关文件:
收藏者: