FOSS IP/ISP detector

Does anyone know of a good FOSS IP detector? I'm thinking of something like https://www.whatismyisp.com/ or https://whatismyipaddress.com/. Like how https://librespeed.org/ is a good alternative to https://www.speedtest.net/.

Thanks in advance!

EDIT: Thanks for the answers everyone! Looks like we have...

41 points · 9 comments · view on lemmy.world

9 Comments

user224@lemmy.sdf.org · 10 pts · 2y

Possibly ident.me
https://github.com/pcarrier/ident.me

It's also used by Neofetch by default.
https://ident.me/ returns just the IP
https://ident.me/json returns more info in JSON format
https://www.ident.me/ has a nicer UI

jet@hackertalks.com · 8 pts · 2y (1 reply)

https://ifconfig.io/

curl ifconfig.io/ip

nutbutter@discuss.tchncs.de · 2 pts · 2y
[ removed ]
Valmond@lemmy.mindoki.com · 4 pts · 2y (1 reply)

What do you want to use it for?

ArtVandelay@lemmy.world · 2 pts · 2y
[ removed ]
dotslashme@infosec.pub · 4 pts · 2y (1 reply)
ArtVandelay@lemmy.world · 1 pts · 2y

This has been my go-to for years

curl -s icanhazip.com
dave881@lemmy.world · 3 pts · 2y

Not sure exactly what you want, but like this may be what you want. https://github.com/PeterDaveHello/ipinfo.tw

There are simpler solutions that are just a php script on your web server if you're only interested in IP address (I couldn't find a good example quickly on mobile)

_s0me_guy_@lemmy.ml · 3 pts · 2y (1 reply)

ifconfig.me you can even curl it

nutbutter@discuss.tchncs.de · 3 pts · 2y

It does not mention anything about IPv6, when connecting via IPv4.

eco_game@discuss.tchncs.de · 2 pts · 2y

I don't know if it's FOSS, but I always use ipinfo.io