Skip to content
ActionFeed

About 5 minutes · no code rewrite

Move from ntfy or Pushover

ActionFeed accepts the same kind of one-line request you already send. You change the URL, add a token, and your scripts keep working. Then you can add buttons when you want an answer back.

Before you start

  1. Install the ActionFeed app and sign in. See Download.
  2. Create a feed for each kind of alert, for example servers or home.
  3. Create a source token for each script or machine. Each token can send only to the feeds you choose.

From ntfy

Change the host to actionfeed.net and add your token. The topic name becomes the feed name. The headers Title, Priority, Tags and Click map directly.

# before
curl -H "Title: Backup done" \
  -d "412 GB" ntfy.sh/mytopic
# after
curl -H "Title: Backup done" \
  -H "Authorization: Bearer af_…" \
  -d "412 GB" actionfeed.net/mytopic

A token is always required. ActionFeed has no public topics, so a feed name alone is not enough to send to you.

From Pushover

Replace the endpoint. Your Pushover token becomes an ActionFeed source token in the Authorization header, and user becomes a feed name in the URL. The message goes in the request body.

# before
curl -F token=APP -F user=USER \
  -F message="Disk full" \
  https://api.pushover.net/1/messages.json
# after
curl -H "Authorization: Bearer af_…" \
  -H "Title: nas-01" \
  -d "Disk full" \
  actionfeed.net/servers

Add an answer

Add an Actions header to put buttons on the notification. Add Wait to keep the request open until you answer. See the docs for webhooks and the JSON API.

curl actionfeed.net/servers \
  -H "Authorization: Bearer af_…" \
  -H "Actions: Retry, Ignore" \
  -H "Wait: 10m" \
  -d "Backup failed. Retry now?"

Keep your scripts. Gain answers.