{"id":19951791,"url":"https://github.com/h0llyw00dzz/cidr","last_synced_at":"2026-06-10T00:31:11.441Z","repository":{"id":229329855,"uuid":"776458929","full_name":"H0llyW00dzZ/cidr","owner":"H0llyW00dzZ","description":"The cidr package provides a Go utility for converting CIDR (Classless Inter-Domain Routing) blocks into a range of numeric IP addresses. It is designed to work specifically with IPv4 addresses and is useful for network-related operations such as checking if an IP address falls within a CIDR range.","archived":false,"fork":false,"pushed_at":"2024-03-27T02:06:56.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T00:13:04.558Z","etag":null,"topics":["firewall","go","golang","golang-package","idiomatic-go","ipv4-address","network"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/H0llyW00dzZ.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-23T15:11:59.000Z","updated_at":"2024-03-24T16:51:07.000Z","dependencies_parsed_at":"2024-03-27T02:43:10.024Z","dependency_job_id":null,"html_url":"https://github.com/H0llyW00dzZ/cidr","commit_stats":null,"previous_names":["h0llyw00dzz/cidr"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H0llyW00dzZ%2Fcidr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H0llyW00dzZ%2Fcidr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H0llyW00dzZ%2Fcidr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/H0llyW00dzZ%2Fcidr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/H0llyW00dzZ","download_url":"https://codeload.github.com/H0llyW00dzZ/cidr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241381645,"owners_count":19953751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["firewall","go","golang","golang-package","idiomatic-go","ipv4-address","network"],"created_at":"2024-11-13T01:09:43.847Z","updated_at":"2026-06-10T00:31:11.428Z","avatar_url":"https://github.com/H0llyW00dzZ.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpre\u003e\n   ______      ______________  ____ \n  / ____/___  / ____/  _/ __ \\/ __ \\\n / / __/ __ \\/ /    / // / / / /_/ /\n/ /_/ / /_/ / /____/ // /_/ / _, _/    Range Converter\n\\____/\\____/\\____/___/_____/_/ |_|  \n                                    \nCopyright (©️) 2024 @H0llyW00dzZ All rights reserved.\n\u003c/pre\u003e\n\n[![Go Version](https://img.shields.io/badge/1.22.1-gray?style=flat\u0026logo=go\u0026logoWidth=15)](https://github.com/H0llyW00dzZ/cidr/blob/master/go.mod#L3)\n[![Go Reference](https://pkg.go.dev/badge/github.com/H0llyW00dzZ/cidr.svg)](https://pkg.go.dev/github.com/H0llyW00dzZ/cidr)\n[![Go Report Card](https://goreportcard.com/badge/github.com/H0llyW00dzZ/cidr)](https://goreportcard.com/report/github.com/H0llyW00dzZ/cidr)\n\nThe `cidr` package provides a Go utility for converting CIDR (Classless Inter-Domain Routing) blocks into a range of numeric IP addresses. It is designed to work specifically with IPv4 addresses and is useful for network-related operations such as checking if an IP address falls within a CIDR range.\n\n## Features\n\n- Convert CIDR blocks to numeric IP address ranges.\n- Handle IPv4 addresses.\n- Simple and easy-to-use API.\n\n## Installation\n\n\u003e [!NOTE]\n\u003e This requires `go1.22.1+`. The reason it's not supported on older versions (e.g, `go1.21` or `lower`)\n\u003e is because `go1.22+` supports range over integers. If you're advanced in Go, you can easily perform mass checking using multiple goroutines or a single goroutine.\n\nTo install the `cidr` package, you need to have Go installed on your machine. Use the following go get command to retrieve the package:\n\n```sh\ngo get github.com/H0llyW00dzZ/cidr\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh0llyw00dzz%2Fcidr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh0llyw00dzz%2Fcidr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh0llyw00dzz%2Fcidr/lists"}