Debian Codegraph @

packaging/man/apprise.1

raw
1 .\" generated with Ronn-NG/v0.10.1
2 .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3 .TH "APPRISE" "1" "August 2026" "Chris Caron <[email protected]>"
4 .SH "NAME"
5 \fBapprise\fR \- Push Notifications that work with just about every platform!
6 .SH "SYNOPSIS"
7 \fBapprise\fR [\fIoptions\fR\|\.\|\.\|\.] \fIservice\-url\fR\|\.\|\.\|\.
8 .br
9 \fBapprise\fR storage [\fIoptions\fR\|\.\|\.\|\.] [\fIaction\fR] [\fIurl\-or\-uid\fR\|\.\|\.\|\.]
10 .br
11 .SH "DESCRIPTION"
12 \fBApprise\fR allows you to send a notification to \fIalmost all\fR of the most popular notification services available to us today such as: Discord, Telegram, Pushbullet, Slack, Twitter, etc\.
13 .IP "\(bu" 4
14 One notification library to rule them all\.
15 .IP "\(bu" 4
16 A common and intuitive notification syntax\.
17 .IP "\(bu" 4
18 Supports the handling of images (to the notification services that will accept them)\.
19 .IP "\(bu" 4
20 It's incredibly lightweight\.
21 .IP "\(bu" 4
22 Amazing response times because all messages sent asynchronously\.
23 .IP "" 0
24 .SH "OPTIONS"
25 The Apprise options are as follows:
26 .P
27 \fB\-b\fR, \fB\-\-body=\fR\fIVALUE\fR: Specify the message body\. If no body is specified then content is read from \fIstdin\fR\.
28 .P
29 \fB\-t\fR, \fB\-\-title=\fR\fIVALUE\fR: Specify the message title\. This field is completely optional\.
30 .P
31 \fB\-c\fR, \fB\-\-config=\fR\fICONFIG\-URL\fR: Specify one or more configuration locations\.
32 .P
33 \fB\-a\fR, \fB\-\-attach=\fR\fIATTACH\-URL\fR: Specify one or more file attachment locations\.
34 .P
35 \fB\-P\fR, \fB\-\-plugin\-path=\fR\fIPATH\fR: Specify a path to scan for custom notification plugin support\. You can create your own notification by simply creating a Python file that contains the \fB@notify("schema")\fR decorator\.
36 .P
37 You can optionally choose to specify more than one \fB\-\-plugin\-path\fR (\fB\-P\fR) to increase the modules included\.
38 .P
39 \fB\-n\fR, \fB\-\-notification\-type=\fR\fIVALUE\fR: Specify the message type (default=info)\. Possible values are "info", "success", "failure", and "warning"\.
40 .P
41 \fB\-i\fR, \fB\-\-input\-format=\fR\fIVALUE\fR: Specify the input message format (default=text)\. Possible values are "text", "html", and "markdown"\.
42 .P
43 \fB\-T\fR, \fB\-\-theme=\fR\fIVALUE\fR: Specify the default theme\.
44 .P
45 \fB\-g\fR, \fB\-\-tag=\fR\fIVALUE\fR: Specify one or more tags to filter which services to notify:
46 .IP "\(bu" 4
47 \fB\-g "tagA" \-g "tagB"\fR: Match tagA \fBOR\fR tagB (Union)\.
48 .IP "\(bu" 4
49 \fB\-g "tagA,tagB"\fR: Match tagA \fBAND\fR tagB (Strict)\.
50 .IP "\(bu" 4
51 \fB\-g "all"\fR: Notify \fBALL\fR services\.
52 .IP "\(bu" 4
53 \fB(Omitted)\fR: Notify \fBuntagged\fR services only\.
54 .IP "" 0
55 .P
56 Tag values may include an optional priority prefix and/or retry suffix:
57 .IP "\(bu" 4
58 \fB\-g "2:tagA"\fR: Match \fBonly\fR entries for tagA assigned priority 2\.
59 .IP "\(bu" 4
60 \fB\-g "tagA:3"\fR: Match all tagA entries, retrying each up to 3 times\.
61 .IP "\(bu" 4
62 \fB\-g "2:tagA:3"\fR: Priority\-2 tagA entries only, with up to 3 retries\.
63 .IP "" 0
64 .P
65 \fB\-Da\fR, \fB\-\-disable\-async\fR: Send notifications synchronously (one after the other) instead of all at once\.
66 .P
67 \fB\-R\fR, \fB\-\-recursion\-depth\fR\fIINTEGER\fR: The number of recursive import entries that can be loaded from within Apprise configuration\. By default this is set to 1\. If this is set to zero, then import statements found in any configuration is ignored\.
68 .P
69 \fB\-e\fR, \fB\-\-interpret\-escapes\fR Enable interpretation of backslash escapes\. For example, this would convert sequences such as \en and \er to their respected ascii new\-line and carriage return characters prior to the delivery of the notification\.
70 .P
71 \fB\-j\fR, \fB\-\-interpret\-emojis\fR Enable interpretation of emoji strings\. For example, this would convert sequences such as :smile: or :grin: to their respected unicode emoji character\.
72 .P
73 \fB\-S\fR, \fB\-\-storage\-path=\fR\fIPATH\fR: Specify the path to the persistent storage caching location
74 .P
75 \fB\-SM\fR, \fB\-\-storage\-mode=\fR\fIMODE\fR: Specify the persistent storage operational mode\. Possible values are "auto", "flush", and "memory"\. The default is "auto" if not specified\.
76 .P
77 \fB\-SPD\fR, \fB\-\-storage\-prune\-days=\fR\fIINTEGER\fR: Define the number of days the storage prune should run using\. Setting this to zero (0) will eliminate all accumulated content\. By default this value is 30 (days)\.
78 .P
79 \fB\-SUL\fR, \fB\-\-storage\-uid\-length=\fR\fIINTEGER\fR: Define the number of unique characters to store persistent cache in\. By default this value is 8 (characters)\.
80 .P
81 \fB\-d\fR, \fB\-\-dry\-run\fR: Perform a trial run but only prints the notification services to\-be triggered to \fBstdout\fR\. Notifications are never sent using this mode\.
82 .P
83 \fB\-l\fR, \fB\-\-details\fR Prints details about the current services supported by Apprise\.
84 .P
85 \fB\-v\fR, \fB\-\-verbose\fR: The more of these you specify, the more verbose the output is\. e\.g: \-vvvv
86 .P
87 \fB\-D\fR, \fB\-\-debug\fR: A debug mode; useful for troubleshooting\.
88 .P
89 \fB\-V\fR, \fB\-\-version\fR: Display the apprise version and exit\.
90 .P
91 \fB\-h\fR, \fB\-\-help\fR: Show this message and exit\.
92 .SH "PERSISTENT STORAGE"
93 Persistent storage by default writes to the following location unless the environment variable \fBAPPRISE_STORAGE_PATH\fR overrides it and/or \fB\-\-storage\-path\fR (\fB\-SP\fR) is specified to override it:
94 .IP "" 4
95 .nf
96 ~/\.local/share/apprise/cache
97 .fi
98 .IP "" 0
99 .P
100 To utilize the persistent storage \fIhttps://appriseit\.com/cli/persistent\-storage/\fR element associated with Apprise, simply specify the keyword \fBstorage\fR
101 .IP "" 4
102 .nf
103 $ apprise storage
104 .fi
105 .IP "" 0
106 .P
107 The \fBstorage\fR action has the following sub actions:
108 .P
109 \fBlist\fR: List all of the detected persistent storage elements and their state (\fBstale\fR, \fBactive\fR, or \fBunused\fR)\. This is the default action if nothing further is identified\. Results may be filtered by passing one or more 8\-character UID prefix strings, or by passing full Apprise service URLs \(em each URL is resolved to its storage namespace automatically, making it easy to look up a specific plugin's cache entry without knowing the hash in advance\.
110 .P
111 \fBprune\fR: Removes all persistent storage that has not been referenced for more than 30 days\. You can optionally set the \fB\-\-storage\-prune\-days\fR to alter this default value\.
112 .P
113 \fBclean\fR: Removes all persistent storage regardless of age\.
114 .SH "EXIT STATUS"
115 \fBapprise\fR exits with a status of:
116 .IP "\(bu" 4
117 \fB0\fR if all of the notifications were sent successfully\.
118 .IP "\(bu" 4
119 \fB1\fR if one or more notifications could not be sent\.
120 .IP "\(bu" 4
121 \fB2\fR if there was an error specified on the command line such as not providing an valid argument\.
122 .IP "\(bu" 4
123 \fB3\fR if there was one or more Apprise Service URLs successfully loaded but none could be notified due to user filtering (via tags)\.
124 .IP "" 0
125 .SH "SERVICE URLS"
126 There are too many service URL and combinations to list here\. It's best to visit the Apprise GitHub page \fIhttps://appriseit\.com/services/\fR and see what's available\. Also try out the Apprise URL Builder \fIhttps://appriseit\.com/tools/url\-builder/\fR to easily construct the URLS this tool supports and works with\.
127 .P
128 The \fBenvironment variable\fR of \fBAPPRISE_URLS\fR (comma/space delimited) can be specified to provide the default set of URLs you wish to notify if none are otherwise specified\.
129 .SH "EXAMPLES"
130 Send a notification to as many servers as you want to specify as you can easily chain them together:
131 .IP "" 4
132 .nf
133 $ apprise \-vv \-t "my title" \-b "my notification body" \e
134 "mailto://myemail:mypass@gmail\.com" \e
135 "pbul://o\.gn5kj6nfhv736I7jC3cj3QLRiyhgl98b"
136 .fi
137 .IP "" 0
138 .P
139 If you don't specify a \fB\-\-body\fR (\fB\-b\fR) then stdin is used allowing you to use the tool as part of your every day administration:
140 .IP "" 4
141 .nf
142 $ cat /proc/cpuinfo | apprise \-vv \-t "cpu info" \e
143 "mailto://myemail:mypass@gmail\.com"
144 .fi
145 .IP "" 0
146 .P
147 Load in a configuration file which identifies all of your notification service URLs and notify them all:
148 .IP "" 4
149 .nf
150 $ apprise \-vv \-t "my title" \-b "my notification body" \e
151 \-\-config=~/apprise\.yml
152 .fi
153 .IP "" 0
154 .P
155 Load in a configuration file from a remote server that identifies all of your notification service URLs and only notify the ones tagged as \fIdevops\fR\.
156 .IP "" 4
157 .nf
158 $ apprise \-vv \-t "my title" \-b "my notification body" \e
159 \-\-config=https://localhost/my/apprise/config \e
160 \-t devops
161 .fi
162 .IP "" 0
163 .P
164 \fBTagging Logic Examples:\fR
165 .P
166 Notify any service tagged with "devops" OR "admin" (Union):
167 .IP "" 4
168 .nf
169 $ apprise \-vv \-t "Union Test" \e
170 \-\-config=~/apprise\.yml \e
171 \-g devops \-g admin
172 .fi
173 .IP "" 0
174 .P
175 Notify only services tagged with BOTH "devops" AND "critical" (Intersection):
176 .IP "" 4
177 .nf
178 $ apprise \-vv \-t "Intersection Test" \e
179 \-\-config=~/apprise\.yml \e
180 \-g devops,critical
181 .fi
182 .IP "" 0
183 .P
184 Notify only priority\-2 "alerts" services (exclusive priority filter):
185 .IP "" 4
186 .nf
187 $ apprise \-vv \-t "High Alert" \e
188 \-\-config=~/apprise\.yml \e
189 \-g "2:alerts"
190 .fi
191 .IP "" 0
192 .P
193 Notify all "alerts" services and retry each up to 3 times on failure:
194 .IP "" 4
195 .nf
196 $ apprise \-vv \-t "Critical Event" \e
197 \-\-config=~/apprise\.yml \e
198 \-g "alerts:3"
199 .fi
200 .IP "" 0
201 .P
202 Include an attachment:
203 .IP "" 4
204 .nf
205 $ apprise \-vv \-t "School Assignment" \-b "See attached" \e
206 \-\-attach=Documents/FinalReport\.docx
207 .fi
208 .IP "" 0
209 .P
210 List all of the notifications loaded:
211 .IP "" 4
212 .nf
213 $ apprise \-\-dry\-run \-\-tag=all
214 .fi
215 .IP "" 0
216 .P
217 List all of the details around the current persistent storage setup:
218 .IP "" 4
219 .nf
220 $ apprise storage list
221 .fi
222 .IP "" 0
223 .P
224 Look up the storage namespace for a specific notification URL (shows the UID even when no data has been written yet):
225 .IP "" 4
226 .nf
227 $ apprise storage list "mailtos://user:pass@example\.com"
228 .fi
229 .IP "" 0
230 .P
231 Prune all persistent storage that has not been referenced for at least 10 days or more
232 .IP "" 4
233 .nf
234 $ apprise storage prune \-\-storage\-prune\-days=10
235 .fi
236 .IP "" 0
237 .SH "CUSTOM PLUGIN/NOTIFICATIONS"
238 Apprise can additionally allow you to define your own custom \fBschema://\fR entries that you can trigger on and call services you've defined\.
239 .P
240 By default \fBapprise\fR looks in the following local locations for custom plugin files and loads them:
241 .IP "" 4
242 .nf
243 ~/\.apprise/plugins
244 ~/\.config/apprise/plugins
245 /var/lib/apprise/plugins
246 .fi
247 .IP "" 0
248 .P
249 The \fBenvironment variable\fR of \fBAPPRISE_PLUGIN_PATH\fR can be specified to override the list identified above with one of your own\. use a semi\-colon (\fB;\fR), line\-feed (\fB\en\fR), and/or carriage return (\fB\er\fR) to delimit multiple entries\.
250 .P
251 Simply create your own python file with the following bare minimum content in it:
252 .IP "" 4
253 .nf
254 from apprise\.decorators import notify
255
256 # This example assumes you want your function to trigger on foobar://
257 # references:
258 @notify(on="foobar", name="My Custom Notification")
259 def my_wrapper(body, title, notify_type, *args, **kwargs):
260
261 print("Define your custom code here")
262
263 # Returning True/False will relay your status back through Apprise
264 # Returning nothing (None by default) is always interpreted as True
265 return True
266 .fi
267 .IP "" 0
268 .SH "CONFIGURATION"
269 An Apprise configuration file \fIhttps://appriseit\.com/getting\-started/configuration/\fR can be in the format of either \fBTEXT\fR or \fBYAML\fR where TEXT is the easiest and most ideal solution for most users\. However YAML configuration files grants the user a bit more leverage and access to some of the internal features of Apprise\. Regardless of which format you choose, both provide the users the ability to leverage \fBtagging\fR which adds a more rich and powerful notification environment\.
270 .P
271 Configuration files can be directly referenced via \fBapprise\fR when referencing the \fB\-\-config=\fR (\fB\-c\fR) CLI directive\. You can identify as many as you like on the command line and all of them will be loaded\. You can also point your configuration to a cloud location (by referencing \fBhttp://\fR or \fBhttps://\fR\. By default \fBapprise\fR looks in the following local locations for configuration files and loads them:
272 .IP "" 4
273 .nf
274 ~/\.apprise\.conf
275 ~/\.apprise\.yaml
276 ~/\.config/apprise\.conf
277 ~/\.config/apprise\.yaml
278
279 ~/\.apprise/apprise\.conf
280 ~/\.apprise/apprise\.yaml
281 ~/\.config/apprise/apprise\.conf
282 ~/\.config/apprise/apprise\.yaml
283
284 /etc/apprise\.conf
285 /etc/apprise\.yaml
286 /etc/apprise/apprise\.conf
287 /etc/apprise/apprise\.yaml
288 .fi
289 .IP "" 0
290 .P
291 The \fBconfiguration files\fR specified above can also be identified with a \fB\.yml\fR extension or even just entirely removing the \fB\.conf\fR extension altogether\.
292 .P
293 The \fBenvironment variable\fR of \fBAPPRISE_CONFIG_PATH\fR can be specified to override the list identified above with one of your own\. use a semi\-colon (\fB;\fR), line\-feed (\fB\en\fR), and/or carriage return (\fB\er\fR) to delimit multiple entries\.
294 .P
295 If a default configuration file is referenced in any way by the \fBapprise\fR tool, you no longer need to provide it a Service URL\. Usage of the \fBapprise\fR tool simplifies to:
296 .IP "" 4
297 .nf
298 $ apprise \-vv \-t "my title" \-b "my notification body"
299 .fi
300 .IP "" 0
301 .P
302 If you leveraged tagging \fIhttps://appriseit\.com/cli/usage/#tagging\-and\-filtering\fR, you can define all of Apprise Service URLs in your configuration that you want and only specifically notify a subset of them:
303 .IP "" 4
304 .nf
305 $ apprise \-vv \-\-title "Will Be Late Getting Home" \e
306 \-\-body "Please go ahead and make dinner without me\." \e
307 \-\-tag=family
308 .fi
309 .IP "" 0
310 .SH "ENVIRONMENT VARIABLES"
311 \fBAPPRISE_URLS\fR: Specify the default URLs to notify IF none are otherwise specified on the command line explicitly\. If the \fB\-\-config\fR (\fB\-c\fR) is specified, then this will override any reference to this variable\. Use white space and/or a comma (\fB,\fR) to delimit multiple entries\.
312 .P
313 \fBAPPRISE_CONFIG_PATH\fR: Explicitly specify the config search path to use (overriding the default)\. Use a semi\-colon (\fB;\fR), line\-feed (\fB\en\fR), and/or carriage return (\fB\er\fR) to delimit multiple entries\.
314 .P
315 \fBAPPRISE_PLUGIN_PATH\fR: Explicitly specify the custom plugin search path to use (overriding the default)\. Use a semi\-colon (\fB;\fR), line\-feed (\fB\en\fR), and/or carriage return (\fB\er\fR) to delimit multiple entries\.
316 .P
317 \fBAPPRISE_STORAGE_PATH\fR: Explicitly specify the persistent storage path to use (overriding the default)\.
318 .P
319 \fBHTTP_PROXY\fR, \fBHTTPS_PROXY\fR, \fBNO_PROXY\fR: Standard proxy variables honored by the underlying \fBrequests\fR library (not Apprise\-specific)\. Set \fBHTTP_PROXY\fR/\fBHTTPS_PROXY\fR to route outbound notifications through a proxy, and \fBNO_PROXY\fR to exempt specific hosts\. SOCKS proxies (\fBsocks5h://\|\.\|\.\|\.\fR) additionally require the optional \fBPySocks\fR package (\fBpip install pysocks\fR) to be installed\.
320 .SH "BUGS"
321 If you find any bugs, please make them known at: \fIhttps://github\.com/caronc/apprise/issues\fR
322 .SH "DONATIONS"
323 If you found Apprise useful at all, please consider sponsoring \fIhttps://github\.com/sponsors/caronc\fR or donating \fIhttps://www\.paypal\.com/donate/?hosted_button_id=CR6YF7KLQWQ5E\fR!
324 .SH "COPYRIGHT"
325 Apprise is Copyright (C) 2026 Chris Caron \fIlead2gold@gmail\.com\fR