No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-29 18:39:49 +02:00
bin actually report curl failures 2026-08-29 18:39:49 +02:00
README.md add readme 2026-08-29 18:39:49 +02:00

notify-push

Sends a push notification through a Gotify server, typically to know that a long command is done.

Installation

tpm install notify-push

Configuration

Required, in ~/.tpm/config/notify-push/env:

GOTIFY_URL='https://gotify.example.com'
GOTIFY_TOKEN='...'

The token is an application token created from the Gotify web UI.

Usage

notify-push                       # title and message are "done"
notify-push "build finished"      # title, used as message too
notify-push "build" "took 12min"  # title and message

make -j8 && notify-push "make ok" || notify-push "make failed"

Notes

  • Notifications are sent with priority 10, so they pop up on the device instead of sitting silently in the list.
  • The request times out after 10 seconds.