{"id":22180672,"url":"https://github.com/jftuga/ipinfo","last_synced_at":"2025-06-12T09:40:37.953Z","repository":{"id":57580313,"uuid":"154063116","full_name":"jftuga/ipinfo","owner":"jftuga","description":"Return IP address info including geographic location and distance when given IP address, email address, host name or URL","archived":false,"fork":false,"pushed_at":"2025-04-11T12:55:49.000Z","size":60,"stargazers_count":23,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T13:14:09.383Z","etag":null,"topics":["command-line","distance","geoip","golang","ipinfo"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jftuga.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,"zenodo":null}},"created_at":"2018-10-21T23:44:48.000Z","updated_at":"2025-04-11T12:55:02.000Z","dependencies_parsed_at":"2024-06-20T07:04:16.854Z","dependency_job_id":"c7f36a9b-fc0e-4aca-b5c7-0782acbfefbb","html_url":"https://github.com/jftuga/ipinfo","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/jftuga/ipinfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fipinfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fipinfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fipinfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fipinfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jftuga","download_url":"https://codeload.github.com/jftuga/ipinfo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jftuga%2Fipinfo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259440145,"owners_count":22857859,"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":["command-line","distance","geoip","golang","ipinfo"],"created_at":"2024-12-02T09:19:05.008Z","updated_at":"2025-06-12T09:40:37.945Z","avatar_url":"https://github.com/jftuga.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ipinfo\nReturn IP address info including geographic location and distance when given IP address, email address, host name or URL\n\nIP geolocation is retrieved from https://ipinfo.io/ who allows for 1000 unauthenticated API calls per day.\n\n## Usage\n\n```\nUsage of ipinfo:\n  -1\tdisplay each entry on one row\n  -m\tmerge identical hosts\n  -t int\n    \tnumber of simultaneous threads (default 30)\n  -v\tdisplay program version and then exit\n  -w\twrap output to better fit the screen width\n  -x\tonly display your external IP and then exit\n```\n\n## Installation\n\n* macOS: `brew update; brew install jftuga/tap/ipinfo`\n* Binaries for Linux, macOS and Windows are provided in the [releases](https://github.com/jftuga/ipinfo/releases) section.\n\n## Examples\n\n```\nmacbook:ipinfo jftuga$ ./ipinfo amazon.com https://cisco.com user@github.com\n\n+-----------------+-----------------------------------------------+---------------------+----------+--------+\n|    INPUT/IP     |                 HOSTNAME/ORG                  | CITY/REGION/COUNTRY | LAT/LON  |  DIST  |\n+-----------------+-----------------------------------------------+---------------------+----------+--------+\n| amazon.com      | s3-console-us-standard.console.aws.amazon.com | Ashburn             |  39.0437 | 482.55 |\n| 205.251.242.103 | AS16509 Amazon.com, Inc.                      | Virginia            | -77.4875 |        |\n|                 |                                               | US                  |          |        |\n| amazon.com      |                                               | Ashburn             |  39.0437 | 482.55 |\n| 52.94.236.248   | AS16509 Amazon.com, Inc.                      | Virginia            | -77.4875 |        |\n|                 |                                               | US                  |          |        |\n| amazon.com      |                                               | Ashburn             |  39.0437 | 482.55 |\n| 54.239.28.85    | AS16509 Amazon.com, Inc.                      | Virginia            | -77.4875 |        |\n|                 |                                               | US                  |          |        |\n| cisco.com       | redirect-ns.cisco.com                         | Richardson          |  32.9482 | 770.84 |\n| 72.163.4.185    | AS109 CISCO SYSTEMS, INC.                     | Texas               | -96.7297 |        |\n|                 |                                               | US                  |          |        |\n| github.com      | lb-140-82-112-4-iad.github.com                | South Riding        |  38.9209 | 475.94 |\n| 140.82.112.4    | AS36459 GitHub, Inc.                          | Virginia            | -77.5039 |        |\n|                 |                                               | US                  |          |        |\n+-----------------+-----------------------------------------------+---------------------+----------+--------+\n\nyour IP addr : *redacted*\nyour location: *redacted*\nelapsed time : 450.60ms\n\nmacbook:ipinfo jftuga$ ./ipinfo -1 amazon.com https://cisco.com user@github.com\n\n+------------+-----------------+-----------------------------------------------+---------------------------+--------------+----------+---------+------------------+--------+\n|   INPUT    |       IP        |                   HOSTNAME                    |            ORG            |     CITY     |  REGION  | COUNTRY |     LAT/LON      |  DIST  |\n+------------+-----------------+-----------------------------------------------+---------------------------+--------------+----------+---------+------------------+--------+\n| amazon.com | 205.251.242.103 | s3-console-us-standard.console.aws.amazon.com | AS16509 Amazon.com, Inc.  | Ashburn      | Virginia | US      | 39.0437,-77.4875 | 482.55 |\n| amazon.com | 52.94.236.248   |                                               | AS16509 Amazon.com, Inc.  | Ashburn      | Virginia | US      | 39.0437,-77.4875 | 482.55 |\n| amazon.com | 54.239.28.85    |                                               | AS16509 Amazon.com, Inc.  | Ashburn      | Virginia | US      | 39.0437,-77.4875 | 482.55 |\n| cisco.com  | 72.163.4.185    | redirect-ns.cisco.com                         | AS109 CISCO SYSTEMS, INC. | Richardson   | Texas    | US      | 32.9482,-96.7297 | 770.84 |\n| github.com | 140.82.113.3    | lb-140-82-113-3-iad.github.com                | AS36459 GitHub, Inc.      | South Riding | Virginia | US      | 38.9209,-77.5039 | 475.94 |\n+------------+-----------------+-----------------------------------------------+---------------------------+--------------+----------+---------+------------------+--------+\n\nyour IP addr : *redacted*\nyour location: *redacted*\nelapsed time : 450.60ms\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjftuga%2Fipinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjftuga%2Fipinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjftuga%2Fipinfo/lists"}