{"id":17962472,"url":"https://github.com/embik/davyjones","last_synced_at":"2025-08-16T10:32:51.490Z","repository":{"id":245693915,"uuid":"817742460","full_name":"embik/davyjones","owner":"embik","description":"Alertmanager webhook receiver for ntfy with support for a dead man's switch.","archived":false,"fork":false,"pushed_at":"2024-07-21T10:57:31.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-29T12:06:20.479Z","etag":null,"topics":["alertmanager","alertmanager-webhook-receiver","deadmanswitch","ntfy"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/embik.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":"2024-06-20T10:50:43.000Z","updated_at":"2024-09-14T04:19:01.000Z","dependencies_parsed_at":"2024-06-23T13:57:27.787Z","dependency_job_id":"7d1dd8ba-4d68-4b8b-af25-20c30eb8ae39","html_url":"https://github.com/embik/davyjones","commit_stats":null,"previous_names":["embik/davyjones"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embik%2Fdavyjones","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embik%2Fdavyjones/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embik%2Fdavyjones/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/embik%2Fdavyjones/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/embik","download_url":"https://codeload.github.com/embik/davyjones/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230032688,"owners_count":18162491,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["alertmanager","alertmanager-webhook-receiver","deadmanswitch","ntfy"],"created_at":"2024-10-29T11:19:29.083Z","updated_at":"2025-08-16T10:32:51.475Z","avatar_url":"https://github.com/embik.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# davyjones\n\n`davyjones` is a simple [webhook receiver for Prometheus Alertmanager](https://prometheus.io/docs/alerting/latest/configuration/#webhook_config) to send notifications to a [ntfy](https://ntfy.sh) instance for ~~calling the kraken~~ mobile push notifications.\n\nIn addition to translating alerts `davyjones` also comes with the ability to configure dead man switches, which can be used to send notifications when a \"watchdog\" alert hasn't been triggered for a certain amount of time.\n\n\u003e [!WARNING]\n\u003e `davyjones` is in a very early state and subject to changes. Please don't expect a finished software product. If you want to use it I welcome issues and pull requests, but I cannot guarantee this project is secure or works correctly.\n\n## Features\n\n- [x] Basic webhook support for processing Alertmanager webhook calls.\n- [ ] Watchdog support for sending alerts if no Alertmanager webhook calls came in for a while.\n\nFor feature requests, please open a [GitHub issue](https://github.com/embik/davyjones/issues).\n\n## Usage\n\n`davyjones` can either be built from source or be used from a container image hosted on [GitHub Packages](https://github.com/embik/davyjones/pkgs/container/davyjones). The container image can be used with Docker, Podman or Kubernetes.\n\nBy default, `davyjones` binds to `localhost`. You might have to tweak that with the `--host` flag. `davyjones` does **not** support basic authentication right now, so it is recommended to deploy it behind a reverse proxy that secures access.\n\n```sh\nUsage: davyjones [OPTIONS]\n\nOptions:\n  -v, --verbose          Enable verbose (debug) logging\n  -c, --config \u003cconfig\u003e  Configuration file to start davyjones with\n  -p, --port \u003cport\u003e      Port to listen on when starting webhook server [default: 8080]\n      --host \u003chost\u003e      Host to listen on when starting webhook server [default: localhost]\n  -h, --help             Print help\n```\n\n## Configuration\n\n`davyjones` is configured via a configuration file in TOML. An example can be found [here](./examples/config.toml).\n\n### Alertmanager\n\n`davyjones` exposes an endpoint (`/v1/webhooks/alerts`) for Alertmanager. To configure Alertmanager, add a new [receiver](https://prometheus.io/docs/alerting/latest/configuration/#receiver) to your Alertmanager configuration file. `davyjones` requires a [webhook_config](https://prometheus.io/docs/alerting/latest/configuration/#webhook_config), like this:\n\n```yaml\n- name: davyjones\n  webhook_configs:\n  - send_resolved: true\n    http_config:\n      # only if you run davyjones behind a reverse proxy with basic auth\n      basic_auth:\n        username: \u003cusername\u003e\n        password: \u003csecret\u003e\n    url: https://\u003cyour davyjones hostname\u003e/v1/webhooks/alerts\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembik%2Fdavyjones","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fembik%2Fdavyjones","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fembik%2Fdavyjones/lists"}