{"id":20215153,"url":"https://github.com/get-unknown-err0r/track-ip","last_synced_at":"2026-04-13T09:31:54.855Z","repository":{"id":248677649,"uuid":"829384886","full_name":"GET-UNKNOWN-ERR0R/track-ip","owner":"GET-UNKNOWN-ERR0R","description":"This Python script allows you to check your system's IP address and track details of any IP address (IPv4 or IPv6).  It uses the ip-api.com service to fetch IP address details and displays the information in a user-friendly format.","archived":false,"fork":false,"pushed_at":"2024-12-29T12:44:53.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-04T14:55:23.146Z","etag":null,"topics":["arpit-prajapati","get-unknown-err0r","github","ipaddress-tracker","ipv4-address","ipv6-address","library-database","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GET-UNKNOWN-ERR0R.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-16T10:17:59.000Z","updated_at":"2025-01-07T16:45:17.000Z","dependencies_parsed_at":"2025-01-13T21:44:37.709Z","dependency_job_id":"baaae7b2-5e4f-4b5d-aff2-f28fb2a4f19a","html_url":"https://github.com/GET-UNKNOWN-ERR0R/track-ip","commit_stats":null,"previous_names":["get-unknown-err0r/track-ip"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/GET-UNKNOWN-ERR0R/track-ip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Ftrack-ip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Ftrack-ip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Ftrack-ip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Ftrack-ip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GET-UNKNOWN-ERR0R","download_url":"https://codeload.github.com/GET-UNKNOWN-ERR0R/track-ip/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GET-UNKNOWN-ERR0R%2Ftrack-ip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arpit-prajapati","get-unknown-err0r","github","ipaddress-tracker","ipv4-address","ipv6-address","library-database","python"],"created_at":"2024-11-14T06:20:07.868Z","updated_at":"2026-04-13T09:31:54.832Z","avatar_url":"https://github.com/GET-UNKNOWN-ERR0R.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IP Address Locator\n\nThis Python script allows you to check your system's IP address and track details of any IP address (IPv4 or IPv6). It uses the `ip-api.com` service to fetch IP address details and displays the information in a user-friendly format.\n\n## Screenshot\n\n![Screenshot of the Project](ipaddress.jpeg)\n\n## Features\n\n- Check the system's IP address.\n- Track details of any given IP address.\n- Displays information such as IP address, country, region, city, latitude, longitude, and the ISP.\n- Provides a Google Maps link to the IP's location.\n- Option to open the location link directly in a browser.\n\n## Requirements\n\n- Python 3.x\n- Internet connection\n- Required libraries: `webbrowser`, `sys`, `os`, `json`, `urllib`\n\n## Usage\n\n### Setup for Linux:\n\n1. **Clone the Repository**\n\n    ```sh\n    git clone https://github.com/GET-UNKNOWN-ERR0R/track-ip.git\n    cd track-ip\n    ```\n\n2. **Make the `run-script.sh` file executable:**\n\n    Ensure that the `run-script.sh` file is executable. Run the following command to grant executable permissions:\n    ```sh\n    chmod +x run-script.sh\n    ```\n\n3. **Run the Script Using `run-script.sh`:**\n\n    You can now run the Python script by executing the `run-script.sh` file:\n    ```sh\n    ./run-script.sh\n    ```\n\n   The `run-script.sh` file will automatically handle the environment setup (if necessary) and execute the Python script.\n\n### Running Manually (Without Linux-)\n\n1. **Clone the Repository:**\n\n    ```sh\n    git clone https://github.com/GET-UNKNOWN-ERR0R/track-ip.git\n    cd track-ip\n    ```\n\n2. **Install Required Python Libraries:**\n\n    If you don't have the required libraries installed, you can install them using `pip`. Run the following command:\n\n    ```sh\n    pip install -r requirements.txt\n    ```\n\n    If there is no `requirements.txt`, you can manually install the libraries:\n\n    ```sh\n    pip install webbrowser sys os json urllib\n    ```\n\n3. **Run the Script:**\n\n    Execute the following command to start the script:\n\n    ```sh\n    python iptracker.py\n    ```\n\n4. **Choose an Option:**\n\n    - `01` - Check System IP: This will fetch and display the IP address details of the current system.\n    - `02` - Track IP: Enter an IP address to fetch and display its details.\n    - `03` - Exit: Exit the script.\n\n## Code Explanation\n\nThe script contains the following main components:\n\n### 1. Class `IPAddressLocator`\n\nThis class handles all functionalities of the script.\n\n- **Attributes:**\n  - `COLORS`: A dictionary defining color codes for terminal output.\n\n- **Methods:**\n  - `__init__`: Initializes the path attribute to check if the script is running in Termux.\n  - `clear_screen`: Clears the terminal screen.\n  - `display_header`: Displays the script header.\n  - `display_menu`: Displays the main menu and handles user input.\n  - `display_ip_details`: Displays details of the IP address fetched from the API.\n  - `ask_to_open_browser`: Prompts the user to open the Google Maps link in a browser.\n  - `fetch_ip_details`: Fetches IP details from the API.\n  - `track_ip`: Prompts the user to enter an IP address and fetches its details.\n  - `check_system_ip`: Fetches and displays the system's IP address.\n  - `run`: Starts the script and handles exceptions.\n\n### 2. Script Execution\n\nThe script starts by creating an instance of `IPAddressLocator` and calling its `run` method.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fget-unknown-err0r%2Ftrack-ip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fget-unknown-err0r%2Ftrack-ip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fget-unknown-err0r%2Ftrack-ip/lists"}