A web application that geolocates any IP address or domain and displays the result on an interactive map.
- Automatically detects and displays the user's IP on load
- Search by IP address or domain name
- Displays IP, location, timezone, and ISP
- Interactive map powered by Leaflet.js with OpenStreetMap tiles
- Responsive design (mobile + desktop)
- Loading spinner and error handling
- HTML5, CSS3, Vanilla JavaScript (ES6+)
- Vite for development and build
- Leaflet.js for interactive maps
- OpenStreetMap tile layer
- ipify API for user IP detection
- IP Geolocation API for geolocation data
- Clone the repository:
git clone https://github.com/karimseh/ip_address_tracker.git cd ip_address_tracker - Install dependencies:
npm install
- Create a
.envfile from the example:cp .env.example .env
- Add your IP Geolocation API key to
.env:VITE_IPGEO_API_KEY=your_api_key_here - Start the dev server:
npm run dev
- To build for production:
npm run build
ip-address-tracker-git-main.karimseh.vercel.app
- Challenge by Frontend Mentor
- Coded by Karim SEHIMI