ntfy2.com
Service gratuit de notifications push
Essayer
Envoyez une notification à votre téléphone en quelques secondes
- 1. Installez l’appli ntfy et abonnez-vous à un sujet
- 2. Envoyez un message depuis votre terminal
- 3. C’est tout. Votre téléphone vibre.
Publication
Envoyez une notification avec une seule requête HTTP
Message simple
curl -d "Hello" https://ntfy2.com/mytopic
Avec titre et tags
curl \ -H "Title: Disk full" \ -H "Tags: warning" \ -d "Server /dev/sda1 is 95% full" \ https://ntfy2.com/mytopic
Corps JSON
curl -H "Content-Type: application/json" \
-d '{"topic":"mytopic","title":"Alert","message":"Hello"}' \
https://ntfy2.com/
Abonnement
Recevez des notifications via l’appli ntfy, curl ou tout client HTTP
Interroger les messages
curl -s "https://ntfy2.com/mytopic/json?poll=1"
Stream (SSE)
curl -s "https://ntfy2.com/mytopic/json"
WebSocket
wscat -c "wss://ntfy2.com/mytopic/ws"
Envoyez des notifications par e-mail — tout système capable d’envoyer un e-mail peut pousser vers ntfy2
Envoyez un e-mail à votre sujet
echo "Server is down" | mail -s "Alert" mytopic@ntfy2.com
L’adresse du destinataire devient le sujet. L’objet devient le titre. Le corps devient le message.
Fonctionnalités
Aucune inscription requise
Aucune limite
Distribué en edge mondial
Chiffré HTTPS
Compatible appli ntfy
Protocole ouvert