IP Locator is a simple one-liner tool that allows you to find the geolocation of a device using ipinfo.io and curl.
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
$ 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
$