mirror of https://github.com/caronc/apprise
Updated Notify_ntfy (markdown)
parent
09da5a2d46
commit
0a35e91ec8
|
@ -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}**
|
||||
|
||||
|
@ -70,4 +80,12 @@ Ntfy also supports Markdown; if you want to leverage this, simply add `?format=m
|
|||
# Assuming we want to leverage the markdown support
|
||||
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
|
||||
```
|
Loading…
Reference in New Issue