{"id":38157638,"url":"https://github.com/codeexpress/cidr2ip","last_synced_at":"2026-01-16T23:11:52.299Z","repository":{"id":40340903,"uuid":"168988886","full_name":"codeexpress/cidr2ip","owner":"codeexpress","description":"Convert CIDR blocks to constituent IP addresses","archived":false,"fork":false,"pushed_at":"2022-08-19T00:37:02.000Z","size":24,"stargazers_count":47,"open_issues_count":2,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-17T14:53:04.078Z","etag":null,"topics":["cidr-notation","cidr-range","cidr-subnet","cidr2ip","golang","golang-tools","ip-address","ip-range","ipv4","network"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeexpress.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-03T20:16:37.000Z","updated_at":"2025-05-04T04:20:14.000Z","dependencies_parsed_at":"2022-08-09T17:41:04.377Z","dependency_job_id":null,"html_url":"https://github.com/codeexpress/cidr2ip","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/codeexpress/cidr2ip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Fcidr2ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Fcidr2ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Fcidr2ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Fcidr2ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeexpress","download_url":"https://codeload.github.com/codeexpress/cidr2ip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeexpress%2Fcidr2ip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28487308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T22:54:02.790Z","status":"ssl_error","status_checked_at":"2026-01-16T22:50:10.344Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cidr-notation","cidr-range","cidr-subnet","cidr2ip","golang","golang-tools","ip-address","ip-range","ipv4","network"],"created_at":"2026-01-16T23:11:51.527Z","updated_at":"2026-01-16T23:11:52.279Z","avatar_url":"https://github.com/codeexpress.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cidr2ip\n\nThis program converts IPv4 CIDR blocks into their constituent IP addresses.\n\n### Input modes\n\n1. Commnd line arguments\n```\ncode@express:~$ cidr2ip 10.0.0.0/30 192.68.0.0/30\n10.0.0.1\n10.0.0.2\n192.68.0.1\n192.68.0.2\n```\n\nThe `-r` flag outputs IP ranges seperated by hyphen.\n\n```\ncode@express:~$ cidr2ip -r 10.0.0.0/30 192.68.0.0/30\n10.0.0.1-10.0.0.2\n192.68.0.1-192.68.0.2\n```\n\n2. Piped input\n```\ncode@express:~$ cat cidrs.txt | cidr2ip\n192.168.0.101\n192.168.0.102\n```\n\n3. File input\n```\ncode@express:~$ cidr2ip -f cidrs.txt\n192.168.0.101\n192.168.0.102\n```\n\n### Install\n\n#### Use `go install`\n\nIf you have `golang` tools installed, you can download and build the source code\nlocally as follows:\n```\ngo install github.com/codeexpress/cidr2ip@latest\n```\n\n#### Download from the releases pages\n\nDownload pre-built binary from the [releases page](https://github.com/codeexpress/cidr2ip/releases/latest). Rename it to `cidr2ip`. Optionally, add it to your `PATH` to be able to invoke `cidr2ip` from any directory without specifying the full path to binary.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeexpress%2Fcidr2ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeexpress%2Fcidr2ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeexpress%2Fcidr2ip/lists"}