mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-03-26 19:00:11 +08:00
Add docs for Bark notify hook.
parent
5cf02b9edd
commit
c51493db5c
22
notify.md
22
notify.md
@ -492,4 +492,26 @@ export FEISHU_WEBHOOK='https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxxxxxxx
|
||||
export FEISHU_KEYWORD=acme
|
||||
|
||||
acme.sh --set-notify --notify-hook feishu
|
||||
```
|
||||
|
||||
## 16. Set notification for iOS Bark
|
||||
|
||||
Send notification via Bark's API. The notification will be pushed to the specified pushover application.
|
||||
|
||||
Download Bark from [App Store](https://apps.apple.com/cn/app/bark-%E7%BB%99%E4%BD%A0%E7%9A%84%E6%89%8B%E6%9C%BA%E5%8F%91%E6%8E%A8%E9%80%81/id1403753865).
|
||||
|
||||
Open the app and get the API URL. It usually starts with "https://api.day.app/" and followed by a UUID of length 22. Set BARK_API_URL to the complete URL, which is in the format of "https://api.day.app/XXXXXXXXXXXXXXXXXXXXXX".
|
||||
|
||||
You can also use your own API server. Please refer to <https://github.com/Finb/bark-server>.
|
||||
|
||||
BARK_SOUND is an optional variable to set the sound of notification. Please refer to the app to get all available sounds.
|
||||
|
||||
BARK_GROUP is the group name of the notifications, which can be shown in the notification center of iOS.
|
||||
|
||||
```bash
|
||||
export BARK_API_URL="https://api.day.app/XXXXXXXXXXXXXXXXXXXXXX"
|
||||
export BARK_SOUND="newmail"
|
||||
export BARK_GROUP=ACME
|
||||
|
||||
acme.sh --set-notify --notify-hook bark
|
||||
```
|
Loading…
Reference in New Issue
Block a user