Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk3 min

How to Send Phone Alerts from a Server You Control with ntfy

ntfy can deliver alerts from your own server to a phone using simple HTTP requests. Learn the server basics, curl publishing, access controls, and platform-specific delivery trade-offs.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

ntfy lets scripts and services send push notifications to a phone through a simple HTTP request. You can run its server yourself, but self-hosting is not just installing the software: the default server is open to everyone, and instant iPhone delivery requires an upstream push service.

How ntfy sends a notification

ntfy is an HTTP-based publish/subscribe service. A publisher sends a message to a topic, and clients subscribed to that topic receive it. As the ntfy project puts it in its Getting started documentation, “ntfy lets you send push notifications to your phone or desktop via scripts from any computer, using simple HTTP PUT or POST requests.”

As an Amazon Associate I earn from qualifying purchases.

You do not create a topic in advance: choose a topic name and publish to it. But topics are public on an unprotected server, so a hard-to-guess name can discourage casual discovery without providing real access control. Use authentication and topic permissions for messages that need protection.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Choose where to run ntfy

The official installation guide offers the server as a binary, OS package, or Docker image. Listed Linux architectures include amd64, armv7, and arm64. You can use an always-on Linux machine, an ARM single-board computer, or a hosted Linux instance; dedicated hardware is not required.

#1 Best Overall
Sale
Samsung Galaxy A17 5G Smart Phone 128GB US 1 Yr Manufacturer Warranty Black | Large AMOLED, High-Res Camera, Durable Design, Super Fast Charging, Expandable Storage, Circle to Search, 2025
  • YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
  • LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
  • MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
  • NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
  • BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.

For a basic server, run ntfy serve. Docker examples expose the web UI and API on port 80. Configuration can be supplied through a server YAML file, command-line flags, or environment variables. If you need messages to persist through restarts, configure the cache file and map storage for /var/cache/ntfy in your Docker deployment; consult the current configuration documentation for the exact settings.

Package instructions can change: the installation page says the Debian/Ubuntu repository moved to archive.ntfy.sh in September 2025. Follow that page for current commands rather than relying on an older install snippet.

Rank #2
Tracfone Motorola Moto G 2025, 64GB, Saphire Blue (Locked to | Prepaid Smartphone- 6.6" 120Hz Display, 5G , 50MP Quad Pixel Camera, Long-Lasting Battery
  • Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Tracfone plan required, activating is easy, just 3 steps.
  • DISPLAY: Immersive viewing on a 6.7-inch super-bright 120Hz display with powerful stereo speakers and Bass Boost for cinematic entertainment.
  • CAMERA SYSTEM: Advanced 50MP Quad Pixel camera captures sharp, detailed photos and videos in any lighting condition
  • PERFORMANCE: Lightning-fast 5G connectivity paired with a powerful processor and RAM Boost for smooth multitasking.
  • BATTERY LIFE: Long-lasting 5000mAh battery with TurboPower charging technology delivers hours of power in minutes.

Secure the server before using it

A default ntfy server allows anyone to read and write topics. The configuration documentation describes authentication and authorization, including user and admin roles and per-topic read/write permissions. Decide who can publish and subscribe before putting sensitive or operational messages on a server reachable from the internet.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use HTTPS. ntfy’s publishing documentation explains that Basic authentication only Base64-encodes credentials; it does not encrypt them. HTTPS protects credentials in transit. A private or unpredictable topic name is not a substitute for access controls.

Rank #3
Sale
Samsung Galaxy A17 5G Smart Phone 128GB, US 1 Yr Manufacturer Warranty Blue | Large AMOLED, High-Res Camera, Durable Design, Super Fast Charging, Expandable Storage, Circle to Search, 2025
  • YOUR CONTENT, SUPER SMOOTH: The ultra-clear 6.7" FHD+ Super AMOLED display of Galaxy A17 5G helps bring your content to life, whether you're scrolling through recipes or video chatting with loved ones.¹
  • LIVE FAST. CHARGE FASTER: Focus more on the moment and less on your battery percentage with Galaxy A17 5G. Super Fast Charging powers up your battery so you can get back to life sooner.²
  • MEMORIES MADE PICTURE PERFECT: Capture every angle in stunning clarity, from wide family photos to close-ups of friends, with the triple-lens camera on Galaxy A17 5G.
  • NEED MORE STORAGE? WE HAVE YOU COVERED: With an improved 2TB of expandable storage, Galaxy A17 5G makes it easy to keep cherished photos, videos and important files readily accessible whenever you need them.³
  • BUILT TO LAST: With an improved IP54 rating, Galaxy A17 5G is even more durable than before.⁴ It’s built to resist splashes and dust and comes with a stronger yet slimmer Gorilla Glass Victus front and Glass Fiber Reinforced Polymer back.

Send a notification from a script

Once the server is reachable and access is configured, publish with HTTP PUT or POST. The simplest form sends the message as the request body:

curl -d "Backup completed" https://ntfy.example.com/backup-alerts

Replace the example host with your server and choose a topic that your intended phone client subscribes to. The same endpoint can be called from scripts or other HTTP-capable tools. ntfy’s publishing documentation covers options such as titles, tags, priority, click URLs, delayed delivery, Markdown, and attachments. Attachments require server-side storage configuration.

Rank #4
Sale
Samsung Galaxy S26 Ultra, Unlocked Android Smartphone, 512GB, Black | Privacy Display, Galaxy AI, AI Camera, Super Fast Charging 3.0, Durable Battery, 2026, US 1 Year Warranty
  • PRIVACY DISPLAY: Automatically hide your screen from those beside you. The built-in privacy display can be preset¹ to turn on when receiving notifications, typing passwords, or using specific apps
  • TYPE IT IN. TRANSFORM IT FAST: Enhance any shot in seconds on your smartphone by using Photo Assist² with Galaxy AI.³ Add objects, restore details, or apply new styles by simply typing or tapping
  • NIGHTS, CAPTURED CLEARLY: From gigs to city lights, record and capture moments after dark with clarity using Nightography so your photos and videos stay crisp and clear on your Samsung Galaxy
  • MAKE IT. EDIT IT. SHARE IT: Turn everyday moments into something personal with creative tools built right into your mobile phone, whether it’s a special contact photo, custom wallpaper, an invitation or more⁴
  • HELP THAT KEEPS UP: Stay in the moment while Now Nudge with Galaxy AI helps you respond faster and stay organized with smart suggestions⁵ that appear exactly when you need them on your phone

Pick a phone client and understand delivery

The ntfy phone documentation lists Android apps through Google Play, F-Droid, and GitHub releases, and an iOS app through the App Store. A progressive web app is another option. The practical differences are chiefly about background delivery and the services involved:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Receive method Background delivery path What to consider
Android, Google Play build Uses Firebase Cloud Messaging, according to ntfy’s privacy policy. Background notifications use Google push infrastructure.
Android, F-Droid build Does not include Google services or Firebase; uses a foreground service to maintain a direct connection, according to the privacy policy. Consider this build if avoiding Google services matters, while accounting for its different connection and background behavior.
iOS app Uses Firebase Cloud Messaging via Apple Push Notification service, according to the privacy policy. A self-hosted server needs an upstream push path for instant alerts.
Progressive web app Requires Web Push configuration on a self-hosted server. Check the current PWA compatibility table for supported browser and operating-system combinations.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What iPhone self-hosting requires

Self-hosting ntfy alone does not guarantee instant iPhone alerts. iOS restricts background processing; for instant push, the self-hosted server must forward poll requests to an upstream service connected to APNS/Firebase, such as ntfy.sh. The phone must also be able to reach your server over the network. The configuration guide explains this setup, and the known issues page provides related caveats.

Best Value
Tracfone Moto g Play 2024 Prepaid Phone with a 1-Yr Plan Included | Prepaid Smartphone with Full YR Plan Included bundled with 1500 Min/Text/Data for365 days of service - Locked to Tracfone
  • Carrier: This phone is locked to Tracfone, which means this device can only be used on the Tracfone wireless network. Activating is easy, just 3 steps.
  • ACTIVATION Promotion: Includes 1500 min, 1500 texts & 1500 MB Data + add more as you need it
  • CAMERA SYSTEM: 50MP Quad Pixel camera. Capture sharper, more vibrant photos day or night with 4x the light sensitivity.
  • PERFORMANCE: Blazing-fast Qualcomm performance. Get the speed you need for great entertainment with a Snapdragon 680 processor and 4GB of RAM.
  • 64GB built-in storage. Get plenty of room for photos, movies, songs, and apps. Made for US

What self-hosting does—and does not—control

Running your own server gives you control over where notification data is stored and how long it is retained. It does not automatically remove every outside service from delivery: Google Play Android and iOS use Firebase-related push infrastructure, and integrations you configure may send data to other third parties. The F-Droid Android build avoids Firebase but maintains a direct connection with a foreground service. These distinctions are described in ntfy’s privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.