{"id":13581729,"url":"https://github.com/xmppo/xmpp-webhook","last_synced_at":"2026-03-02T10:31:10.321Z","repository":{"id":42372925,"uuid":"104640463","full_name":"xmppo/xmpp-webhook","owner":"xmppo","description":"Multipurpose XMPP-Webhook (Built for DevOps Alerts)","archived":false,"fork":false,"pushed_at":"2024-01-14T17:58:25.000Z","size":73,"stargazers_count":22,"open_issues_count":14,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-01-14T21:36:49.733Z","etag":null,"topics":["alerting","grafana","jabber","notifications","prometheus","slack","xmpp"],"latest_commit_sha":null,"homepage":"https://github.com/xmppo/xmpp-webhook","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xmppo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-24T11:57:48.000Z","updated_at":"2024-10-18T13:23:34.000Z","dependencies_parsed_at":"2024-06-19T11:16:40.426Z","dependency_job_id":"53292a6b-b1cd-4406-bc3b-d8bd875ceda5","html_url":"https://github.com/xmppo/xmpp-webhook","commit_stats":null,"previous_names":["opthomas-prime/xmpp-webhook"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/xmppo/xmpp-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmppo%2Fxmpp-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmppo%2Fxmpp-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmppo%2Fxmpp-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmppo%2Fxmpp-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xmppo","download_url":"https://codeload.github.com/xmppo/xmpp-webhook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xmppo%2Fxmpp-webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29998512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alerting","grafana","jabber","notifications","prometheus","slack","xmpp"],"created_at":"2024-08-01T15:02:12.650Z","updated_at":"2026-03-02T10:31:10.233Z","avatar_url":"https://github.com/xmppo.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# xmpp-webhook\n- Multipurpose XMPP-Webhook (Built for DevOps Alerts)\n- Based on https://github.com/mellium/xmpp\n\n## Status\n`xmpp-webhook` currently support:\n\n- Grafana Webhook alerts\n- Alertmanager Webhooks\n- Slack Incoming Webhooks (Feedback appreciated)\n\nCheck https://github.com/tmsmr/xmpp-webhook/blob/master/parser/ to learn how to support more source services.\n\n## Usage\n- `xmpp-webhook` is configured via environment variables:\n    - `XMPP_ID` - The JID we want to use\n    - `XMPP_PASS` - The password\n    - `XMPP_RECIPIENTS` - Comma-separated list of JID's\n    - `XMPP_SKIP_VERIFY` - Skip TLS verification (Optional)\n    - `XMPP_OVER_TLS` - Use dedicated TLS port (Optional)\n    - `XMPP_WEBHOOK_LISTEN_ADDRESS` - Bind address (Optional)\n- After startup, `xmpp-webhook` tries to connect to the XMPP server and provides the implemented HTTP enpoints. e.g.:\n\n```\ncurl -X POST -d @dev/grafana-webhook-alert-example.json localhost:4321/grafana\ncurl -X POST -d @dev/alertmanager-example.json localhost:4321/alertmanager\ncurl -X POST -d @dev/slack-compatible-notification-example.json localhost:4321/slack\n```\n- After parsing the body in the appropriate `parserFunc`, the notification is then distributed to the configured recipients.\n\n## Run with Docker\n### Build it\n- Build image: `docker build -t xmpp-webhook .`\n- Run: `docker run -e \"XMPP_ID=alerts@example.org\" -e \"XMPP_PASS=xxx\" -e \"XMPP_RECIPIENTS=a@example.org,b@example.org\" -p 4321:4321 -d --name xmpp-webhook xmpp-webhook`\n### Use prebuilt image from Docker Hub\n- Run: `docker run -e \"XMPP_ID=alerts@example.org\" -e \"XMPP_PASS=xxx\" -e \"XMPP_RECIPIENTS=a@example.org,b@example.org\" -p 4321:4321 -d --name xmpp-webhook tmsmr/xmpp-webhook:latest`\n\n## Installation\n- Download and extract the latest tarball (GitHub release page)\n- Install the binary: `install -D -m 744 xmpp-webhook /usr/local/bin/xmpp-webhook`\n- Install the service: `install -D -m 644 xmpp-webhook.service /etc/systemd/system/xmpp-webhook.service`\n- Configure XMPP credentials in `/etc/xmpp-webhook.env`. e.g.:\n\n```\nXMPP_ID='bot@example.com'\nXMPP_PASS='passw0rd'\nXMPP_RECIPIENTS='jdoe@example.com,ops@example.com'\n```\n\n- Enable and start the service:\n\n```\nsystemctl daemon-reload\nsystemctl enable xmpp-webhook\nsystemctl start xmpp-webhook\n```\n\n## Building\n- Dependencies are managed via Go Modules (https://github.com/golang/go/wiki/Modules).\n- Clone the sources\n- Change in the project folder:\n- Build `xmpp-webhook`: `go build`\n- `dev/xmpp-dev-stack` starts Prosody (With \"auth_any\" and \"roster_allinall\" enabled) and two XMPP-clients for easy testing\n\n## Need help?\nFeel free to contact me!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmppo%2Fxmpp-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxmppo%2Fxmpp-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxmppo%2Fxmpp-webhook/lists"}