Updated Notify_ntfy (markdown)

master
Chris Caron 2025-01-03 13:30:00 -05:00
parent 09da5a2d46
commit 0a35e91ec8
1 changed files with 18 additions and 0 deletions

@ -22,6 +22,16 @@ Valid syntax is as follows:
* `ntfy://{user}:{password}@{host}:{port}/{topics}`
* `ntfy://{token}@{hostname}/{targets}`
The secure versions:
* `ntfys://{topic}`
* `ntfys://{host}/{topic}`
* `ntfys://{host}:{port}/{topics}`
* `ntfys://{user}@{host}/{topics}`
* `ntfys://{user}@{host}:{port}/{topics}`
* `ntfys://{user}:{password}@{host}/{topics}`
* `ntfys://{user}:{password}@{host}:{port}/{topics}`
* `ntfys://{token}@{hostname}/{targets}`
You can specify more then 1 topic such as:
* **ntfy**://**{user}**:**{password}**/**{hostname}**/**{topic1}**/**{topic2}**
@ -71,3 +81,11 @@ Ntfy also supports Markdown; if you want to leverage this, simply add `?format=m
apprise -vv -t "Test Message Title" -b "# Markdown Support" \
"ntfy://localhost/great-place?format=markdown"
```
If your Ntfy server is behind an HTTPS (Secure) hosted setup, then you simply use `ntfys://`:
```bash
# Assuming our SECURE {hostname} is localhost
# Assuming our {topic} is great-topic
apprise -vv -t "Test Secure Message Title" -b "Test Message Body" \
ntfys://localhost/great-topic
```