Compare commits

2 Commits

Author SHA1 Message Date
aa7b088a1a Change title 2025-06-27 14:38:21 +02:00
d8b375d334 Update README 2025-06-27 14:32:23 +02:00
3 changed files with 19 additions and 9 deletions

7
LICENSE.txt Normal file
View File

@ -0,0 +1,7 @@
Copyright 2025 medisoftware
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,24 +1,24 @@
# TI-Status2Mattermost
# TI-Status-Bot
Ein Python-Skript, das den TI-Status überwacht und neue Meldungen über Apprise an verschiedene Dienste sendet.
## Features
- Überwacht die TI-Status-API auf neue Meldungen
- Sendet Benachrichtigungen über Apprise (unterstützt viele Dienste wie Mattermost, Slack, Telegram, Discord, etc.)
- Überwacht die [TI-Status-API](https://github.com/gematik/api-tilage) auf neue Meldungen
- Sendet Benachrichtigungen über [Apprise](https://github.com/caronc/apprise#supported-notifications) (unterstützt alle verbreiteten Dienste wie Mattermost, Slack, Telegram, Discord, SMTP, Teams, etc.)
- **Mehrere Endpunkte gleichzeitig** (Mattermost + Slack + Telegram + ...)
- **Konfigurierbare Benachrichtigungsregeln** (Filter, Zeiten, Verzögerungen)
- Konfiguration über .env Datei
- Markdown-Formatierung der Nachrichten
- Vermeidet Duplikate durch lokale Statusverfolgung
- Debug-Ausgaben für bessere Transparenz
- Umfassende Test-Tools
- Umfassendes Test-Tool
## Installation
1. Repository klonen:
```bash
git clone <repository-url>
git clone https://gitea.medisoftware.org/Markus/TI-Status2Mattermost.git
cd TI-Status2Mattermost
```
@ -40,6 +40,9 @@ pip install -r requirements.txt
1. Kopiere die Beispiel-Konfiguration:
```bash
# Windows:
copy env.example .env
# Linux/Mac:
cp env.example .env
```
@ -49,7 +52,7 @@ cp env.example .env
```bash
# Mattermost Webhook
APPRISE_URL_MATTERMOST=mattermost://username:password@mattermost.medisoftware.org/channel?webhook=your_webhook_id
APPRISE_URL_MATTERMOST=mattermost://username:password@<your-mattermost-server>/channel?webhook=your_webhook_id
# Slack (optional)
APPRISE_URL_SLACK=slack://token_a/token_b/token_c/#channel
@ -188,4 +191,4 @@ Apprise unterstützt über 80 verschiedene Benachrichtigungsdienste, darunter:
## Lizenz
[Deine Lizenz hier]
[MIT License](LICENSE.txt)

View File

@ -1,6 +1,6 @@
# Apprise Konfiguration
# Beispiel für Mattermost Webhook:
# APPRISE_URL=mattermost://username:password@mattermost.medisoftware.org/channel?webhook=your_webhook_id
# APPRISE_URL=mattermost://username:password@<your-mattermost-server>/channel?webhook=your_webhook_id
# Beispiel für andere Dienste:
# APPRISE_URL=slack://token_a/token_b/token_c/#channel
@ -11,7 +11,7 @@
# Mehrere URLs können durch Kommas getrennt werden
# Mattermost Webhook
APPRISE_URL_MATTERMOST=mattermost://username:password@mattermost.medisoftware.org/channel?webhook=your_webhook_id
APPRISE_URL_MATTERMOST=mattermost://username:password@<your-mattermost-server>/channel?webhook=your_webhook_id
# Slack (optional)
# APPRISE_URL_SLACK=slack://token_a/token_b/token_c/#channel