Developer builds ad-free IP lookup tool using vanilla JS, shares technical lessons
A developer built IPCheck.app, a free single-page IP lookup tool, after growing frustrated with ad-heavy and sign-up-required alternatives. The tool uses vanilla JavaScript with no frameworks, relying on minimal external libraries like Leaflet.js for maps and multiple API endpoints to detect both IPv4 and IPv6 addresses. A key technical challenge was handling dual-stack IP detection, which required two separate ipify endpoints since a single endpoint cannot return both address types simultaneously. The tool also includes a speed test using public Cloudflare endpoints and a password breach checker that uses k-anonymity, meaning the full password hash never leaves the browser. The developer documented these findings in a post on DEV Community, highlighting unexpected complexities such as the imprecision of IP geolocation and the nuances of IPv6 detection.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in