Skip to content

WHATISMYIP is a lightweight tool to instantly display your public IP address, geolocation, and ISP details. Perfect for troubleshooting network issues or checking your connection status with ease! 🌐

License

Notifications You must be signed in to change notification settings

mateo-rfz/whatismyip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

86 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

WHAT IS MY IP

web pic

This lightweight and fast script allows you to effortlessly display your public IP address and key network details, such as location and ISP. A practical tool for checking your internet connection status and related information! πŸš€

Features

  • Display your public IP address.
  • Get geolocation details (country, city, etc.).
  • Fast and lightweight.
  • Easy to integrate with other tools.
  • Option for verbose output with additional info.

Installation (client)

To install the required dependencies, run the following commands on client:

pip install pyinstaller
pip install colorama
pip install requests

Installation (server)

To install the required dependencies, run the following commands on server:

pip install flask

Usage (server)

python app.py

Usage (client)

To use the script, run the following command:

python client/whatismyip.py

Command-Line Options

  • --set_url "http://localhost:6263": Allows you to specify a custom URL for the server.
  • -v: Verbose mode, shows more detailed information.
  • -i "IP_ADDRESS": Fetch detailed info for any specific IP address.

Example output 01

 β–ˆ   β–ˆ β–ˆ β–ˆβ–„ β–„β–ˆ β–ˆ β–ˆβ–€β–„
 β–€β–„β–€β–„β–€ β–ˆ β–ˆ β–€ β–ˆ β–ˆ β–ˆβ–€ 

IP : 123.123.123.123
Country : Country
City : City
ISP : Internet service provider

Example output 02

 β–ˆ   β–ˆ β–ˆ β–ˆβ–„ β–„β–ˆ β–ˆ β–ˆβ–€β–„
 β–€β–„β–€β–„β–€ β–ˆ β–ˆ β–€ β–ˆ β–ˆ β–ˆβ–€ 

status : success
country : country
countryCode : countryCode
region : region
regionName : regionName
city : city
zip : zip
lat : lat
lon : lon
timezone : timezone
isp : isp
org : org
as : as
query : 123.123.123.123

About

WHATISMYIP is a lightweight tool to instantly display your public IP address, geolocation, and ISP details. Perfect for troubleshooting network issues or checking your connection status with ease! 🌐

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published