{"id":48121198,"url":"https://github.com/franzramadhan/cidrlist","last_synced_at":"2026-04-04T16:19:48.497Z","repository":{"id":227305529,"uuid":"771050869","full_name":"franzramadhan/cidrlist","owner":"franzramadhan","description":"A simple CLI tool to get CIDR ranges from common internet providers","archived":false,"fork":false,"pushed_at":"2024-11-18T07:51:19.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T08:29:40.544Z","etag":null,"topics":["akamai","aws","cidr","cloudflare","google"],"latest_commit_sha":null,"homepage":"","language":"Go","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/franzramadhan.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-12T15:48:52.000Z","updated_at":"2024-11-18T07:30:13.000Z","dependencies_parsed_at":"2024-03-12T17:03:05.450Z","dependency_job_id":"339a2404-8430-4155-8825-08e4251a4b70","html_url":"https://github.com/franzramadhan/cidrlist","commit_stats":null,"previous_names":["franzramadhan/cidrlist"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/franzramadhan/cidrlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzramadhan%2Fcidrlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzramadhan%2Fcidrlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzramadhan%2Fcidrlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzramadhan%2Fcidrlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/franzramadhan","download_url":"https://codeload.github.com/franzramadhan/cidrlist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/franzramadhan%2Fcidrlist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31405700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":["akamai","aws","cidr","cloudflare","google"],"created_at":"2026-04-04T16:19:48.073Z","updated_at":"2026-04-04T16:19:48.485Z","avatar_url":"https://github.com/franzramadhan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cidrlist\n\nSimple cli to get CIDR list from well known providers\n\n## Available Providers\n\n| Provider name | Constant name | Source of IP addresses |\n| :- | :- | :- |\n| `akamai` | `cidrlist.ProviderAkamai` | [Akamai Origin IP ACL](https://techdocs.akamai.com/origin-ip-acl/docs/welcome) |\n| `aws` | `cidrlist.ProviderAWS` | [AWS IP Address Ranges](https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-ranges.html) |\n| `cloudflare` | `cidrlist.ProviderCloudflare` | [Cloudflare IP Ranges](https://www.cloudflare.com/ips/) |\n| `gcp` | `cidrlist.ProviderGCP` | [Google Cloud Global \u0026 Regional IP Address Ranges](https://support.google.com/a/answer/10026322?hl=en) |\n| `google` | `cidrlist.ProviderGoogle` | [Google IP Address Ranges](https://support.google.com/a/answer/10026322?hl=en) |\n\n## Usage\n\nInstall the library using the following command:\n\n```go\ngo get -u github.com/franzramadhan/cidrlist\n```\n\nImplementation example:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/franzramadhan/cidrlist\"\n)\n\nfunc main() {\n\tips, err := cidrlist.Get(cidrlist.ProviderAWS)\n\tif err != nil {\n\t\tfmt.Println(err)\n\t\treturn\n\t}\n\n\tfmt.Printf(\"IP of provider %s:\\n\", cidrlist.ProviderAWS)\n\tfor _, ip := range ips {\n\t\tfmt.Println(ip)\n\t}\n}\n```\n\n## CLI Usage\n\nInstall cidrlist CLI using the following command:\n\n```go\ngo install github.com/franzramadhan/cidrlist/cmd/cidrlist@latest\n```\n\nUsage:\n\n```go\ncidrlist get \u003cprovider-name\u003e\ncidrlist get cloudflare\ncidrlist get gcp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranzramadhan%2Fcidrlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranzramadhan%2Fcidrlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranzramadhan%2Fcidrlist/lists"}