{"id":16742264,"url":"https://github.com/searchableguy/cloudflare_worker_alert_webhook","last_synced_at":"2026-04-16T05:32:41.311Z","repository":{"id":103067635,"uuid":"582433461","full_name":"searchableguy/cloudflare_worker_alert_webhook","owner":"searchableguy","description":"Cloudflare worker to send alerts to Discord or Slack when your Cloudflare worker script errors exceed a threshold.","archived":false,"fork":false,"pushed_at":"2022-12-26T20:25:27.000Z","size":22,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-18T16:58:21.599Z","etag":null,"topics":["cloudflare","discord","slack","typescript","webhook","workers"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/searchableguy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-12-26T20:24:57.000Z","updated_at":"2025-07-09T00:14:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"aef14a30-d79f-4dbf-9bd5-1d69e176e2c3","html_url":"https://github.com/searchableguy/cloudflare_worker_alert_webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/searchableguy/cloudflare_worker_alert_webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchableguy%2Fcloudflare_worker_alert_webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchableguy%2Fcloudflare_worker_alert_webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchableguy%2Fcloudflare_worker_alert_webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchableguy%2Fcloudflare_worker_alert_webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/searchableguy","download_url":"https://codeload.github.com/searchableguy/cloudflare_worker_alert_webhook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/searchableguy%2Fcloudflare_worker_alert_webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31872620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cloudflare","discord","slack","typescript","webhook","workers"],"created_at":"2024-10-13T01:23:12.148Z","updated_at":"2026-04-16T05:32:41.278Z","avatar_url":"https://github.com/searchableguy.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cloudflare Worker Alert Webhook\n\nCloudflare worker to send alerts to Discord or Slack when your Cloudflare worker script errors exceed a threshold.\n\n## 🚀 Get started\n\n1. Clone this repository and run `pnpm install` to install dependencies inside the worker directory.\n\n1. Setup secrets in your Cloudflare account. You can do this directly from the dashboard or use wrangler. See [wrangler docs](https://developers.cloudflare.com/workers/wrangler/commands/#secret) for more information.\n\n```sh\nCLOUDFLARE_TOKEN # Your Clouldflare API token. You need to enable read scope for Analytics. Do not give this token write scope.\nCLOUDFLARE_ACCOUNT_TAG # Your Cloudflare account tag.\nCLOUDFLARE_SCRIPT_NAME # Your worker script name.\nCLOUDFLARE_SCRIPT_ENVIRONMENT # Defaults to `production`.\nCLOUDFLARE_ERROR_THRESHOLD # How many errors to allow before sending an alert. Defaults to 1.\nMETRICS_PERIOD_IN_HOURS # What period of time to look at for error metrics. Defaults to 1 hour.\nWEBHOOK_URL # Discord or Slack webhook URL. For discord, append `/slack` to the generated webhook URL.\n```\n\nRun `wrangler secrets put CLOUDFLARE_TOKEN` and follow the prompts to add your secrets. You need to do this for each secret.\n\n1. Run `wrangler publish` to deploy the worker.\n\n# 📝 License\n\nThe project is licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsearchableguy%2Fcloudflare_worker_alert_webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsearchableguy%2Fcloudflare_worker_alert_webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsearchableguy%2Fcloudflare_worker_alert_webhook/lists"}