Implemented the full clean rewrite for Gitea
All checks were successful
Test blackout notifier / test (push) Successful in 3m41s
Hourly blackout check / check (push) Successful in 8s

This commit is contained in:
Meghdad
2026-07-17 04:33:16 +03:30
parent d7f53ba234
commit 4218e4ac36
30 changed files with 1437 additions and 384 deletions

View File

@@ -1,4 +1,4 @@
# API token used to retrieve planned outages
# API token used to retrieve planned outages from SAAPA
BARGHEMAN_TOKEN=replace-with-bargheman-token
# Eitaa bot configuration
@@ -6,7 +6,10 @@ EITAAYAR_TOKEN=replace-with-eitaayar-token
CHAT_ID=replace-with-chat-id
# One or more comma-separated bill IDs
BILL_IDS=7356609804429,761/pe9314604429
BILL_IDS=7356609804429,7619314604429
# JSON file used to remember outages that have already been announced
BLACKOUTS_FILE=blackouts.json
# Optional settings and their defaults
STATE_FILE=state/outages.json
LOOKAHEAD_DAYS=5
REQUEST_TIMEOUT_SECONDS=15
MAX_EVENTS_PER_BILL=25