IP-Reveal is a Golang based tool for displaying your public IP address similar to whatismyipaddress.com
MIT License
Do you want to build a clone website similar to whatismyipaddress.com? It is actually easy to develop. I was working on an automated DNS client that will check my public IP address and I decided to build this tool. Perhaps, somebody might need this as well in the future. I already made the completed tool available online at ip.johnpili.com It works by reading the HTTP header request which contains information such as IP Address, User-Agent, Scheme, etc. If you are using a reverse proxy like Cloudflare, you can extract IP information from header keys Cf-Connecting-Ip or X-Real-Ip