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…
Possibly ident.me
https://github.com/pcarrier/ident.meIt’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 UII prefer http://icanhazip.com
This has been my go-to for years
curl -s icanhazip.com
ifconfig.me you can even curl it
It does not mention anything about IPv6, when connecting via IPv4.
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)
I don’t know if it’s FOSS, but I always use ipinfo.io