Skip to content

IERoboticsAILab/ntfy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”” ntfy.sh stack

This lab setup uses ntfy.sh, a simple HTTP-based pub-sub notification service, to send real-time alerts and messages. This guide explains how to use ntfy.sh to send and receive notifications.


πŸ“¦ What is ntfy.sh?

ntfy.sh lets you send push notifications to your phone or desktop using simple HTTP requests or CLI commands. It's great for lab alerts, build systems, monitoring, or custom scripts.


βœ… Getting Started

Creating a topic

Click this button on the user interface: image

And enter your topic's name here, which will create the appropriate route on the API: image


πŸ“‘ Subscribe to a Topic

Each notification topic is just a name. Subscribe by visiting:

http://10.205.10.2:1337/<your-topic>

You can bookmark that URL or open it in a browser tab to receive real-time updates.

Or install the ntfy mobile app and subscribe to the same topic name.

There is are official Python and JavaScript Libraries to interface with these, feel free to check them out as well.


πŸ“€ Send a Notification

You can publish a message by simply sending a poset request to the URL with your topic, this can be done with whatever technology you prefer, but for testing purposes you can try this command:

curl -d "Hi" 10.205.10.2:1337/alerts

Visit this link http://10.205.10.2:1337/alerts and you should find your notification there!

About

ntfy.sh stack for notifications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published