{"id":24164531,"url":"https://github.com/alxgmpr/google-hole-punch","last_synced_at":"2026-06-20T08:31:12.600Z","repository":{"id":271270393,"uuid":"912913584","full_name":"alxgmpr/google-hole-punch","owner":"alxgmpr","description":"Punch holes in your Cloudflare firewalls by scraping Google egress IPs and storing them in a group","archived":false,"fork":false,"pushed_at":"2025-01-06T17:30:35.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-21T12:41:21.559Z","etag":null,"topics":["cloudflare","firewall","google","workers"],"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/alxgmpr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2025-01-06T16:44:47.000Z","updated_at":"2025-01-06T17:30:39.000Z","dependencies_parsed_at":"2025-01-06T17:49:59.820Z","dependency_job_id":"fda46f1a-ab37-4039-acca-1d0537b3ba9a","html_url":"https://github.com/alxgmpr/google-hole-punch","commit_stats":null,"previous_names":["alxgmpr/google-hole-punch"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alxgmpr/google-hole-punch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxgmpr%2Fgoogle-hole-punch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxgmpr%2Fgoogle-hole-punch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxgmpr%2Fgoogle-hole-punch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxgmpr%2Fgoogle-hole-punch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alxgmpr","download_url":"https://codeload.github.com/alxgmpr/google-hole-punch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alxgmpr%2Fgoogle-hole-punch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34563535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"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","firewall","google","workers"],"created_at":"2025-01-12T19:17:37.020Z","updated_at":"2026-06-20T08:31:12.583Z","avatar_url":"https://github.com/alxgmpr.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Google Hole Punch\n\nPunch holes in your Cloudflare firewalls by scraping Google egress IPs and storing them in a group.\n\nThis assumes that you have created a Cloudflare Access rule that allows traffic from a specific group of IPs. This worker will update that group with the latest Google egress IPs.\n\nIP addresses are scraped from https://www.gstatic.com/ipranges/goog.json\n\n## Usage\n\n- install dependencies: `npm i`\n- generate a Cloudflare API token with the following permissions to the account where the CF Access rules are stored/referenced.\n  - `Access: Organizations, Identity Providers` and `Groups:Edit`\n- set `CLOUDFLARE_API_TOKEN` environment variable to the token value\n  - set in `.dev.vars` for local development or\n  - in production: `npx wrangler secret put CLOUDFLARE_API_TOKEN`\n- update `ACCESS_GROUP_ID` and `CLOUDFLARE_ACCOUNT_ID` in `wrangler.toml`\n\n## Running\n\nWhen deployed, the worker runs on a cron schedule set in `wrangler.toml`. The scraper runs daily at midnight.\n\nTo test locally, run `npm run dev` and then ping `curl \"http://localhost:8787/__scheduled?cron=0+0+*+*+*\"`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falxgmpr%2Fgoogle-hole-punch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falxgmpr%2Fgoogle-hole-punch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falxgmpr%2Fgoogle-hole-punch/lists"}