Analytics cookies only (Google Analytics, PostHog). No ad networks, no cross-site tracking. See our privacy policy.
upstream: github.com/Finb/bark-server (opens in new tab) · github.com/binwiederhier/ntfy (opens in new tab)
Pick Bark Server
If every recipient is on an iPhone and you want direct APNs delivery and critical alerts with very little configuration (~8 MB idle RAM).
Pick ntfy
If you need Android or desktop recipients, several subscribers per topic, or users and access control (~13 MB idle RAM).
Bark Server and ntfy are both small Go servers that push a message to your phone from a script. The first question is which phone. Bark is an iOS app, and Bark Server exists to deliver to it through Apple's push service. ntfy has Android and iOS apps, a web app and a plain HTTP stream.
Bark Server takes a GET or POST such as /:key/:title/:body and forwards it
to the registered device through Apple's APNs. The app supports groups, custom
icons and sounds, a click-through URL, time-sensitive notifications and critical
alerts that sound despite silent mode. The server also accepts batch pushes and
offers an MCP endpoint for AI agents. Notification history is kept by the app.
ntfy publishes to topics: curl -d "backup done" http://your-server/mytopic. Every subscriber to the topic gets the message.
It has five priority levels, action buttons, attachments, scheduled delivery,
message templates and e-mail forwarding, some of which need server
configuration.
Bark Server talks to APNs itself, so it needs outbound access to Apple, not to a
Bark-run relay. ntfy's self-hosted server cannot do that for the stock iOS app:
for instant delivery you set upstream-base-url to https://ntfy.sh, which
receives a message ID and a hash of the topic URL and wakes the phone, which then
fetches the message from your server. Without it, the docs say delivery can take
hours.
With Bark, message content passes through your server and Apple's. The app
offers encrypted push with a key you set, so that neither sees the plain text.
The device key in the URL is what lets someone send to your phone. Optional basic
auth is available through BARK_SERVER_BASIC_AUTH_USER and
BARK_SERVER_BASIC_AUTH_PASSWORD, but /register, /ping and /healthz stay
open when it is on.
ntfy as installed by our snippet lets anyone publish and subscribe. It has users
and per-topic access control; set an auth file and deny-all default access
before exposing it.
Bark Server stores devices in an embedded Bbolt file, with MySQL as an option. ntfy uses SQLite or PostgreSQL for its message cache and users; with our snippet's defaults, messages are not kept across restarts until you set a cache file.
Bark Server and the Bark app are MIT. ntfy is dual licensed under Apache-2.0 and GPLv2, and its author sells paid plans for the hosted ntfy.sh, which self-hosting does not need.
In our install check (GCP e2-standard-2, Ubuntu 26.04), idle at first boot, Bark Server used ~8 MB of RAM and ~50 MB of disk (November 2026), and ntfy used ~13 MB of RAM and ~115 MB of disk (August 2026). Both are small enough that this should not decide it.
Bark Server is 1 out of 5: one container on port 8080 with a data volume, then enter the server address in the iOS app. ntfy is 2 out of 5, mostly because of the base URL, authentication and iOS settings.
Choose Bark Server if every recipient uses an iPhone and you want direct APNs delivery, critical alerts and almost nothing to configure.
Choose ntfy if you need Android or desktop recipients, several subscribers on one topic, or access control with users.
See also Gotify vs ntfy.
The install files are on the Bark Server and ntfy pages. Both listen on plain HTTP in our snippets, so add a reverse proxy with TLS before sending anything private.
Bark Server lists a lower minimum: 64 MB vs 256 MB for ntfy.
No. Bark Server is MIT, ntfy is Apache-2.0.
Bark Server if you only need iPhone notifications. ntfy if you also need Android, the web, shared topics or user accounts.
The Bark app described by the project is for iOS, and Bark Server delivers through Apple's push service. Use ntfy or another server for Android phones.
Yes. The app supports encrypted push with a key you set: you encrypt the parameters before sending, so the server and Apple's push service do not see the plain text.
Yes. For instant delivery set upstream-base-url to https://ntfy.sh, which receives a message ID and a hashed topic. The phone fetches the content from your server.
Paid link — we earn a commission if you shop through it.
A router that forwards one request to many services, or your own push server that devices subscribe to.
UI-first push server vs. curl-friendly pub/sub.
A full billing platform under a source-available licence, or a smaller AGPL invoicing app on SQLite.