{"id":19145052,"url":"https://github.com/haithamaouati/geolocate","last_synced_at":"2025-05-07T01:12:31.540Z","repository":{"id":219952061,"uuid":"750361185","full_name":"haithamaouati/Geolocate","owner":"haithamaouati","description":"Geolocate an IP address using JSON API.","archived":false,"fork":false,"pushed_at":"2024-11-26T13:55:59.000Z","size":388,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T17:17:01.606Z","etag":null,"topics":["api","bash","bash-script","geolocate","geolocation","ip","ipaddress","location","script","termux","termux-tool","tools"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/haithamaouati.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,"zenodo":null}},"created_at":"2024-01-30T13:58:46.000Z","updated_at":"2025-01-29T08:37:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"627c0e95-c1e4-45ef-bf61-5297f9d78624","html_url":"https://github.com/haithamaouati/Geolocate","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"69f07cb2ea046b97648567075e6c7b0129795296"},"previous_names":["haithamaouati/geolocate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haithamaouati%2FGeolocate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haithamaouati%2FGeolocate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haithamaouati%2FGeolocate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haithamaouati%2FGeolocate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haithamaouati","download_url":"https://codeload.github.com/haithamaouati/Geolocate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252793653,"owners_count":21805058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["api","bash","bash-script","geolocate","geolocation","ip","ipaddress","location","script","termux","termux-tool","tools"],"created_at":"2024-11-09T07:37:44.784Z","updated_at":"2025-05-07T01:12:31.376Z","avatar_url":"https://github.com/haithamaouati.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Geolocate\n\n**Geolocate** an IP address using the ip-api.com JSON API. The script displays various details such as city, region, country, ISP, and more. Additionally, it saves the fetched information to a JSON file.\n\n![screenshot](https://raw.githubusercontent.com/haithamaouati/Geolocate/refs/heads/main/screenshot.jpg)\n\n## Usage\n\nTo use the Geolocate script, follow these steps:\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/haithamaouati/Geolocate.git\n    ```\n\n2. Navigate to the Geolocate directory:\n\n    ```bash\n    cd Geolocate\n    ```\n\n3. Run the script with a specified IP address:\n\n    ```bash\n    ./geolocate.sh [OPTIONS] \u003cIP address\u003e\n    ```\n\n   Replace `\u003cIP address\u003e` with the actual IP address you want to geolocate.\n\n##### Options:\n\n`-h, --help`\nDisplays the help message with usage instructions.\n\n`-i, --ip \u003cIP\u003e`\nSpecify the IP address to geolocate. If not provided, the script will use your public IP.\n\n`-f, --file`\nSaves the geolocation information to a JSON file named after the IP address.\n\n## Dependencies\n\nThe script requires the following dependencies:\n\n- [figlet](http://www.figlet.org/): Program for making large letters out of ordinary text\n- [curl](https://curl.se/): Command line tool for transferring data with URL syntax\n- [jq](https://stedolan.github.io/jq/): Command-line JSON processor\n\nMake sure to install these dependencies before running the script.\n\n## Author\n\n- **Haitham Aouati**\n  - GitHub: [github.com/haithamaouati](https://github.com/haithamaouati)\n\n## License\n\nThis Geolocate Bash script is open-source and available under the [MIT License](LICENSE).\n\nFeel free to contribute or report issues on the [GitHub repository](https://github.com/haithamaouati/Geolocate).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaithamaouati%2Fgeolocate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaithamaouati%2Fgeolocate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaithamaouati%2Fgeolocate/lists"}