Home Send It!

Your Own Push Notifications from VPS: ntfy in Docker + Send Scripts

Buy Your Own Push Notifications from VPS: ntfy in Docker + Send Scripts

  • Instant delivery
  • Guarantees
  • Open reviews
  • Reliable support
Seller
Новинка Супер хит!
Sales
0
Product price:
625.4₽
This product is provided by a Digiseller seller. Delivery after payment is handled by Digiseller / Oplata.info.
Your own push notification server on your VPS: ntfy in Docker, with no third-party services and no subscriptions. Your scripts send ntfy a plain HTTP request, and it delivers push notifications to the free ntfy app on your phone (Android / iOS) — like regular notifications. Good for website-down alerts, cron job reports, reminders, and any event from your scripts.

ntfy is a small open-source server: messages live in a cache on disk and survive restarts, and topic access is password-protected — without authorization nobody can write to your notifications. Topics split the streams: alerts for incidents, cron for job reports, reminders for reminders.

Setup is one-time: put a password in .env, run docker compose up -d, create a user with one command, and subscribe to a topic in the ntfy app. After that, notifications go out with a single command: ./ntfy-send.sh "Title" "Text". A notification can carry a priority (min, low, default, high, urgent), icon tags, and a click action — a URL that opens when you tap it. On a network error the send is retried up to 3 times, and --dry-run checks the config without sending anything.

The archive includes three ready cron examples: a website-down alert (checked every 5 minutes), a report on any cron job's run, and a one-line reminder. The examples work right after .env is configured — just enter your site and paths.

WHAT'S INSIDE THE ARCHIVE
• docker-compose.yml — ntfy in Docker: persistent cache, auth file, deny-all by default, port 8080, healthcheck
• notify.py — sending via the ntfy HTTP API: topic, title, priority, tags, click action, auth, --dry-run, retry on network error
• ntfy-send.sh — one-command sending from cron and scripts
• .env.example — sample settings: address, topic, login, password
• examples/site-down-alert.sh — website-down alert (cron every 5 minutes)
• examples/cron-report.sh — report on any cron job's run
• examples/reminder.sh — one-line reminder
• test_ntfy.py — automated logic tests on fake responses
• README.md and PDF — full guide: install, user, subscription, cron, priorities

GUIDE STEPS
1. .env.example → .env: enter your password and server address.
2. docker compose up -d — ntfy starts on port 8080.
3. Create a user: docker compose exec ntfy ntfy user add --role=user admin.
4. ntfy app on your phone: subscribe to http://YOUR_VPS:8080/alerts.
5. Test without sending: python3 notify.py --topic alerts --message "Test" --dry-run.
6. First send: ./ntfy-send.sh "Hello" "ntfy works".
7. Cron examples: website down, job report, reminder.

WHAT YOU NEED
A VPS with Docker and Docker Compose, Python 3.10+ (standard library only, no dependencies), open port 8080, and 20 minutes for the first setup. The ntfy app is free (Android / iOS).

HONEST LIMITS
ntfy is a self-hosted service: notifications go through your server, not through Google/Apple directly — the ntfy app on your phone keeps a persistent connection to your server. On iOS delivery goes via ntfy's Firebase/APNS proxy (that's how ntfy itself works); on Android it comes straight from your server. If your VPS is unreachable, notifications won't arrive: check the server's availability separately. Never show anyone the password from .env: with it, anyone can write to your topics. Don't open topics to the internet without authorization.

IMPORTANT
These are files and a guide for self-setup — not a done-for-you installation. If you need ntfy installed on your server turnkey, that's a separate service.

SIMILAR PRODUCTS
• Website Uptime Monitoring Without Docker: cron + curl + Telegram: https://plati.market/itm/website-uptime-monitoring-without-docker-cron-curl-telegram-scripts-guide/6429385
• VPS Disk Monitoring: Space, Growth, Telegram Alerts: https://plati.market/itm/vps-disk-monitoring-space-growth-telegram-alerts/6439442
• SSL Certificate Monitoring with Telegram Alerts: https://plati.market/itm/ssl-certificate-monitoring-with-telegram-alerts-script-guide/6443860
• n8n: Brand Reviews and Mentions — Telegram Alerts: https://plati.market/itm/n8n-brand-reviews-and-mentions-telegram-alerts-workflow-guide/6423717
• Auto-Posting from RSS to VK and Telegram (Pure Python, No n8n): https://plati.market/itm/auto-posting-from-rss-to-vk-and-telegram-pure-python-script-code-guide/6429340
• Portainer: Manage Docker Containers in a Web Panel: https://plati.market/itm/portainer-manage-docker-containers-in-a-web-panel-compose-guide/6429324