Every device on the Internet has an IP address.
It can be an IPv4 version (e.g.
18.104.22.168) or IPv6 (e.g.
Sometimes you need to know your IP or see information about another IP.
There are several services for this purpose:
I wanted something more minimalistic, without styles, to use it from the console with
Not long thinking, I wrote a little service: https://ip.chuhlomin.com/
$ curl -L https://ip.chuhlomin.com ip: 22.214.171.124 user_agent: curl/7.77.0 asn: number: 6079 org: RCN-AS geoip: country: US country_name: United States city: Queens lat: 40.726 lon: -73.848
Tested only on IPv4, so PRs are welcome: https://github.com/chuhlomin/ip