| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv='content-type' content='text/html;charset=utf-8'> |
| 5 |
<meta name='generator' content='Ronn-NG/v0.10.1 (http://github.com/apjanke/ronn-ng/tree/0.10.1)'> |
| 6 |
<title>apprise(1) - Push Notifications that work with just about every platform!</title> |
| 7 |
<style type='text/css' media='all'> |
| 8 |
/* style: man */ |
| 9 |
body#manpage {margin:0} |
| 10 |
.mp {max-width:100ex;padding:0 9ex 1ex 4ex} |
| 11 |
.mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0} |
| 12 |
.mp h2 {margin:10px 0 0 0} |
| 13 |
.mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex} |
| 14 |
.mp h3 {margin:0 0 0 4ex} |
| 15 |
.mp dt {margin:0;clear:left} |
| 16 |
.mp dt.flush {float:left;width:8ex} |
| 17 |
.mp dd {margin:0 0 0 9ex} |
| 18 |
.mp h1,.mp h2,.mp h3,.mp h4 {clear:left} |
| 19 |
.mp pre {margin-bottom:20px} |
| 20 |
.mp pre+h2,.mp pre+h3 {margin-top:22px} |
| 21 |
.mp h2+pre,.mp h3+pre {margin-top:5px} |
| 22 |
.mp img {display:block;margin:auto} |
| 23 |
.mp h1.man-title {display:none} |
| 24 |
.mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143} |
| 25 |
.mp h2 {font-size:16px;line-height:1.25} |
| 26 |
.mp h1 {font-size:20px;line-height:2} |
| 27 |
.mp {text-align:justify;background:#fff} |
| 28 |
.mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211} |
| 29 |
.mp h1,.mp h2,.mp h3,.mp h4 {color:#030201} |
| 30 |
.mp u {text-decoration:underline} |
| 31 |
.mp code,.mp strong,.mp b {font-weight:bold;color:#131211} |
| 32 |
.mp em,.mp var {font-style:italic;color:#232221;text-decoration:none} |
| 33 |
.mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff} |
| 34 |
.mp b.man-ref {font-weight:normal;color:#434241} |
| 35 |
.mp pre {padding:0 4ex} |
| 36 |
.mp pre code {font-weight:normal;color:#434241} |
| 37 |
.mp h2+pre,h3+pre {padding-left:0} |
| 38 |
ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px} |
| 39 |
ol.man-decor {width:100%} |
| 40 |
ol.man-decor li.tl {text-align:left} |
| 41 |
ol.man-decor li.tc {text-align:center;letter-spacing:4px} |
| 42 |
ol.man-decor li.tr {text-align:right;float:right} |
| 43 |
</style> |
| 44 |
</head> |
| 45 |
|
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
<body id='manpage'> |
| 53 |
<div class='mp' id='man'> |
| 54 |
|
| 55 |
<div class='man-navigation' style='display:none'> |
| 56 |
<a href="#NAME">NAME</a> |
| 57 |
<a href="#SYNOPSIS">SYNOPSIS</a> |
| 58 |
<a href="#DESCRIPTION">DESCRIPTION</a> |
| 59 |
<a href="#OPTIONS">OPTIONS</a> |
| 60 |
<a href="#PERSISTENT-STORAGE">PERSISTENT STORAGE</a> |
| 61 |
<a href="#EXIT-STATUS">EXIT STATUS</a> |
| 62 |
<a href="#SERVICE-URLS">SERVICE URLS</a> |
| 63 |
<a href="#EXAMPLES">EXAMPLES</a> |
| 64 |
<a href="#CUSTOM-PLUGIN-NOTIFICATIONS">CUSTOM PLUGIN/NOTIFICATIONS</a> |
| 65 |
<a href="#CONFIGURATION">CONFIGURATION</a> |
| 66 |
<a href="#ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</a> |
| 67 |
<a href="#BUGS">BUGS</a> |
| 68 |
<a href="#DONATIONS">DONATIONS</a> |
| 69 |
<a href="#COPYRIGHT">COPYRIGHT</a> |
| 70 |
</div> |
| 71 |
|
| 72 |
<ol class='man-decor man-head man head'> |
| 73 |
<li class='tl'>apprise(1)</li> |
| 74 |
<li class='tc'></li> |
| 75 |
<li class='tr'>apprise(1)</li> |
| 76 |
</ol> |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
<h2 id="NAME">NAME</h2> |
| 81 |
<p class="man-name"> |
| 82 |
<code>apprise</code> - <span class="man-whatis">Push Notifications that work with just about every platform!</span> |
| 83 |
</p> |
| 84 |
<h2 id="SYNOPSIS">SYNOPSIS</h2> |
| 85 |
|
| 86 |
<p><code>apprise</code> [<var>options</var>...] <var>service-url</var>...<br> |
| 87 |
<code>apprise</code> storage [<var>options</var>...] [<var>action</var>] [<var>url-or-uid</var>...]<br></p> |
| 88 |
|
| 89 |
<h2 id="DESCRIPTION">DESCRIPTION</h2> |
| 90 |
|
| 91 |
<p><strong>Apprise</strong> allows you to send a notification to <em>almost all</em> of the most |
| 92 |
popular notification services available to us today such as: Discord, |
| 93 |
Telegram, Pushbullet, Slack, Twitter, etc.</p> |
| 94 |
|
| 95 |
<ul> |
| 96 |
<li>One notification library to rule them all.</li> |
| 97 |
<li>A common and intuitive notification syntax.</li> |
| 98 |
<li>Supports the handling of images (to the notification services that will |
| 99 |
accept them).</li> |
| 100 |
<li>It's incredibly lightweight.</li> |
| 101 |
<li>Amazing response times because all messages sent asynchronously.</li> |
| 102 |
</ul> |
| 103 |
|
| 104 |
<h2 id="OPTIONS">OPTIONS</h2> |
| 105 |
|
| 106 |
<p>The Apprise options are as follows:</p> |
| 107 |
|
| 108 |
<p><code>-b</code>, <code>--body=</code><var>VALUE</var>: |
| 109 |
Specify the message body. If no body is specified then content is read from |
| 110 |
<var>stdin</var>.</p> |
| 111 |
|
| 112 |
<p><code>-t</code>, <code>--title=</code><var>VALUE</var>: |
| 113 |
Specify the message title. This field is completely optional.</p> |
| 114 |
|
| 115 |
<p><code>-c</code>, <code>--config=</code><var>CONFIG-URL</var>: |
| 116 |
Specify one or more configuration locations.</p> |
| 117 |
|
| 118 |
<p><code>-a</code>, <code>--attach=</code><var>ATTACH-URL</var>: |
| 119 |
Specify one or more file attachment locations.</p> |
| 120 |
|
| 121 |
<p><code>-P</code>, <code>--plugin-path=</code><var>PATH</var>: |
| 122 |
Specify a path to scan for custom notification plugin support. |
| 123 |
You can create your own notification by simply creating a Python file |
| 124 |
that contains the <code>@notify("schema")</code> decorator.</p> |
| 125 |
|
| 126 |
<p>You can optionally choose to specify more than one <strong>--plugin-path</strong> (<strong>-P</strong>) |
| 127 |
to increase the modules included.</p> |
| 128 |
|
| 129 |
<p><code>-n</code>, <code>--notification-type=</code><var>VALUE</var>: |
| 130 |
Specify the message type (default=info). Possible values are "info", |
| 131 |
"success", "failure", and "warning".</p> |
| 132 |
|
| 133 |
<p><code>-i</code>, <code>--input-format=</code><var>VALUE</var>: |
| 134 |
Specify the input message format (default=text). Possible values are "text", |
| 135 |
"html", and "markdown".</p> |
| 136 |
|
| 137 |
<p><code>-T</code>, <code>--theme=</code><var>VALUE</var>: |
| 138 |
Specify the default theme.</p> |
| 139 |
|
| 140 |
<p><code>-g</code>, <code>--tag=</code><var>VALUE</var>: |
| 141 |
Specify one or more tags to filter which services to notify:</p> |
| 142 |
|
| 143 |
<ul> |
| 144 |
<li> |
| 145 |
<code>-g "tagA" -g "tagB"</code>: Match tagA <strong>OR</strong> tagB (Union).</li> |
| 146 |
<li> |
| 147 |
<code>-g "tagA,tagB"</code>: Match tagA <strong>AND</strong> tagB (Strict).</li> |
| 148 |
<li> |
| 149 |
<code>-g "all"</code>: Notify <strong>ALL</strong> services.</li> |
| 150 |
<li> |
| 151 |
<code>(Omitted)</code>: Notify <strong>untagged</strong> services only.</li> |
| 152 |
</ul> |
| 153 |
|
| 154 |
<p>Tag values may include an optional priority prefix and/or retry suffix:</p> |
| 155 |
|
| 156 |
<ul> |
| 157 |
<li> |
| 158 |
<code>-g "2:tagA"</code>: Match <strong>only</strong> entries for tagA assigned priority 2.</li> |
| 159 |
<li> |
| 160 |
<code>-g "tagA:3"</code>: Match all tagA entries, retrying each up to 3 times.</li> |
| 161 |
<li> |
| 162 |
<code>-g "2:tagA:3"</code>: Priority-2 tagA entries only, with up to 3 retries.</li> |
| 163 |
</ul> |
| 164 |
|
| 165 |
<p><code>-Da</code>, <code>--disable-async</code>: |
| 166 |
Send notifications synchronously (one after the other) instead of |
| 167 |
all at once.</p> |
| 168 |
|
| 169 |
<p><code>-R</code>, <code>--recursion-depth</code><var>INTEGER</var>: |
| 170 |
The number of recursive import entries that can be loaded from within |
| 171 |
Apprise configuration. By default this is set to 1. If this is set to |
| 172 |
zero, then import statements found in any configuration is ignored.</p> |
| 173 |
|
| 174 |
<p><code>-e</code>, <code>--interpret-escapes</code> |
| 175 |
Enable interpretation of backslash escapes. For example, this would convert |
| 176 |
sequences such as \n and \r to their respected ascii new-line and carriage |
| 177 |
return characters prior to the delivery of the notification.</p> |
| 178 |
|
| 179 |
<p><code>-j</code>, <code>--interpret-emojis</code> |
| 180 |
Enable interpretation of emoji strings. For example, this would convert |
| 181 |
sequences such as :smile: or :grin: to their respected unicode emoji |
| 182 |
character.</p> |
| 183 |
|
| 184 |
<p><code>-S</code>, <code>--storage-path=</code><var>PATH</var>: |
| 185 |
Specify the path to the persistent storage caching location</p> |
| 186 |
|
| 187 |
<p><code>-SM</code>, <code>--storage-mode=</code><var>MODE</var>: |
| 188 |
Specify the persistent storage operational mode. Possible values are "auto", |
| 189 |
"flush", and "memory". The default is "auto" if not specified.</p> |
| 190 |
|
| 191 |
<p><code>-SPD</code>, <code>--storage-prune-days=</code><var>INTEGER</var>: |
| 192 |
Define the number of days the storage prune should run using. |
| 193 |
Setting this to zero (0) will eliminate all accumulated content. By |
| 194 |
default this value is 30 (days).</p> |
| 195 |
|
| 196 |
<p><code>-SUL</code>, <code>--storage-uid-length=</code><var>INTEGER</var>: |
| 197 |
Define the number of unique characters to store persistent cache in. |
| 198 |
By default this value is 8 (characters).</p> |
| 199 |
|
| 200 |
<p><code>-d</code>, <code>--dry-run</code>: |
| 201 |
Perform a trial run but only prints the notification services to-be |
| 202 |
triggered to <strong>stdout</strong>. Notifications are never sent using this mode.</p> |
| 203 |
|
| 204 |
<p><code>-l</code>, <code>--details</code> |
| 205 |
Prints details about the current services supported by Apprise.</p> |
| 206 |
|
| 207 |
<p><code>-v</code>, <code>--verbose</code>: |
| 208 |
The more of these you specify, the more verbose the output is. e.g: -vvvv</p> |
| 209 |
|
| 210 |
<p><code>-D</code>, <code>--debug</code>: |
| 211 |
A debug mode; useful for troubleshooting.</p> |
| 212 |
|
| 213 |
<p><code>-V</code>, <code>--version</code>: |
| 214 |
Display the apprise version and exit.</p> |
| 215 |
|
| 216 |
<p><code>-h</code>, <code>--help</code>: |
| 217 |
Show this message and exit.</p> |
| 218 |
|
| 219 |
<h2 id="PERSISTENT-STORAGE">PERSISTENT STORAGE</h2> |
| 220 |
|
| 221 |
<p>Persistent storage by default writes to the following location unless the environment variable <code>APPRISE_STORAGE_PATH</code> overrides it and/or <code>--storage-path</code> (<code>-SP</code>) is specified to override it:</p> |
| 222 |
|
| 223 |
<pre><code>~/.local/share/apprise/cache |
| 224 |
</code></pre> |
| 225 |
|
| 226 |
<p>To utilize the <a href="https://appriseit.com/cli/persistent-storage/">persistent storage</a> element associated with Apprise, simply |
| 227 |
specify the keyword <strong>storage</strong></p> |
| 228 |
|
| 229 |
<pre><code>$ apprise storage |
| 230 |
</code></pre> |
| 231 |
|
| 232 |
<p>The <strong>storage</strong> action has the following sub actions:</p> |
| 233 |
|
| 234 |
<p><code>list</code>: |
| 235 |
List all of the detected persistent storage elements and their state |
| 236 |
(<strong>stale</strong>, <strong>active</strong>, or <strong>unused</strong>). This is the default action if |
| 237 |
nothing further is identified. Results may be filtered by passing one |
| 238 |
or more 8-character UID prefix strings, or by passing full Apprise |
| 239 |
service URLs — each URL is resolved to its storage namespace |
| 240 |
automatically, making it easy to look up a specific plugin's cache |
| 241 |
entry without knowing the hash in advance.</p> |
| 242 |
|
| 243 |
<p><code>prune</code>: |
| 244 |
Removes all persistent storage that has not been referenced for more than 30 |
| 245 |
days. You can optionally set the <code>--storage-prune-days</code> to alter this |
| 246 |
default value.</p> |
| 247 |
|
| 248 |
<p><code>clean</code>: |
| 249 |
Removes all persistent storage regardless of age.</p> |
| 250 |
|
| 251 |
<h2 id="EXIT-STATUS">EXIT STATUS</h2> |
| 252 |
|
| 253 |
<p><strong>apprise</strong> exits with a status of:</p> |
| 254 |
|
| 255 |
<ul> |
| 256 |
<li> |
| 257 |
<strong>0</strong> if all of the notifications were sent successfully.</li> |
| 258 |
<li> |
| 259 |
<strong>1</strong> if one or more notifications could not be sent.</li> |
| 260 |
<li> |
| 261 |
<strong>2</strong> if there was an error specified on the command line such as not |
| 262 |
providing an valid argument.</li> |
| 263 |
<li> |
| 264 |
<strong>3</strong> if there was one or more Apprise Service URLs successfully |
| 265 |
loaded but none could be notified due to user filtering (via tags).</li> |
| 266 |
</ul> |
| 267 |
|
| 268 |
<h2 id="SERVICE-URLS">SERVICE URLS</h2> |
| 269 |
|
| 270 |
<p>There are too many service URL and combinations to list here. It's best to |
| 271 |
visit the <a href="https://appriseit.com/services/">Apprise GitHub page</a> and see what's available. |
| 272 |
Also try out the <a href="https://appriseit.com/tools/url-builder/">Apprise URL Builder</a> to easily construct the URLS |
| 273 |
this tool supports and works with.</p> |
| 274 |
|
| 275 |
<p>The <strong>environment variable</strong> of <code>APPRISE_URLS</code> (comma/space delimited) can be specified to |
| 276 |
provide the default set of URLs you wish to notify if none are otherwise specified.</p> |
| 277 |
|
| 278 |
<h2 id="EXAMPLES">EXAMPLES</h2> |
| 279 |
|
| 280 |
<p>Send a notification to as many servers as you want to specify as you can |
| 281 |
easily chain them together:</p> |
| 282 |
|
| 283 |
<pre><code>$ apprise -vv -t "my title" -b "my notification body" \ |
| 284 |
"mailto://myemail:[email protected]" \ |
| 285 |
"pbul://o.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b" |
| 286 |
</code></pre> |
| 287 |
|
| 288 |
<p>If you don't specify a <strong>--body</strong> (<strong>-b</strong>) then stdin is used allowing you to |
| 289 |
use the tool as part of your every day administration:</p> |
| 290 |
|
| 291 |
<pre><code>$ cat /proc/cpuinfo | apprise -vv -t "cpu info" \ |
| 292 |
"mailto://myemail:[email protected]" |
| 293 |
</code></pre> |
| 294 |
|
| 295 |
<p>Load in a configuration file which identifies all of your notification service |
| 296 |
URLs and notify them all:</p> |
| 297 |
|
| 298 |
<pre><code>$ apprise -vv -t "my title" -b "my notification body" \ |
| 299 |
--config=~/apprise.yml |
| 300 |
</code></pre> |
| 301 |
|
| 302 |
<p>Load in a configuration file from a remote server that identifies all of your |
| 303 |
notification service URLs and only notify the ones tagged as <em>devops</em>.</p> |
| 304 |
|
| 305 |
<pre><code>$ apprise -vv -t "my title" -b "my notification body" \ |
| 306 |
--config=https://localhost/my/apprise/config \ |
| 307 |
-t devops |
| 308 |
</code></pre> |
| 309 |
|
| 310 |
<p><strong>Tagging Logic Examples:</strong></p> |
| 311 |
|
| 312 |
<p>Notify any service tagged with "devops" OR "admin" (Union):</p> |
| 313 |
|
| 314 |
<pre><code>$ apprise -vv -t "Union Test" \ |
| 315 |
--config=~/apprise.yml \ |
| 316 |
-g devops -g admin |
| 317 |
</code></pre> |
| 318 |
|
| 319 |
<p>Notify only services tagged with BOTH "devops" AND "critical" (Intersection):</p> |
| 320 |
|
| 321 |
<pre><code>$ apprise -vv -t "Intersection Test" \ |
| 322 |
--config=~/apprise.yml \ |
| 323 |
-g devops,critical |
| 324 |
</code></pre> |
| 325 |
|
| 326 |
<p>Notify only priority-2 "alerts" services (exclusive priority filter):</p> |
| 327 |
|
| 328 |
<pre><code>$ apprise -vv -t "High Alert" \ |
| 329 |
--config=~/apprise.yml \ |
| 330 |
-g "2:alerts" |
| 331 |
</code></pre> |
| 332 |
|
| 333 |
<p>Notify all "alerts" services and retry each up to 3 times on failure:</p> |
| 334 |
|
| 335 |
<pre><code>$ apprise -vv -t "Critical Event" \ |
| 336 |
--config=~/apprise.yml \ |
| 337 |
-g "alerts:3" |
| 338 |
</code></pre> |
| 339 |
|
| 340 |
<p>Include an attachment:</p> |
| 341 |
|
| 342 |
<pre><code>$ apprise -vv -t "School Assignment" -b "See attached" \ |
| 343 |
--attach=Documents/FinalReport.docx |
| 344 |
</code></pre> |
| 345 |
|
| 346 |
<p>List all of the notifications loaded:</p> |
| 347 |
|
| 348 |
<pre><code>$ apprise --dry-run --tag=all |
| 349 |
</code></pre> |
| 350 |
|
| 351 |
<p>List all of the details around the current persistent storage setup:</p> |
| 352 |
|
| 353 |
<pre><code>$ apprise storage list |
| 354 |
</code></pre> |
| 355 |
|
| 356 |
<p>Look up the storage namespace for a specific notification URL (shows the |
| 357 |
UID even when no data has been written yet):</p> |
| 358 |
|
| 359 |
<pre><code>$ apprise storage list "mailtos://user:[email protected]" |
| 360 |
</code></pre> |
| 361 |
|
| 362 |
<p>Prune all persistent storage that has not been referenced for at least 10 days or more</p> |
| 363 |
|
| 364 |
<pre><code>$ apprise storage prune --storage-prune-days=10 |
| 365 |
</code></pre> |
| 366 |
|
| 367 |
<h2 id="CUSTOM-PLUGIN-NOTIFICATIONS">CUSTOM PLUGIN/NOTIFICATIONS</h2> |
| 368 |
<p>Apprise can additionally allow you to define your own custom <strong>schema://</strong> |
| 369 |
entries that you can trigger on and call services you've defined.</p> |
| 370 |
|
| 371 |
<p>By default <strong>apprise</strong> looks in the following local locations for custom plugin |
| 372 |
files and loads them:</p> |
| 373 |
|
| 374 |
<pre><code>~/.apprise/plugins |
| 375 |
~/.config/apprise/plugins |
| 376 |
/var/lib/apprise/plugins |
| 377 |
</code></pre> |
| 378 |
|
| 379 |
<p>The <strong>environment variable</strong> of <code>APPRISE_PLUGIN_PATH</code> can be specified to override |
| 380 |
the list identified above with one of your own. use a semi-colon (<code>;</code>), line-feed (<code>\n</code>), |
| 381 |
and/or carriage return (<code>\r</code>) to delimit multiple entries.</p> |
| 382 |
|
| 383 |
<p>Simply create your own python file with the following bare minimum content in |
| 384 |
it:</p> |
| 385 |
|
| 386 |
<pre><code>from apprise.decorators import notify |
| 387 |
|
| 388 |
# This example assumes you want your function to trigger on foobar:// |
| 389 |
# references: |
| 390 |
@notify(on="foobar", name="My Custom Notification") |
| 391 |
def my_wrapper(body, title, notify_type, *args, **kwargs): |
| 392 |
|
| 393 |
print("Define your custom code here") |
| 394 |
|
| 395 |
# Returning True/False will relay your status back through Apprise |
| 396 |
# Returning nothing (None by default) is always interpreted as True |
| 397 |
return True |
| 398 |
</code></pre> |
| 399 |
|
| 400 |
<h2 id="CONFIGURATION">CONFIGURATION</h2> |
| 401 |
|
| 402 |
<p>An <a href="https://appriseit.com/getting-started/configuration/">Apprise configuration file</a> can be in the format of either <strong>TEXT</strong> |
| 403 |
or <strong>YAML</strong> where TEXT is the easiest and most ideal solution for most users. |
| 404 |
However YAML configuration files grants the user a bit more leverage and access |
| 405 |
to some of the internal features of Apprise. Regardless of which format you choose, |
| 406 |
both provide the users the ability to leverage <strong>tagging</strong> which adds a more rich and |
| 407 |
powerful notification environment.</p> |
| 408 |
|
| 409 |
<p>Configuration files can be directly referenced via <strong>apprise</strong> when referencing |
| 410 |
the <code>--config=</code> (<code>-c</code>) CLI directive. You can identify as many as you like on the |
| 411 |
command line and all of them will be loaded. You can also point your configuration to |
| 412 |
a cloud location (by referencing <code>http://</code> or <code>https://</code>. By default <strong>apprise</strong> looks |
| 413 |
in the following local locations for configuration files and loads them:</p> |
| 414 |
|
| 415 |
<pre><code>~/.apprise.conf |
| 416 |
~/.apprise.yaml |
| 417 |
~/.config/apprise.conf |
| 418 |
~/.config/apprise.yaml |
| 419 |
|
| 420 |
~/.apprise/apprise.conf |
| 421 |
~/.apprise/apprise.yaml |
| 422 |
~/.config/apprise/apprise.conf |
| 423 |
~/.config/apprise/apprise.yaml |
| 424 |
|
| 425 |
/etc/apprise.conf |
| 426 |
/etc/apprise.yaml |
| 427 |
/etc/apprise/apprise.conf |
| 428 |
/etc/apprise/apprise.yaml |
| 429 |
</code></pre> |
| 430 |
|
| 431 |
<p>The <strong>configuration files</strong> specified above can also be identified with a <code>.yml</code> |
| 432 |
extension or even just entirely removing the <code>.conf</code> extension altogether.</p> |
| 433 |
|
| 434 |
<p>The <strong>environment variable</strong> of <code>APPRISE_CONFIG_PATH</code> can be specified to override |
| 435 |
the list identified above with one of your own. use a semi-colon (<code>;</code>), line-feed (<code>\n</code>), |
| 436 |
and/or carriage return (<code>\r</code>) to delimit multiple entries.</p> |
| 437 |
|
| 438 |
<p>If a default configuration file is referenced in any way by the <strong>apprise</strong> |
| 439 |
tool, you no longer need to provide it a Service URL. Usage of the <strong>apprise</strong> |
| 440 |
tool simplifies to:</p> |
| 441 |
|
| 442 |
<pre><code>$ apprise -vv -t "my title" -b "my notification body" |
| 443 |
</code></pre> |
| 444 |
|
| 445 |
<p>If you leveraged <a href="https://appriseit.com/cli/usage/#tagging-and-filtering">tagging</a>, you can define all of Apprise Service URLs in your |
| 446 |
configuration that you want and only specifically notify a subset of them:</p> |
| 447 |
|
| 448 |
<pre><code>$ apprise -vv --title "Will Be Late Getting Home" \ |
| 449 |
--body "Please go ahead and make dinner without me." \ |
| 450 |
--tag=family |
| 451 |
</code></pre> |
| 452 |
|
| 453 |
<h2 id="ENVIRONMENT-VARIABLES">ENVIRONMENT VARIABLES</h2> |
| 454 |
<p><code>APPRISE_URLS</code>: |
| 455 |
Specify the default URLs to notify IF none are otherwise specified on the command line |
| 456 |
explicitly. If the <code>--config</code> (<code>-c</code>) is specified, then this will override any |
| 457 |
reference to this variable. Use white space and/or a comma (<code>,</code>) to delimit multiple entries.</p> |
| 458 |
|
| 459 |
<p><code>APPRISE_CONFIG_PATH</code>: |
| 460 |
Explicitly specify the config search path to use (overriding the default). |
| 461 |
Use a semi-colon (<code>;</code>), line-feed (<code>\n</code>), and/or carriage return (<code>\r</code>) to delimit multiple entries.</p> |
| 462 |
|
| 463 |
<p><code>APPRISE_PLUGIN_PATH</code>: |
| 464 |
Explicitly specify the custom plugin search path to use (overriding the default). |
| 465 |
Use a semi-colon (<code>;</code>), line-feed (<code>\n</code>), and/or carriage return (<code>\r</code>) to delimit multiple entries.</p> |
| 466 |
|
| 467 |
<p><code>APPRISE_STORAGE_PATH</code>: |
| 468 |
Explicitly specify the persistent storage path to use (overriding the default).</p> |
| 469 |
|
| 470 |
<p><code>HTTP_PROXY</code>, <code>HTTPS_PROXY</code>, <code>NO_PROXY</code>: |
| 471 |
Standard proxy variables honored by the underlying <code>requests</code> library (not |
| 472 |
Apprise-specific). Set <code>HTTP_PROXY</code>/<code>HTTPS_PROXY</code> to route outbound |
| 473 |
notifications through a proxy, and <code>NO_PROXY</code> to exempt specific hosts. |
| 474 |
SOCKS proxies (<code>socks5h://...</code>) additionally require the optional |
| 475 |
<code>PySocks</code> package (<code>pip install pysocks</code>) to be installed.</p> |
| 476 |
|
| 477 |
<h2 id="BUGS">BUGS</h2> |
| 478 |
|
| 479 |
<p>If you find any bugs, please make them known at: |
| 480 |
<a href="https://github.com/caronc/apprise/issues" data-bare-link="true">https://github.com/caronc/apprise/issues</a></p> |
| 481 |
|
| 482 |
<h2 id="DONATIONS">DONATIONS</h2> |
| 483 |
<p>If you found Apprise useful at all, <a href="https://github.com/sponsors/caronc">please consider sponsoring</a> or <a href="https://www.paypal.com/donate/?hosted_button_id=CR6YF7KLQWQ5E">donating</a>!</p> |
| 484 |
|
| 485 |
<h2 id="COPYRIGHT">COPYRIGHT</h2> |
| 486 |
|
| 487 |
<p>Apprise is Copyright (C) 2026 Chris Caron <a href="mailto:[email protected]" data-bare-link="true">[email protected]</a></p> |
| 488 |
|
| 489 |
<ol class='man-decor man-foot man foot'> |
| 490 |
<li class='tl'>Chris Caron <[email protected]></li> |
| 491 |
<li class='tc'>August 2026</li> |
| 492 |
<li class='tr'>apprise(1)</li> |
| 493 |
</ol> |
| 494 |
|
| 495 |
</div> |
| 496 |
</body> |
| 497 |
</html> |