Skip to content

Latest commit

 

History

History
103 lines (90 loc) · 4.22 KB

README.ja.md

File metadata and controls

103 lines (90 loc) · 4.22 KB

English | 中文 | 日本語

Bark

Bark はプッシュ通知ツールのアプリです。無料でシンプルかつ安全で、APNs を利用するため端末のバッテリーを消耗しません。
Bark は、通知のグループ化、カスタムのプッシュアイコン、サウンド、タイムセンシティブ通知、緊急アラートなど、iOS の通知の多くの高度な機能に対応しています。
さらに、Bark はセルフホストのサーバーに対応しており、プライバシーと安全性を確保するための暗号化されたプッシュ通知も提供しています。

ダウンロード

ドキュメント

https://bark.day.app/#/en-us/

フィードバック

Telegram

使い方

  1. アプリを開き、テスト用の URL をコピーします

  1. 内容を変更して、この URL にリクエストします
You can send GET or POST requests, and you'll receive a push notification immediately upon success.

URL structure: The first part is the key, followed by three matches
/:key/:body 
/:key/:title/:body 
/:key/:title/:subtitle/:body 

title: The push title, slightly larger than the body text 
subtitle: The push subtitle
body: The push content, use the newline character '\n' for line breaks 
For POST requests, the parameter names are the same as above

パラメーター

  • url
// Click on the push notification to jump to the specified URL
https://api.day.app/yourkey/url?url=https://www.google.com 
  • group
// Specify the push message group to view pushes by group.
https://api.day.app/yourkey/group?group=groupName
  • icon(iOS 15 以降で対応)
// Specify the push message icon
https://api.day.app/yourkey/icon?icon=http://day.app/assets/images/avatar.jpg
  • sound
// Specify the push message sound
https://api.day.app/yourkey/sound?sound=alarm
  • call
// Play sound repeatedly for 30 seconds
https://api.day.app/yourkey/call?call=1
  • ciphertext
// Encrypted push message
https://api.day.app/yourkey/ciphertext?ciphertext=
  • タイムセンシティブ通知
// Set time-sensitive notifications
https://api.day.app/yourkey/时效性通知?level=timeSensitive

// Optional values 
// active: Default value when not set, the system will immediately display the notification by lighting up the screen. 
// timeSensitive: Time-sensitive notification, can be displayed during focus mode. 
// passive: Adds notification to the notification list without lighting up the screen.
  • 緊急アラート
// Set critical alerts
https://api.day.app/yourkey/criticalAlert?level=critical

Critical alerts will ignore silent and do not disturb modes, always playing the notification sound and displaying on the screen.

その他