TYO Notifyの使いどころ
システムがWebリクエストを送信できれば、あなたのスマートフォンにプッシュ通知を送れます。SDKもアカウントも不要——トピックへPUTまたはPOSTするだけです。よくある例を挙げます。
これらの例は、当社がホストするブローカーに送信します。自分自身の運用に切り替えたいですか?tyo-mqをセルフホストして、freemq.tyo.com.auを自分のドメインやIPアドレスに置き換えてください——それ以外はすべて同じです。
運用と監視
- サイトやサービスがダウンする
curl -H "Priority: urgent" -d "api.example.com is DOWN" https://freemq.tyo.com.au/notify/ops - ディスクがほぼ満杯 / 高負荷
curl -d "disk 92% on db-01" https://freemq.tyo.com.au/notify/ops - SSL証明書の有効期限が近づいている
curl -d "cert expires in 7 days" https://freemq.tyo.com.au/notify/ops - 稼働監視ツールが発報する(Uptime Kumaなど)
point its ntfy integration at your topic
CI/CDとジョブ
- ビルドが成功または失敗した
curl -d "CI #482 failed on main" https://freemq.tyo.com.au/notify/ci - デプロイが完了した
curl -d "prod deploy done" https://freemq.tyo.com.au/notify/deploys - 夜間バックアップが成功または失敗した
curl -d "backup ok (14.2GB)" https://freemq.tyo.com.au/notify/backups - 長時間ジョブが完了した(レンダリング、トレーニング、パイプライン)
curl -d "training complete" https://freemq.tyo.com.au/notify/jobs
ビジネスとWeb
- 新規注文または予約
curl -H "Title: New order" -d "#1043 — $240" https://freemq.tyo.com.au/notify/orders - お問い合わせフォームの送信
curl -d "New enquiry from Jane" https://freemq.tyo.com.au/notify/leads - 新しいサポートチケット
curl -d "Ticket #88 opened" https://freemq.tyo.com.au/notify/support - 支払い受領 / 在庫僅少
curl -d "Invoice 22 paid" https://freemq.tyo.com.au/notify/finance
ホームとオートメーション
- Home Assistant / IoTのイベント
RESTful notify to /notify/{topic} - ドアベル、モーション検知、温度しきい値
curl -d "front door" https://freemq.tyo.com.au/notify/home - Tasker / MacroDroidのトリガー
send via the au.com.tyo.notify.SEND_MESSAGE intent - スクリプトからの個人的なリマインダー
curl -d "leave now — traffic" https://freemq.tyo.com.au/notify/me
ヒント: 1つのトピックには多数の購読者を持たせることができるため、チーム全体で同じフィードを見守ることができます。公開トピックはその名前を知っている人なら誰でも読み取れます——機密情報は載せないでください。
