A push for every run. An alarm for the run that never comes.
One URL per channel. POST from curl, cron or CI and your Android phone buzzes. Give the channel a deadline, and a job that goes quiet buzzes it too.
Scripts, cron jobs and CI. One URL, any language.
Send it a POST
- Send
- POST text, or JSON with title, message, priority and url. Or use the headers X-Title, X-Priority and X-Url.
- Answer
- 202 with the message id: anypush saved the message and is sending it to your phones.
- Retry
- An Idempotency-Key makes a retry within 24 hours count once.
- Limits
- Up to 64 KiB a message, 60 a minute per channel.
- Deadline
- Checked every minute, on Free and on Plus. An overdue alert goes out about a minute after the silence you allowed runs out.
- Run by
- OID4Pay B.V., Amsterdam. Messages delete themselves after 7 days (30 on Plus). The app has no analytics.
export ANYPUSH_URL=https://api.anypush.app/h/your-token
curl -H 'X-Title: Deploy finished' \
-H 'X-Priority: high' \
-H 'X-Url: https://ci.example.com/run/42' \
-d 'web@4f2a91c is live' \
"$ANYPUSH_URL" HTTP/2 202 {"duplicate":false,"id":1042}
- name: Notify on failure
if: failure()
run: |
curl -sS -H "X-Priority: high" \
-H "X-Url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" \
-d "${{ github.workflow }} failed on ${{ github.ref_name }}" \
${{ secrets.ANYPUSH_URL }} import json, os, urllib.request
def notify(message, title="", priority="normal"):
req = urllib.request.Request(
os.environ["ANYPUSH_URL"],
data=json.dumps({"message": message, "title": title,
"priority": priority}).encode(),
headers={"Content-Type": "application/json"},
)
urllib.request.urlopen(req, timeout=10)
notify("Training finished: loss 0.031", title="gpu-box") The app fills in your own URL in recipes for cron, GitHub Actions, Home Assistant, Python, PowerShell, iPhone Shortcuts, Zapier, IFTTT and Make.
When a job goes quiet
The run that never happens reaches you too.
Give the channel an overdue alert: the longest silence you allow, from 1 hour on Free or 5 minutes on Plus, up to 31 days. Let the job send a message after every good run. If nothing arrives in time, you get one alert, about a minute after the silence runs out. The next message clears it.
# crontab, with an overdue alert of 1 day on the channel
ANYPUSH_URL=https://api.anypush.app/h/your-token
0 3 * * * /usr/local/bin/backup.sh && curl -fsS -m 10 --retry 3 -H 'X-Priority: low' -d 'backup ok' "$ANYPUSH_URL" # configuration.yaml
rest_command:
anypush:
url: !secret anypush_url
method: POST
content_type: application/json
payload: '{"title": "{{ title }}", "message": "{{ message }}"}' No SDK, no lock-in.
A channel is one HTTP POST. Nothing in your code imports anypush, so moving away is deleting the line that calls it.
Free and Plus
What Free covers, and when Plus is worth it.
Free covers a first few jobs. You need Plus when you want a fourth channel, or an alarm that fires sooner than an hour after the last message.
Free
Recommended3 channels, 3 overdue alerts for a silence of 1 hour or longer, and 7 days of message history. No ads.
€0
Plus for 1 month
100 channels, overdue alerts for a silence as short as 5 minutes, and 30 days of history.
€3.99
Plus for 12 months
The same as 1 month, for a year.
€29.99
Plus is sold in the app, through Google Play. It never renews by itself. When a pass ends, everything you set up keeps running: history returns to 7 days, and anything new must fit the Free limits.
Already on ntfy or Pushover?
Keep them if you want an iPhone app or your own server: anypush is Android only and cannot be self-hosted. Use anypush when the alert starts with a person as well as a script: a printable QR doorbell, a daily check-in, and the same channel for your cron jobs. The comparison has the full table.
Questions
Is there an SDK, and what if I leave?
No SDK. A channel is one HTTP POST, so the only thing in your code that depends on anypush is the line that calls it. To leave, delete the channel and that line.
Is the URL a secret?
Yes. Anyone with it can send to the channel, so keep it out of public code, repositories and logs: put it in an environment variable or your CI's secrets. If it leaks, delete the channel and make a new one, and the old URL stops working at once.
What does the 202 answer mean?
That anypush accepted and saved the message and is sending it to your phones. It does not prove that a phone showed it. The message waits in the app's inbox either way, for 7 days (30 on Plus).
How late can an overdue alert be?
About a minute. anypush looks at every channel's deadline each minute, on both plans. The plan only sets how short the allowed silence can be.
Can quiet hours hold back an alert?
Quiet hours make ordinary messages arrive silently. A message sent with priority high, and every overdue alert, still comes through.
Should this be my only monitoring?
For anything critical, no. Alerts are best effort, and a phone can delay or silence them. Use anypush beside your other monitoring, not instead of it.
Recipes, each tested: cron job monitoring, backup failed alerts, GitHub Actions notifications and push notifications with curl. Also with anypush: emails that arrive as phone alerts, a QR doorbell, and how anypush compares with Pushover, ntfy and Healthchecks.io.
Open source on GitHub: the GitHub Action, the Home Assistant integration (a HACS custom repository), and nodes for n8n and Node-RED. All at github.com/anypush.