{"id":15472395,"url":"https://github.com/ammaraskar/geoip-scraper","last_synced_at":"2025-10-25T13:34:08.560Z","repository":{"id":9192433,"uuid":"10997707","full_name":"ammaraskar/GeoIP-Scraper","owner":"ammaraskar","description":"Scrapes specified files, generating a pretty google powered map with geoip results","archived":false,"fork":false,"pushed_at":"2015-03-09T18:54:06.000Z","size":255,"stargazers_count":47,"open_issues_count":1,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-10T01:45:04.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ammaraskar.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}},"created_at":"2013-06-27T13:40:17.000Z","updated_at":"2025-01-07T09:50:47.000Z","dependencies_parsed_at":"2022-09-01T09:20:49.997Z","dependency_job_id":null,"html_url":"https://github.com/ammaraskar/GeoIP-Scraper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ammaraskar/GeoIP-Scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammaraskar%2FGeoIP-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammaraskar%2FGeoIP-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammaraskar%2FGeoIP-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammaraskar%2FGeoIP-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ammaraskar","download_url":"https://codeload.github.com/ammaraskar/GeoIP-Scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammaraskar%2FGeoIP-Scraper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260323759,"owners_count":22992068,"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":[],"created_at":"2024-10-02T02:36:50.015Z","updated_at":"2025-10-18T02:27:31.394Z","avatar_url":"https://github.com/ammaraskar.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"GeoIP-Scraper\n=============\n\nTurn your log files containing IP addresses into a pretty little represantation of traffic inflow like this:\n\n![](https://i.imgur.com/kPuziwp.png)\n\n![](http://i.imgur.com/yf4NiPq.png)\n\n\nHow To Use\n=========\n(make sure you have python, ya know, since this runs on python)\n\n\nFirst off, run ``pip install -r requirements.txt`` to install the external dependencies required.\n\nThen simply run ``python geoip.py path/to/logfile.log``, this should generate a file under the web folder called data.json.\nSimply place the web folder in a web-accessible area and open up geoip.html or attackmap.html.\nYou should be met with the pretty generated maps\n\n\n\nThe script also accepts input directly piped in to it, so for example if you rotate your logs you can simply do\n``cat *log* | python geoip.py``\nor feed in multiple files like so\n``python geoip.py 1.log 2.log``\n\n*The little ddos-attack style map requires the script to know your server's location, configure that in the attackmap.html page, edit the bit that says ``// Replace this with your own server's location``*\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammaraskar%2Fgeoip-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fammaraskar%2Fgeoip-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammaraskar%2Fgeoip-scraper/lists"}