diff --git a/notify.md b/notify.md index 2c2d1c1..a0aa73e 100644 --- a/notify.md +++ b/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 . + +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 ``` \ No newline at end of file