{"id":28450115,"url":"https://github.com/parsabordbar/subnet_calculator","last_synced_at":"2026-03-04T01:16:05.127Z","repository":{"id":292838364,"uuid":"982087025","full_name":"ParsaBordbar/subnet_calculator","owner":"ParsaBordbar","description":"Calculator for calculating CIDR  of requested sub-nets of Network from Provided IP.","archived":false,"fork":false,"pushed_at":"2025-05-23T13:06:07.000Z","size":894,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T15:06:34.374Z","etag":null,"topics":["ip","net","network","rust","rust-lang","subnet","subnet-calculator","terminal-based"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/ParsaBordbar.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,"zenodo":null}},"created_at":"2025-05-12T11:01:21.000Z","updated_at":"2025-05-23T13:06:10.000Z","dependencies_parsed_at":"2025-05-12T12:48:33.739Z","dependency_job_id":null,"html_url":"https://github.com/ParsaBordbar/subnet_calculator","commit_stats":null,"previous_names":["parsabordbar/subnet_calculator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ParsaBordbar/subnet_calculator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParsaBordbar%2Fsubnet_calculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParsaBordbar%2Fsubnet_calculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParsaBordbar%2Fsubnet_calculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParsaBordbar%2Fsubnet_calculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ParsaBordbar","download_url":"https://codeload.github.com/ParsaBordbar/subnet_calculator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ParsaBordbar%2Fsubnet_calculator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262972466,"owners_count":23393043,"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":["ip","net","network","rust","rust-lang","subnet","subnet-calculator","terminal-based"],"created_at":"2025-06-06T15:06:32.480Z","updated_at":"2026-03-04T01:16:05.099Z","avatar_url":"https://github.com/ParsaBordbar.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg width=\"1160\" height=\"228\" alt=\"subnet\" src=\"https://github.com/user-attachments/assets/c809b9ff-1894-451f-894d-1369e78fb631\" /\u003e\n\n\nI wasn't good at allocating subnets So, I wrote it with rust!\n\nWhat is this this tool exactly? \n\nThis Rust-based CIDR (Classless Inter-Domain Routing) Subnet Calculator is a command-line tool designed to help network administrators and IT professionals efficiently plan and allocate IP network subnets.\n\n![image](https://github.com/user-attachments/assets/bc8126ac-f2f9-48e8-871c-1b2933278a95)\n\n## Features\n\n- Parse and analyze existing CIDR networks\n- Calculate subnet masks dynamically\n- Automatically determine optimal prefix lengths\n- Support for multiple subnet allocations\n- Detailed subnet information output\n\n## Installation\n\n### Run it Via Binnary \n\n#### Linux\n\nrun the binnary\n```bash\n./subnet\n```\n\n#### Windows\n\njust run the subnet.exe\n\n### Build It yourself\n\n#### Prerequisites\n\n- Rust Programming Language (latest stable version recommended)\n- Cargo (Rust's package manager)\n\n```bash\ngit clone https://github.com/yourusername/cidr-subnet-calculator.git\ncd cidr-subnet-calculator\n```\n\n### Build the Project\n\n```bash\ncargo build --release\n```\n\n### Run the Application\n\n```bash\ncargo run\n```\n\n## Key Concepts\n\n- **CIDR Notation**: Represents IP networks using a compact format (`IP_ADDRESS/PREFIX`)\n- **Prefix Length**: Determines the size of the network (smaller prefix = larger network)\n- **Host Count**: The number of usable IP addresses in a subnet\n\n## Planned Features\n\n- [ ] Terminal User Interface (TUI) support\n- [ ] More advanced network planning features\n\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparsabordbar%2Fsubnet_calculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparsabordbar%2Fsubnet_calculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparsabordbar%2Fsubnet_calculator/lists"}