{"id":20218021,"url":"https://github.com/matrix-org/matrix-sentry-webhooks","last_synced_at":"2025-06-25T20:06:58.250Z","repository":{"id":42690240,"uuid":"254088667","full_name":"matrix-org/matrix-sentry-webhooks","owner":"matrix-org","description":"Sentry webhooks integration bot for Matrix.","archived":false,"fork":false,"pushed_at":"2023-04-14T16:15:23.000Z","size":418,"stargazers_count":17,"open_issues_count":3,"forks_count":7,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-10T16:08:44.061Z","etag":null,"topics":["bot","integration","matrix","sentry","webhook"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matrix-org.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2020-04-08T13:00:12.000Z","updated_at":"2025-02-07T12:07:31.000Z","dependencies_parsed_at":"2025-04-12T04:15:33.090Z","dependency_job_id":null,"html_url":"https://github.com/matrix-org/matrix-sentry-webhooks","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/matrix-org/matrix-sentry-webhooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-sentry-webhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-sentry-webhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-sentry-webhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-sentry-webhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matrix-org","download_url":"https://codeload.github.com/matrix-org/matrix-sentry-webhooks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matrix-org%2Fmatrix-sentry-webhooks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261945376,"owners_count":23234237,"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":["bot","integration","matrix","sentry","webhook"],"created_at":"2024-11-14T06:36:51.369Z","updated_at":"2025-06-25T20:06:58.218Z","avatar_url":"https://github.com/matrix-org.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Matrix Sentry Webhooks\n\nA bot to receive Sentry webhook events and forward them to chosen rooms.\n\nMain features:\n\n* Supports both Integration Platform webhooks and legacy webhook events.\n* Uses pre-created Matrix user to send alerts using token auth\n* Configurable room per alert receiver\n* Automatic joining of configured rooms on start up (invite needed for private rooms)\n* Verification of messages against the Sentry client key or `secret` query param for\n  legacy integrations\n* HTML formatted messages\n\n## How to use\n\n### Configuration\n\nWhether running manually or via the Docker image, the configuration is set via \nenvironment variables. When running manually, copy `.env.default` into `.env`, \nset the values and they will be loaded automatically. When using the Docker image, \nset the environment variables when running the container.\n\n### Docker\n\nThe Docker image is the easiest way to get the service running. \nEnsure you set the required environment variables listed in `.env.default` in this \nrepository.\n\nDocker images can be found on [Docker Hub](https://hub.docker.com/r/matrixdotorg/matrix-sentry-webhooks).\n\n### Sentry\n\nThe URL for both Integration Platform events and legacy webhook events is the following,\nreplacing `yourdomain.here` with your domain where the bot runs:\n\n    https://yourdomain.here/receive\n\nNOTE! The bot cannot talk HTTPS, so you need to have a reverse proxy in place to \nterminate SSL.\n\n#### Integration platform\n\nYou'll need the Sentry Client Secret to be placed as the `SENTRY_CLIENT_SECRET`\nenvironment variables. The bot will verify the signature of payloads by comparing\nto a digest sent by Sentry in the request headers.\n\n#### Legacy webhook events\n\nYou will need to configure a webhook integration in Sentry. \nGo to project \"Settings\" -\u003e \"Legacy integrations\" -\u003e \"Webhooks\". Enable for the\nproject and add an url pointing to your bot, postfixing the url with the query\nparameter `?secret=foobar`, replacing `foobar` with a secret of your choice,\nmatching what is set as `SENTRY_CLIENT_SECRET` for the bot. Note, this does\nnot have to correlate with any real Sentry client secret.\n\n## TODO\n\n* Registering an account instead of having to use an existing account\n\n## License\n\nApache 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fmatrix-sentry-webhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatrix-org%2Fmatrix-sentry-webhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatrix-org%2Fmatrix-sentry-webhooks/lists"}