pyratelog

personal blog
git clone git://git.pyratebeard.net/pyratelog.git
Log | Files | Refs | README

commit 382614a9e36e5a876c3e70e8e56bbf48f30e8b0b
parent 56f11d58b3d0c7e4daebafa7b3a4c3eb557b4a1a
Author: pyratebeard <root@pyratebeard.net>
Date:   Tue,  4 Jan 2022 13:27:03 +0000

notify,_only_smaller

Diffstat:
Mentry/notify,_only_smaller.draft | 12++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/entry/notify,_only_smaller.draft b/entry/notify,_only_smaller.draft @@ -5,7 +5,7 @@ Publishing a message can be as simple as using HTTP PUT/POST with `curl`. curl -d "Schway, backups successful" ntfy.sh/pyratebackups ``` -Publishing can be done in your choice of language (python, php, go, etc.) or via the [Android app](). +Publishing can be done in your choice of language (python, php, go, etc.) or via the [Android app](https://ntfy.sh/docs/subscribe/phone/). Take a look at the [docs](https://ntfy.sh/docs/publish/) for more examples. Messages can handle titles, priorities, and tags (including emojis). ``` @@ -17,13 +17,17 @@ curl -H "Title: pyratebackups" \ Topics (e.g. "pyratebackups") can be anything you want, but there is no authentication so anybody can subscribe. -Subscribing to topics can be done through the ntfy webUI, the Android app, or using the json stream. +Subscribing to topics can be done through the ntfy webUI, the Android app, or using the [API](https://ntfy.sh/docs/subscribe/api/) in your own app. -ntfy can also be self-hosted, as easily as running the `ntfy` command. +ntfy can also be [self-hosted](https://ntfy.sh/docs/install/). Packages are available for Debian/Ubuntu, Fedora/CentOS/RHEL, Arch, as well as a binary and a docker image. -I usually set up am email notification in my scripts, but have been trying `ntfy` out for a few weeks now. Adding a `curl` command to my scripts then subscribing via the Android app was really simple to do, and now I get instant notifications whole also keeping my mailbox cleaner. +I usually set up an email notification in my scripts, but have been trying `ntfy` out for a few weeks now. Adding a `curl` command to my scripts then subscribing via the Android app was really simple to do, and now I get instant notifications whole also reducing the noise in my mailbox. ## see also +There are some great notification tools out there, a few to check out are: + * [gotify](https://gotify.net/) * [apprise](https://pypi.org/project/apprise/) * [pingme](https://pingme.lmno.pk/#/) + +I like the look of apprise so may trial that at some point in the coming months.