Push notifications that work with just about every platform
open sourceBSD-2-Clauseself-hostablefree
Apprise is a Python library and command-line tool that sends one notification to almost any notification service, each addressed by a URL such as discord://, tgram:// or mailto://: chat apps like Slack, Discord and Telegram, push servers like ntfy and Gotify, SMS gateways, email, incident tools such as PagerDuty and Opsgenie, and Linux, macOS and Windows desktop notifications. Services can be grouped with tags and kept in YAML or text configuration files, messages are sent asynchronously with attachments where a service accepts them, and custom schema:// hooks run your own code. Messages go straight from your machine to each service. The separate Apprise API project (caronc/apprise-api, MIT, Docker image caronc/apprise) wraps it as a REST service with a web configuration manager and Android and iOS companion apps. Chris Caron created it and maintains it under the BSD 2-Clause licence.
Ways to install
On your own server
Package managers
Problems it solves
- send the same alert to Slack, Telegram and email from one script without learning each service's API
- my homelab scripts need to notify me on whatever app I'm using this month
- add notifications to my Python app and let users pick from dozens of services
- pipe the output of a shell command into a push notification on my phone
- keep notification credentials in a config file instead of on the command line
- notify only the ops group or only the family group, using tags on a set of destinations
- send a file or image along with an alert to the chat apps that accept attachments
- a self-hosted REST endpoint any of my containers can call to send notifications through many services
- send notifications to services without routing them through a third-party relay
- show a desktop notification on Linux, macOS or Windows when a long job finishes
- add my own notification channel with a few lines of Python
- one notification config several self-hosted apps can share
Features
- one URL syntax for over 150 notification services
- chat, SMS, email, push and incident-management destinations
- Linux DBus and GNOME, macOS and Windows desktop notifications
- apprise CLI that reads the message body from stdin
- YAML and text configuration files, also loadable over HTTP
- tags to notify groups of services
- file attachments, including web-hosted attachments
- asynchronous delivery
- custom schema:// hooks with the @notify decorator
- optional persistent storage cache
View 3 more
- Apprise API: a separate REST gateway with a web configuration manager (caronc/apprise-api)
- Apprise Mobile Android and iOS apps for an Apprise API server
- packaged on PyPI and in EPEL
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Takes plugins | plan not known |
