Skip to content

akrentsel/geolocate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

geolocate

This is a command line tool to get the geographical location of an IP or URL.

To use it, just do geolocate [IP_ADDRESS] or geolocate [URL], and the geographical information will be fetched, formatted, and printed.

For example, geolocate whitehouse.gov gives the following output:

IP Address: 104.103.84.193
Location Name: Amsterdam, NH, Netherlands
Lat, Long: (52.3500, 4.9167)

geolocate 123.123.123.123 gives the following output:

IP Address: 123.123.123.123
Location Name: Beijing, BJ, China
Lat, Long: (39.9289, 116.3883)

About

geolocate - Easy-to-use command line tool to get the geographical location of an IP or URL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages