billstclair/elm-system-notification is an Elm interface to the Notifications API. It allows your application to request permission to create system notifications, and, if granted, create them.
Notifications don't work from localhost in Chrome, so don't be surprised if you don't see them when running from
See the "example" directory for a simple use case.
port notify : NotifyPort
You need to compile your program to a site directory:
elm make Main.elm --output site/index.js
And you need a top-level HTML file similar to site/index.html.
Bill St. Clair
12 July 2018