{"id":48745085,"url":"https://github.com/siiway/org-webhook-spliter","last_synced_at":"2026-04-12T10:11:31.353Z","repository":{"id":317354677,"uuid":"1066369260","full_name":"siiway/org-webhook-spliter","owner":"siiway","description":"一个简单的 Cloudflare Worker, 用于拆分私有 / 公开仓库的组织 Webhook","archived":false,"fork":false,"pushed_at":"2026-03-01T13:09:51.000Z","size":314,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-01T16:47:54.945Z","etag":null,"topics":["github-webhook","github-webhook-handler","webhook"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/siiway.png","metadata":{"files":{"readme":"README.en.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-29T11:47:04.000Z","updated_at":"2026-03-01T13:09:55.000Z","dependencies_parsed_at":"2025-09-30T12:09:18.214Z","dependency_job_id":"bf5b9b4b-ea64-4d6b-aebc-548491e694c4","html_url":"https://github.com/siiway/org-webhook-spliter","commit_stats":null,"previous_names":["siiway/org-webhook-spliter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/siiway/org-webhook-spliter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siiway%2Forg-webhook-spliter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siiway%2Forg-webhook-spliter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siiway%2Forg-webhook-spliter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siiway%2Forg-webhook-spliter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siiway","download_url":"https://codeload.github.com/siiway/org-webhook-spliter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siiway%2Forg-webhook-spliter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31711042,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["github-webhook","github-webhook-handler","webhook"],"created_at":"2026-04-12T10:11:30.629Z","updated_at":"2026-04-12T10:11:31.347Z","avatar_url":"https://github.com/siiway.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# org-webhook-spliter\n\nLanguage / 语言: [中文](./README.md) | **English**\n\nA Cloudflare Worker to split organization webhooks to different targets, preventing data leak\n\n## Functions\n\n- [x] [Split by **Public / Private Repositories** in an organization](#org_config)\n- [x] [Split by **Single Repository**](#repo_config)\n- [x] [Secret Validation *(path verify)*](#secret)\n\n## Deploy\n\nClick the button below:\n\n[![Deploy to Cloudflare](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/siiway/org-webhook-spliter)\n\n## Secrets\n\n### `SECRET`\n\nIf not set to `/disabled` or `disabled`, will only allow requests made to this path\n\n### `REPO_CONFIG`\n\nForwarding config for single repo (**Priority is higher than `ORG_CONFIG`**)\n\nFormat:\n\n```jsonc\n{\n    \"siiway/.github\": [\n        \"https://discord.com/api/webhooks/1422516241670738041/xxx/github\"\n        // more target hook urls\n    ],\n    // \"siiway/internal\": [...] // more repos\n}\n```\n\n### `ORG_CONFIG`\n\nForwarding config for organization\n\nFormat:\n\n```jsonc\n{\n    \"siiway\": { // Org login name (github.com/siiway -\u003e siiway)\n        \"private\": [ // Notifications for private repos\n            {\n                \"name\": \"dc-webhook\",\n                \"url\": \"https://discord.com/api/webhooks/1422185291191418900/xxx/github\"\n            },\n            // {\"url\": \"https://target.url\"}\n        ],\n        \"public\": [ // Notifications for public repos\n            {\n                \"name\": \"dc-webhook-pub\",\n                \"url\": \"https://discord.com/api/webhooks/1199938889469657118/xxx/github\",\n                \"headers\": {\n                    \"Authorization\": \"Bot My.Bot.Token\" // to pass rate limit (that based by ip address)\n                }\n            }\n        ],\n        \"others\": [ // Notifications that are not associated with a repo\n            {\n                \"url\": \"https://discord.com/api/webhooks/1422185291191418900/xxx/github\" // if you think url leaking is doesn't matter for this hook\n            }\n        ]\n    },\n    // \"sleepy-project\": {\n        // ...\n    // }\n}\n```\n\n### `HEADERS`\n\nRequest headers config\n\nFormat:\n\n```jsonc\n{\n    \"Authorization\": \"Bearer TOKEN\",\n    \"Content-Type\": \"application/json\",\n    \"X-Delete-Me\": null, // Set to null to remove A existing header\n    // ...\n}\n```\n\n\u003e [!TIP]\n\u003e Also supports YAML config.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiiway%2Forg-webhook-spliter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiiway%2Forg-webhook-spliter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiiway%2Forg-webhook-spliter/lists"}