pushbag vs ntfy
Choose ntfy for a self-hosted notification server or an iOS receiver. Choose pushbag when the job produces an HTML report and you want the alert to open a specific revision.
| Attribute | ntfy | pushbag |
|---|---|---|
| Price | Free access and paid hosted tiers | Free HTML plan; paid plans $5 or $15/month |
| Receiving or viewing platforms | Android, iOS and web | Web dashboard, Android app and iPhone app |
| Self-hosting | Run your own server | Hosted service |
| Open source | Open-source server and clients | Private service repository |
| Files and HTML | File attachments or an external click URL | HTML, images and short videos |
| Version history | Expiring attachments; message IDs | Stable URL and pinned version URL |
| Private access | Topic access control and bearer tokens | Owner sign-in or temporary grant |
| Command line | ntfy CLI | pushbag upload and notify |
| HTTP API | Publish to a topic by POST or PUT | Artifact uploads and channel publishing |
| Agent skills | Shell publishing documented; skill unspecified | Packaged guides with project installs |
A message, an attachment, or a report
For “the backup finished,” an HTTP topic can be enough. Subscribe in ntfy and have the job publish to that topic. ntfy also accepts file attachments, so an image in an alert alone is a reason to consider either tool. ntfy publishing guide
For a report you’ll revise after review, keep a stable artifact URL and a separate link to the snapshot that triggered the alert.
Choose ntfy when subscribers need a topic
A useful first trial is a backup job that produces one short line of output. Create a topic on the server you intend to keep, subscribe from a phone, and publish the result over HTTP. For a restricted topic, configure access on that server before moving real job details into the message. A topic name used by several machines is a routing decision that every publisher has to get right. ntfy publishing
Self-hosting matters if your build machines must send to an endpoint your team operates. Budget for running the server, configuring access and making it reachable from the devices that receive messages. The ntfy installation guide covers binary packages, containers and configuration. A quick trial against the hosted instance tests the client experience, but does not establish that a phone can reach your own deployment. Test that path on the network where the phone will actually be used. ntfy installation
The receiving platform can settle the decision before file handling comes into it. If the reviewer carries an iPhone and needs a publicly released native push client, include ntfy in the trial. Try both a plain message and an attachment small enough for the chosen server. Record the attachment expiry in your test. A screenshot useful during a shift has a different shelf life from the evidence cited in next month’s incident review. ntfy clients and plans · Attachment behavior
Check the offline case
Try a job that finishes while the reviewer is away from the phone. When the device reconnects, can the reviewer still reach the evidence that explains the message? A status line with a link to a short-lived attachment may be enough if the person checks promptly. If the investigation regularly spans several shifts, store the underlying report somewhere with a retention period that covers that interval and put its address in the notification.
Also check the permissions of the destination. A colleague might receive a message from the topic while lacking access to the build system linked from it. Open the link under a subscriber’s account before declaring the trial successful. Write down which service to consult for a missing message and which one to consult for a refused file request.
Choose pushbag when a revision is the unit of review
Consider a nightly restore drill. The operator needs the result on their phone, while the person writing the incident follow-up needs the precise HTML table that showed a missing partition. Generate one HTML file per run. With a Both key authorized for Personal, publish the file and request the alert together.
pushbag upload restore-drill.html --private --notify --title "Restore drill findings" --json
Save the first entry’s ID with the backup configuration. On the next drill, add a version to that artifact. A dashboard bookmark can follow the most recent drill while the incident record cites the revision that triggered the alert. Plan limits and inactivity retention still apply, so keep the original reports according to your own retention requirements. Artifact limits
Use both for a staged trial
Keep the existing ntfy topic and change only one publisher. For a report cleared for the topic’s audience, upload the HTML publicly using an Artifacts key. Take its version URL from the JSON result and attach that URL to the ntfy message using the Click header. Set NTFY_TOPIC_URL to the full writable topic URL in your environment and include the authorization required by your server. ntfy click action
report_link=$(pushbag upload restore-summary.html --public --json | jq -er '.[0].versionUrl') &&
curl --fail-with-body -H "Click: $report_link" \
-H "Authorization: Bearer $NTFY_TOKEN" \
--data-binary 'Restore summary ready' "$NTFY_TOPIC_URL"
Try opening the alert after a second summary has been published. The link should still identify the first run. For owner-only material, use a private artifact and confirm that the recipient can sign in as the owner. A subscriber’s access to the topic does not carry across to the file.
Frequently asked questions
Where can I receive pushbag notifications?
Use the pushbag Android app, available on Google Play, or read the channel in the web dashboard. The iPhone app is on its way to the App Store. Until it is listed, you can build it from source.
Can an ntfy attachment replace a review archive?
An uploaded ntfy attachment has an expiry set by the server. Keep the underlying file elsewhere if you need it after that window.
Do I need two notification apps to try pushbag with ntfy?
You can keep receiving messages in ntfy. A public pushbag version link opens in a browser, so test that route before changing subscribers.
Which tool lets me run the notification server on my network?
ntfy documents installing and operating its server. That gives you control over the endpoint your publishers and subscribers use.