{"id":21029657,"url":"https://github.com/loafoe/kong-plugin-geofence","last_synced_at":"2025-12-28T12:46:13.313Z","repository":{"id":40395101,"uuid":"408695967","full_name":"loafoe/kong-plugin-geofence","owner":"loafoe","description":"Kong plugin implementing geofencing","archived":false,"fork":false,"pushed_at":"2023-09-13T06:24:59.000Z","size":100,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-20T15:17:39.955Z","etag":null,"topics":["geofence","geoip2","kong","kong-gateway","kong-plugin","maxmind-geoip"],"latest_commit_sha":null,"homepage":"","language":"Go","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/loafoe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2021-09-21T05:15:27.000Z","updated_at":"2023-02-24T09:20:42.000Z","dependencies_parsed_at":"2024-06-21T02:05:04.692Z","dependency_job_id":"e8f31c25-1a4b-4c63-b330-06f79cee02b9","html_url":"https://github.com/loafoe/kong-plugin-geofence","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.45999999999999996","last_synced_commit":"f88dc1762521f92da4ecdf27bdb06f8800a715da"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fkong-plugin-geofence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fkong-plugin-geofence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fkong-plugin-geofence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loafoe%2Fkong-plugin-geofence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loafoe","download_url":"https://codeload.github.com/loafoe/kong-plugin-geofence/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243466986,"owners_count":20295310,"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":["geofence","geoip2","kong","kong-gateway","kong-plugin","maxmind-geoip"],"created_at":"2024-11-19T12:13:33.126Z","updated_at":"2025-12-28T12:46:13.309Z","avatar_url":"https://github.com/loafoe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kong-plugin-geofence\n\nKong plugin implementing geofencing. Supports fencing at Country level currently. The plugin\nuses the excellent [MaxMind](https://dev.maxmind.com/geoip/geolite2-free-geolocation-data) GeoIP2 or GeoLite2 databases.\nThe configured `license_key` will allow the plugin to download the database on-the-fly.\n\n## Kong environment\n\n```shell\nKONG_PLUGINS = \"geofence,bundled\"\nKONG_PLUGINSERVER_NAMES = \"geofence\"\nKONG_PLUGINSERVER_GEOFENCE_START_CMD = \"/usr/local/bin/geofence\"\nKONG_PLUGINSERVER_GEOFENCE_QUERY_CMD = \"/usr/local/bin/geofence -dump\"\n```\n\n## Kong configuration\n\n### Declarative\n\n```yaml\nplugins:\n- name: geofence\n  config:\n    license_key: XXX\n    countries_allow_list:\n    - NL\n    - SR\n```\n\n## fields\n\n* `config.license_key` - (Required) The MaxMind [license key](https://support.maxmind.com/hc/en-us/articles/4407111582235-Generate-a-License-Key) to use\n* `config.countries_allow_list` - (Optional) The list of country ISO codes to allow\n* `config.countries_deny_list` - (Optional) The list of country ISO codes to deny\n\n## license\n\nLicense is MIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fkong-plugin-geofence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floafoe%2Fkong-plugin-geofence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floafoe%2Fkong-plugin-geofence/lists"}