This is an example showing how to use ntfy.sh with EventSource. This example doesn't need a server. You can just save the HTML page and run it from anywhere.
Log: