Build readme file for sourcehut through build automation
This is a small package to provide an interface to use the https://ntfy.sh service (or self-hosted version) to send notification from Emacs. The initial use case is to send quick notifications from emacs to a mobile device (ntfy only support Android currently) as reminders. The
ntfy-send-message can also be utilized to send notifications from other functions.
ntfy.el file can be downloaded and loaded via
load-file and other installation means.
Recommended: the package can be installed and configured using
The following custom variables must be configured:
nfty-server: The URL of the server (including the
https://part), ntfy.sh generously offers a free hosted version so it can be set to
nfty-topic: The topic or channel where the notification should be published. If using the public ntfy.sh service, ensure that is not an easily guessable topic.
ntfy-header: This is the title of the notification, the message is sent as the body of the notification.
ntfy-tags: The emoji(s) that'll appear before the header message. Use comma separated (no spaces) string, see https://ntfy.sh/docs/publish/#tags-emojis for details.
Once the package is loaded and configured a notification can be sent by invoking the following commands interactively or programmatically:
This is the first Emacs package I've put together, contributions, suggestions for best practices, and constructive criticism is very much welcome and appreciated.
Here are some of the potential improvements:
curlon Pop!OS (20.04 and 22.04) and Termux.