IP Checker is a simple Python script that retrieves IP address details using ip-api.com.
It prints the results in color and saves a report to a file.
✔️ Fetches geolocation details of an IP address
✔️ Displays results in colorized output (via colorama
)
✔️ Saves the report to a text file
✔️ Supports custom file paths
- Clone the repository
git clone https://github.com/gnatykdm/ipchecker.git cd ipchecker/checker/src
- Install dependencies
pip install -r requirements.txt
python check.py <ip> <path>
🔹 Example: Save the report in the current directory
python check.py 62.40.98.72 raport.txt
🔹 Example: Save the report in a custom folder
python check.py 62.40.98.72 /home/user/reports
[INFO] IP Information: 62.40.98.72
Country: United Kingdom
City: Cambridge
ISP: GEANT European Backbone
Latitude: 52.1917
Longitude: 0.133608
[INFO] Report saved to reports/raport.txt
This project is licensed under the MIT License.