Metadata-Version: 2.4
Name: hegemony-notification-shoutrrr-presets
Version: 0.3.4
Summary: Friendly Shoutrrr-backed notification presets for Hegemony
License-Expression: AGPL-3.0-or-later
License-File: LICENSE-AGPL-3.0-or-later.txt
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: System Administrators
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: System :: Systems Administration
Requires-Dist: hegemony-notification-sdk==0.3.4
Requires-Python: >=3.11
Project-URL: Homepage, https://hegemony.sh
Project-URL: Documentation, https://hegemony.sh
Project-URL: Source, https://github.com/hegemony-sh/hegemony-notification-plugins
Project-URL: Issues, https://github.com/hegemony-sh/hegemony-notification-plugins/issues
Project-URL: Changelog, https://github.com/hegemony-sh/hegemony-notification-plugins/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

<!--
SPDX-FileCopyrightText: 2025-2026 Rexonix s.r.o.
SPDX-FileContributor: Jakub Trávník <jakub.travnik@gmail.com>

SPDX-License-Identifier: AGPL-3.0-or-later
-->

# hegemony-notification-shoutrrr-presets

Friendly notification presets built on Hegemony's `shoutrrr` transport. Instead
of asking users to hand-craft a Shoutrrr service URL, each preset exposes a few
simple fields and assembles the URL for them:

| Destination | Fields |
|-------------|--------|
| `telegram`  | bot token (secret), chat IDs |
| `discord`   | webhook token (secret), webhook ID |
| `slack`     | webhook tokens (secret), bot name (optional) |
| `pushover`  | API token (secret), user key, devices (optional) |

Token fields are entered as secret references (e.g.
`{{ secret('vault://telegram/token') }}`) and are passed through to the host's
Shoutrrr transport, which resolves them at send time — this plugin never handles
secret values.

## Install

From 0.3.3 on the package is on PyPI
(`uv pip install hegemony-notification-shoutrrr-presets==X.Y.Z` or `pip install hegemony-notification-shoutrrr-presets==X.Y.Z`); the release
workflow uploads releases after 0.3.3 with trusted publishing and PEP 740
attestations (0.3.3 itself was uploaded by hand, without them). From the first
release after 0.3.3, each GitHub release of this repository carries the same
wheel and sdist, a `SHA256SUMS` file and the SLSA provenance bundle that
`gh attestation verify` checks; earlier releases carry only the wheel and
`SHA256SUMS` (plus the provenance bundle where one was made). Install the release your Hegemony version pins into both the API and
the worker as described in
[Install From A Release](https://github.com/hegemony-sh/hegemony-notification-plugins/blob/main/README.md#install-from-a-release), then restart
both.

The host discovers it automatically via the
`hegemony.notification_providers` entry-point group. Requires the host's
built-in `shoutrrr` transport and the `shoutrrr` binary.
