Geo IP Reverse is a simple web application that retrieves geolocation details from IP addresses using reverse geocoding. It finds the real latitude and longitude with good accuracy.
- Reverse Geocoding: Utilizes the OpenStreetMap Nominatim API to perform reverse geocoding, fetching detailed address information based on latitude and longitude coordinates.
- IP-based Geolocation: Fetches IP-based geolocation data using the GeoJS API, providing fallback information if accurate coordinates cannot be obtained.
- Combining Data: Merges IP-based and accurate geolocation data to provide comprehensive location information, including IP address, accuracy, latitude, longitude, city, country, timezone, and postal code.
- Display: Renders the combined location data directly in the browser, enhancing user experience by providing immediate feedback.
-
Clone the repository to your local machine:
git clone https://github.com/your-username/geo-ip-reverse.git
-
Open the geo-ip.html file in your preferred web browser.
-
Allow the browser to access your location when prompted.
-
View the retrieved geolocation details displayed on the webpage.
- HTML: Used for structuring the web page content.
- JavaScript: Implemented to fetch and manipulate data, as well as interact with APIs.
- OpenStreetMap Nominatim API: Utilized for reverse geocoding to obtain detailed address information.
- GeoJS API: Used for fetching IP-based geolocation data.
Feel free to contritbute the project.