Simple FastAPI app exposing a POST /alerts route that receives Alertmanager payloads, logs them, and sends notifications to Bark webhook.
python -m pip install -r requirements.txtBARK_DEVICE_KEYS: Comma-separated list of Bark device keys (e.g., "key1,key2,key3")BARK_WEBHOOK_URL: Webhook URL (default: http://142.132.147.162:4000/push)
uvicorn main:app --reload --host 0.0.0.0 --port 8000curl -X POST http://localhost:8000/alerts -H "Content-Type: application/json" -d '{"message":"test"}'