Sites like Gotify: four ways to get a script alert onto a phone
Two self-hosted servers, one public topic service and one hosted endpoint, compared on what they ask of you.
3 min read
Sites like Gotify matter to a specific kind of operator: someone who already runs a server and wants alerting to stay on it. If that is you, Gotify is not a compromise. It is the right shape, and the alternatives worth considering are the ones that change the thing you dislike, whether that is maintenance, mobile setup or the fact that every new machine needs network access to your host.
Four routes, ranked by what they ask of you
| Route | Server you run | Per-message cost | Setup effort |
|---|---|---|---|
| Gotify | Yes | None | Install, expose over HTTPS, connect app |
| ntfy (self-hosted) | Yes | None | Install, configure, connect app |
| ntfy (public server) | No | Free tier, paid Pro | Install app, pick a topic |
| AyePing | No | Ping allowance | Install app, create token, POST |
The hosted rows are listed last only because they ask less. On capability, all four deliver a short message to a phone from a script.
Where Gotify still wins
Gotify's documentation is unusually clear about its model: a client receives messages, an application only sends, and a message carries content, title, creation date, application id and a priority. That priority field is a real advantage when you want an alert to bypass a phone's quiet hours for a genuine outage.
Running it yourself also means no allowance to watch. A backup that retries four times costs nothing extra.
Where the hosted options win
Two things push people away from self-hosting: the certificate or tunnel that silently expires, and the second machine that cannot reach your private host.
A hosted endpoint answers both. On AyePing, the address is your username, the credential is a bearer token created in the app, and the body is a title plus an optional message and label. Nothing needs a public IP.
curl https://ayeping.com/ping/@you \
-H "Authorization: Bearer $AYEPING_TOKEN" \
-d "Nightly sync failed"
The /ping/@username form exists for tools that dislike a leading @ in a path. Both endpoints accept the same body.
The trap with public ntfy topics
ntfy's own documentation is direct about one thing worth repeating: topic names are public, so pick something that cannot be guessed. A public topic that anyone can read is fine for a status page and wrong for anything with a hostname or a customer name in it. Self-hosted ntfy removes that concern.
Running the numbers
As of November 2026, AyePing's Free plan gives 5 pings and 3 tokens with no card. Hobby is $8 a month or $49 a year for 120,000 pings and 25 tokens, and Pro is $20 a month or $120 a year for 1,200,000. Pings do not roll over.
Set that against a small virtual server plus the hours spent on TLS and updates. For one operator with a handful of scripts, the hosted plan usually wins on time. For a team with a compliance requirement, the server wins on rules.
What to check before you migrate
Write down what currently reaches your phone. If every alert comes from a machine on the same private network, moving to a hosted endpoint adds an external dependency for no gain. If some alerts come from client sites or CI runners you do not control, that is exactly the case a hosted route solves.
FAQ
Does AyePing replace Gotify's priority levels?
AyePing's documented body has a title, a message and a label with text and color. If a workflow depends on priority-based delivery rules, check the current docs before migrating.
Can I keep Gotify and add a hosted endpoint?
Yes, and it is a common split: private network alerts stay on Gotify, anything outside the network goes through a hosted ping.
Is ntfy free to self-host?
ntfy's documentation covers self-hosting on your own infrastructure, and the project publishes a Pro subscription for its hosted service. Check its pricing page for current terms.
FAQ
Does AyePing replace Gotify's priority levels?
AyePing's documented body has a title, a message and a label with text and color. If a workflow depends on priority-based delivery rules, check the current docs before migrating.
Can I keep Gotify and add a hosted endpoint?
Yes, and it is a common split: private network alerts stay on Gotify, anything outside the network goes through a hosted ping.
Is ntfy free to self-host?
ntfy's documentation covers self-hosting on your own infrastructure, and the project publishes a Pro subscription for its hosted service. Check its pricing page for current terms.
Originally published on claudegpt.si