Preview: ipnow.rajayadav.in
IPNow is a Flask-based web application that provides users with instant access to their public IP address, geolocation, and network information. Designed with simplicity and efficiency in mind, it offers a professional and user-friendly interface to meet the needs of both casual users and professionals.
- Public IP Retrieval: Instantly display your current public IP address.
- Geolocation Details: View city, region, country, and timezone information associated with your IP address.
- Network Insights: Access information about your Internet Service Provider (ISP).
- Interactive Map: Visualize your location on an embedded Google Map.
- Responsive Design: Optimized for seamless use across devices, including mobile, tablet, and desktop.
Follow these steps to set up and run IPNow on your local machine:
-
Clone the Repository:
git clone https://github.com/RajaYadav28/ipnow.git cd ipnow -
Install Dependencies: Ensure Python (3.7 or later) is installed on your system. Install the required Python packages using:
pip install -r requirements.txt
-
Run the Application: Start the Flask development server:
python app.py
Access the application in your browser at
http://127.0.0.1:5000.Note: On a local setup, ensure the
REMOTE_ADDRheader in Flask points to the actual IP address by configuring proxies or network settings. -
Deploy (Optional): To deploy the application, you can use platforms like Vercel, Heroku, or AWS.
-
IP Data API:
- IPNow leverages the IP-API for fetching IP and location details.
- To modify the API endpoint or parameters, edit the
get_fetch_ip_detailsfunction in theapp.pyfile.
-
Static Assets:
- Customize the UI by updating or replacing images, styles, and scripts in the
staticfolder.
- Customize the UI by updating or replacing images, styles, and scripts in the
-
Environment Variables:
- Use environment variables to store sensitive data like API keys. Create a
.envfile in the root directory:API_URL=http://ip-api.com/json/ FLASK_ENV=development
- Use environment variables to store sensitive data like API keys. Create a
- app.py: Main Flask application file handling routes and logic.
- templates/: Folder containing HTML templates for the web interface.
- static/: Directory for CSS, JavaScript, and image assets.
- requirements.txt: List of Python dependencies.
This project is licensed under the MIT License. You are free to use, modify, and distribute the code. See the LICENSE file for full details.
- Permissions: Commercial use, modification, distribution, private use.
- Conditions: Include original copyright and license notice.
- Limitations: No liability or warranty is provided with the software.
For queries, suggestions, or feedback, reach out:
- Email: ry360596@gmail.com
- Portfolio: rajayadav.in
We welcome contributions to enhance IPNow! To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Commit your changes with a meaningful message.
- Open a pull request.
Created with passion by Developer Raja.
Enjoy using IPNow! Your feedback and suggestions are always appreciated.

