你会用 TYO Notify 做什么
只要系统能发起一次网络请求,就能把消息推送到你的手机。无需 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
业务与网站
- 新订单或预订
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 / 物联网事件
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
提示:一个主题可以有多个订阅者,因此整个团队都可以关注同一条信息流。公开主题任何知道名称的人都可以读取——请不要在其中发送敏感信息。
