{"id":26449376,"url":"https://github.com/grantshandy/ipgeo","last_synced_at":"2025-07-15T04:13:13.457Z","repository":{"id":38049976,"uuid":"331791497","full_name":"grantshandy/ipgeo","owner":"grantshandy","description":"A pure-rust CLI tool that finds the location of IP addresses.","archived":false,"fork":false,"pushed_at":"2022-06-10T21:26:59.000Z","size":96,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T05:48:16.953Z","etag":null,"topics":["cli","command","interface","ip","ipgeolocation","line","location","networking","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/grantshandy.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":"2021-01-22T00:22:18.000Z","updated_at":"2024-08-24T19:47:39.000Z","dependencies_parsed_at":"2022-08-29T04:20:14.076Z","dependency_job_id":null,"html_url":"https://github.com/grantshandy/ipgeo","commit_stats":null,"previous_names":["defunctlizard/ipgeocli"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantshandy%2Fipgeo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantshandy%2Fipgeo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantshandy%2Fipgeo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grantshandy%2Fipgeo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grantshandy","download_url":"https://codeload.github.com/grantshandy/ipgeo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244246516,"owners_count":20422456,"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":["cli","command","interface","ip","ipgeolocation","line","location","networking","rust"],"created_at":"2025-03-18T14:55:24.060Z","updated_at":"2025-03-18T14:55:24.634Z","avatar_url":"https://github.com/grantshandy.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipgeo\n[![Crates.io](https://img.shields.io/crates/v/ipgeo.svg)](https://crates.io/crates/ipgeo)\n[![API](https://docs.rs/ipgeo/badge.svg)](https://docs.rs/ipgeo)\n[![Crates.io](https://img.shields.io/crates/d/ipgeo)](https://crates.io/crates/ipgeo)\n[![AUR](https://img.shields.io/aur/version/ipgeo-git)](https://aur.archlinux.org/packages/ipgeo-git/)\n\nA CLI tool that finds the location of IP addresses. Built to demonstrate my library [`ipgeolocate`](https://github.com/grantshandy/ipgeolocate).\n\n\nWith `ipgeo` you can get the location for an IP address or a DNS address and do lookups for both of them to get data on the ip, latitude, longitude, city, region, country, timezone, method, and a reverse DNS address.\n\n\n`ipgeo` was made to work within scripts, so you can use the `--silent` tag to print information without any extra fluff so it's easier to parse.\n\n\n`ipgeo` offers different methods to get information about IP addresses, and each has their own benefits. By default, ip-api.com is used because it gives accurate results and only limits requests by the minute and not by the day, week, or month.\n\n\n## Installation\nInstall it by simply doing\n```\n$ cargo install ipgeo\n```\n\n## Command Line Arguments\n```\nipgeo 0.1.8\nGrant Handy \u003cgrantshandy@gmail.com\u003e\nFinds IP Information\n\nUSAGE:\n    ipgeo [FLAGS] [OPTIONS] [--] [ADDRESS]\n\nFLAGS:\n    -a, --all           Print all available information\n    -h, --help          Prints help information\n        --horizontal    Print fields horizontally.\n    -s, --silent        Run without extra output\n    -V, --version       Prints version information\n    -v, --verbose       Run with verbose output\n\nOPTIONS:\n    -f, --fields \u003cFIELDS\u003e...    Choose what fields to print about the IP address. [possible values: ip, latitude, longitude, city, region, country, timezone, method, dns]\n    -m, --method \u003cSERVICE\u003e      Choose Geolocation API, if not set it defaults to ipapi. [possible values: ipwhois, ipapi, ipapico, freegeoip]\n\nARGS:\n    \u003cADDRESS\u003e    What IP or DNS address to look up, if none are selected then your network IP address will be chosen\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantshandy%2Fipgeo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrantshandy%2Fipgeo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrantshandy%2Fipgeo/lists"}