5 releases (3 breaking)
0.4.2 | Oct 19, 2022 |
---|---|
0.4.1 | Sep 25, 2022 |
0.3.0 | Sep 25, 2022 |
0.2.0 | Sep 25, 2022 |
0.1.0 | Sep 9, 2022 |
#17 in #ip-lookup
7KB
144 lines
WhatIP
A simple CLI program to look up an IP address
Installation
Make sure you have cargo installed, then run cargo install whatip
Usage
whatip
will look up an IP address and return informations about it.
$ whatip 1.1.1.1
IP: 1.1.1.1
Country: Australia (AU)
Region: Queensland (QLD)
City: South Brisbane
Zip code: 4101
Latitude: -27.4766
Longitude: 153.0166
Timezone: Australia/Brisbane
ISP: Cloudflare, Inc
Organization: APNIC and Cloudflare DNS Resolver project
ASN: AS13335 Cloudflare, Inc.
ASN Name: CLOUDFLARENET
Hostname: one.one.one.one
Dependencies
~3.5–5MB
~86K SLoC