I made this because so many sites that you need to send people to, when you need their IP, are ad-laden messes. So this site is literally just your IP address, nothing more.
fwiw, ifconfig.me does user agent sniffing, so curl ifconfig.me just returns the IP address used to connect, while visiting with a browser will give a lot more information.
It probably could be but not easily. My server is IPv4 only at the moment and so I am using a Cloudflare worker to get the IP's, and I need some kind of logic to present those to the browser through my site... I'm not much of a developer you see. I'd be open to suggestions for doing both.