whereamip shows, in the menu bar, the country flag of the public IP address that traffic currently leaves the Mac from, and reports whether a VPN or iCloud Private Relay is carrying that traffic and whether DNS queries are resolving outside it. The same information is available as one-shot text or JSON from the command line tool of the same name.

WWW: https://github.com/frinsen/whereamip
