完善bark配置说明

This commit is contained in:
TingHsi 2022-05-09 14:46:05 +08:00
parent 4194fbabf1
commit 57ae78e4db
3 changed files with 30 additions and 3 deletions

3
.gitignore vendored
View File

@ -138,4 +138,5 @@ dmypy.json
config/*.json
# push配置
config/push.ini
config/push.ini
.DS_Store

View File

@ -102,7 +102,7 @@
# push.ini配置教程
* push_server 可选范围 cqhttp ftqq(sever酱) pushplus telegram dingrobot
* push_server 可选范围 cqhttp ftqq(sever酱) pushplus telegram dingrobot bark
## Wecom
@ -150,3 +150,29 @@ webhook=https://oapi.dingtalk.com/robot/send?access_token=XXX
secret=
```
## bark
一款开源的消息推送工具 https://github.com/Finb/Bark
手机安装bark客户端获得托管在api.day.app的Token也可以自己搭建私有服务端。
**api_url**一般不用改,自己搭建私有服务端的需要改掉
**token**填写**APP**内**URL**中的密钥,此选项必填
> `https://api.day.app/` `token部分` `/Title/NotificationContent`
填写示例
```ini
[setting]
enable=true
push_server=bark
[bark]
api_url=https://api.day.app
token=XXX
```

View File

@ -1,6 +1,6 @@
[setting]
enable=false
#共有 cqhttp ftqq(sever酱) pushplus telegram wecom dingrobot
#共有 cqhttp ftqq(sever酱) pushplus telegram wecom dingrobot bark
push_server=cqhttp
#server酱 pushplus dingrobot 的推送token
push_token=123456