/IPLocator

IP Locator is a simple tool that allows you to find the geolocation of a device by its domain name or IP address

Primary LanguageShellGNU General Public License v3.0GPL-3.0

IPLocator

IP Locator is a simple one-liner tool that allows you to find the geolocation of a device using ipinfo.io and curl.

Installation

Run the following command for full installation:

git clone https://github.com/MichaelDim02/iplocator.git && cd iplocator/ && chmod +x ipl.sh && sudo cp ipl.sh /bin/ipl

Usage

$ ipl 142.250.181.238
  ip: 142.250.181.238,
  hostname: fra16s56-in-f14.1e100.net,
  city: Mountain View,
  region: California,
  country: US,
  loc: 38.0088,-122.1175,
  org: AS15169 Google LLC,
  postal: 94043,
  timezone: America/Los_Angeles,
  readme: https://ipinfo.io/missingauth
$