Comment by binwiederhier

5 years ago

> You could message the owner of phone directly through a URL. The request would be handled by server on phone!

I know it's not like a web server on the phone or anything, and likely questionable to mention it at all (since I made it), but I made a thing that lets you send notifications to a phone (or desktop) via curl [0] via a simple PUT or POST. It's definitely not a cool protocol since it's simple HTTP, but it's in the spirit of other Unix tools since it's just one thing to do one job.

[0] https://ntfy.sh

Missing in the FAQ: what happens when multiple clients have subscribed on a topic (ex: via SSE)?

In practice (2 SSE clients): all clients are notified.

  • Thanks for the feedback. I'll add it.

    Yes you are correct: It's the nature of pub-sub that all subscribers are notified if a messages arrives on a topic.