{"id":16164252,"url":"https://github.com/troglobit/netcalc","last_synced_at":"2025-10-15T00:32:06.578Z","repository":{"id":22716835,"uuid":"26061134","full_name":"troglobit/netcalc","owner":"troglobit","description":"Simplified clone of sipcalc with ipcalc looks","archived":false,"fork":false,"pushed_at":"2024-07-31T10:16:42.000Z","size":469,"stargazers_count":67,"open_issues_count":3,"forks_count":12,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-24T15:06:21.531Z","etag":null,"topics":["c","ip-calculator","ipcalc","ipv4-calculator","ipv6","netcalc","network-calculator","sipcalc"],"latest_commit_sha":null,"homepage":"","language":"C","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/troglobit.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-01T19:40:06.000Z","updated_at":"2025-01-07T09:41:54.000Z","dependencies_parsed_at":"2022-08-07T10:16:05.853Z","dependency_job_id":"27eddc28-6b4c-4252-ab05-705135b0bf8d","html_url":"https://github.com/troglobit/netcalc","commit_stats":{"total_commits":205,"total_committers":8,"mean_commits":25.625,"dds":"0.14146341463414636","last_synced_commit":"032298fb77f61b772b345c2c963c7d47308d29dc"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fnetcalc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fnetcalc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fnetcalc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/troglobit%2Fnetcalc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/troglobit","download_url":"https://codeload.github.com/troglobit/netcalc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236541945,"owners_count":19165764,"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":["c","ip-calculator","ipcalc","ipv4-calculator","ipv6","netcalc","network-calculator","sipcalc"],"created_at":"2024-10-10T02:45:55.922Z","updated_at":"2025-10-15T00:32:01.267Z","avatar_url":"https://github.com/troglobit.png","language":"C","readme":"IP network calculator\n=====================\n[![License Badge][]][License] [![GitHub Status][]][GitHub] [![Coverity Status][]][Coverity Scan]\n\nnetcalc is a slimmed down clone of [sipcalc][], using the output format\nof [ipcalc][].  It is written in C and only depends on a POSIX compliant\nC library.  Both IPv4 and IPv6 are supported.\n\n![Image netcalc example run](./example.png \"netcalc in action!\")\n\n\nBuild \u0026 Install\n---------------\n\n### Debian/Ubuntu\n\n    curl -sS https://deb.troglobit.com/pubkey.gpg | sudo tee /etc/apt/trusted.gpg.d/troglobit.asc\n    echo \"deb [arch=amd64] https://deb.troglobit.com/debian stable main\" | sudo tee /etc/apt/sources.list.d/troglobit.list\n    sudo apt-get update \u0026\u0026 sudo apt-get install netcalc\n\n### Docker\n\nAutomatically built images available here:\n\n* https://hub.docker.com/r/troglobit/netcalc\n\nA Dockerfile is provided to simplify building and running `netcalc`.\n\n    docker build -t netcalc:latest .\n    docker run --rm netcalc:latest netcalc 172.16.10.10/16\n\n\n### Building from Source\n\nFirst download the latest official release from GitHub:\n\n* https://github.com/troglobit/netcalc/releases\n\nAlways use the versioned tarballs, they contain all required files to be\nable to build.\n\n\n### Configure \u0026 Build\n\nThe GNU Configure \u0026 Build system use `/usr/local` as the default install\nprefix.  Here we override that to use `/usr/`, the netcalc binary will\nthen be installed in `/usr/bin`:\n\n    $ ./configure --prefix=/usr\n    $ make -j5\n    $ sudo make install-strip\n\n\n### Building from GIT\n\nIf you want to contribute, or simply just try out the latest but\nunreleased features, then you need to know a few things about the\n[GNU build system][buildsystem]:\n\n- `configure.ac` and a per-directory `Makefile.am` are key files\n- `configure` and `Makefile.in` are generated from `autogen.sh`,\n  they are not stored in GIT but automatically generated for the\n  release tarballs\n- `Makefile` is generated by `configure` script\n\nTo build from GIT; clone the repository and run the `autogen.sh` script.\nThis requires the GNU tools `automake`, `autoconf` and `libtool` to be\ninstalled on your system.  Released tarballs do not require these tools.\n\n    $ sudo apt install git automake autoconf\n\nThen you can clone the repository and create the `configure` script,\nwhich is not part of the GIT repo:\n\n    git clone https://github.com/troglobit/netcalc.git\n    cd netcalc/\n    ./autogen.sh\n    ./configure \u0026\u0026 make\n\nGIT sources are a moving target and are not recommended for production\nsystems, unless you know what you are doing!\n\n\nOrigin \u0026 References\n-------------------\n\nThe original `sipcalc` project was created by Simon Ekstrand in 2001.\nIt is no longer actively maintained, but has a lot of features and is\navailable on major Linux distributions and works on *BSD and Solaris.\n\n[Use GitHub][home] to file bug reports, questions, feature requests or\npatches — preferably as pull requests.\n\n[ipcalc]:          http://jodies.de/ipcalc\n[sipcalc]:         http://www.routemeister.net/\n[home]:            https://github.com/troglobit/netcalc\n[License]:         https://en.wikipedia.org/wiki/BSD_licenses\n[License Badge]:   https://img.shields.io/badge/License-BSD%203--Clause-blue.svg\n[GitHub]:          https://github.com/troglobit/smcroute/actions/workflows/build.yml/\n[GitHub Status]:   https://github.com/troglobit/smcroute/actions/workflows/build.yml/badge.svg\n[Coverity Scan]:   https://scan.coverity.com/projects/21276\n[Coverity Status]: https://scan.coverity.com/projects/21276/badge.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroglobit%2Fnetcalc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftroglobit%2Fnetcalc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftroglobit%2Fnetcalc/lists"}