amoorion-ntfy

ntfy plugin of amoorion: push notifications to one topic, and read what the topic holds. Also a notification target: set AMOORION_NOTIFY=ntfy in .env and everything the hooks receive is sent there too.

Secrets in amoorion’s vault: ntfy/topic; optional ntfy/uri (the server, default https://ntfy.sh) and ntfy/token (for protected topics). A topic on a public server is readable by anyone who knows its name, so pick a long one.

A post’s title and tags become the notification’s, its first link what a click opens. ntfy keeps messages only for a while (12 hours on ntfy.sh), so read sees no further back. It can’t reply or delete.

Its vault entry

task vault:new makes this entry in a KeePassXC file; scopes are the keys it needs, optional the keys it can use.

{
  "vault": {
    "ntfy": {
      "description": "One topic of an ntfy server",
      "scopes": {
        "topic": "The topic; on a public server anyone who knows it can read, so pick a long one"
      },
      "optional": {
        "uri": "The server; default: https://ntfy.sh",
        "token": "Access token, for protected topics"
      }
    }
  }
}