{"id":15649562,"url":"https://github.com/a-tokyo/micro-geoip-lite","last_synced_at":"2025-04-30T16:27:58.998Z","repository":{"id":37955426,"uuid":"252536941","full_name":"a-tokyo/micro-geoip-lite","owner":"a-tokyo","description":"🌍 Small microservice that geo looks up an IP - Easy to clone and deploy - 🦾 Automatically up to date.","archived":false,"fork":false,"pushed_at":"2025-04-29T10:22:37.000Z","size":416,"stargazers_count":20,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T11:28:07.311Z","etag":null,"topics":["automatic-updates","bot-maintained","clonable","country","decode","easy-deploy","fast","free","geo","geocoder","geoip","geoip-lite","geolocation","ip","micro","microservice","no-key","request-country","timezone"],"latest_commit_sha":null,"homepage":"https://micro-geoip-lite.ahmedtokyo.com","language":"JavaScript","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/a-tokyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["a-tokyo"],"buy_me_a_coffee":"ahmedtokyo"}},"created_at":"2020-04-02T18:36:27.000Z","updated_at":"2025-04-17T20:07:45.000Z","dependencies_parsed_at":"2024-01-04T02:28:47.124Z","dependency_job_id":"b3fd91f1-1a22-408d-ba73-c99792ea4c5b","html_url":"https://github.com/a-tokyo/micro-geoip-lite","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-tokyo%2Fmicro-geoip-lite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-tokyo%2Fmicro-geoip-lite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-tokyo%2Fmicro-geoip-lite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-tokyo%2Fmicro-geoip-lite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-tokyo","download_url":"https://codeload.github.com/a-tokyo/micro-geoip-lite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251741694,"owners_count":21636305,"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":["automatic-updates","bot-maintained","clonable","country","decode","easy-deploy","fast","free","geo","geocoder","geoip","geoip-lite","geolocation","ip","micro","microservice","no-key","request-country","timezone"],"created_at":"2024-10-03T12:30:16.096Z","updated_at":"2025-04-30T16:27:58.898Z","avatar_url":"https://github.com/a-tokyo.png","language":"JavaScript","funding_links":["https://github.com/sponsors/a-tokyo","https://buymeacoffee.com/ahmedtokyo"],"categories":[],"sub_categories":[],"readme":"# micro-geoip-lite\n\n\u003e 🌍 Small microservice that geo looks up an IP for free using geoip-lite database.\n\n[![Test Release Publish](https://github.com/A-Tokyo/micro-geoip-lite/actions/workflows/test.yml/badge.svg)](https://github.com/A-Tokyo/micro-geoip-lite/actions/workflows/test.yml) [![codecov](https://codecov.io/gh/A-Tokyo/micro-geoip-lite/branch/main/graph/badge.svg)](https://codecov.io/gh/A-Tokyo/micro-geoip-lite)\n\n## Usage\n\n- [https://micro-geoip-lite.ahmedtokyo.com/?ip=207.97.227.239](https://micro-geoip-lite.ahmedtokyo.com/?ip=207.97.227.239)\n```js\n{\n  ip: '207.97.227.239', // if ip param was not provided, this defaults to request.ip\n  range: [ 3479298048, 3479300095 ],\n  country: 'US',\n  region: 'TX',\n  eu: '0',\n  timezone: 'America/Chicago',\n  city: 'San Antonio',\n  ll: [ 29.4969, -98.4032 ],\n  metro: 641,\n  area: 1000,\n  error: 'Error text', // only exists if an error happened\n}\n```\n\n### Query Params\n- ip?: string // IP to lookup, defaults to request.ip\n- timeout?: : number // timeout before failing, defaults to 5 seconds -- maximum of 10 seconds and minimum of 1/2 seconds\n\n### Usage with JS\n- A library is available for javascript out of the box on npm [micro-geoip-lite-js](https://github.com/A-Tokyo/micro-geoip-lite-js).\n\n---\n\n## Automation Note\n- This repo is auto maintained by bots. For example: dependabot opens weekly PRs to upgrade dependencies that are auto merged if the tests pass.\n- This will keep the repo up to date with minimal human interaction.\n\nHosted on [now](https://zeit.co/now)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-tokyo%2Fmicro-geoip-lite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-tokyo%2Fmicro-geoip-lite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-tokyo%2Fmicro-geoip-lite/lists"}