ytzcom/GeoIP Database Cache
Download and cache GeoIP databases using the official GeoIP updater binary
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| api-key | API key for accessing GeoIP databases | yes | — |
| path | Path to store GeoIP databases | no | ./geoip |
| databases | Comma-separated list of databases to download (or "all") | no | all |
| cache-key-prefix | Prefix for cache key | no | geoip |
| cache-refresh | Cache refresh period: daily, weekly, monthly | no | weekly |
| auth-endpoint | Authentication endpoint URL | no | https://geoipdb.net/auth |
| validate | Validate downloaded files | no | true |
| fail-on-error | Fail the action if download or validation fails | no | true |
| timeout | Download timeout: duration (e.g., 5m, 300s) or seconds (e.g., 1800) | no | 5m |
| concurrent | Maximum concurrent downloads | no | 4 |
| quiet | Suppress non-essential output | no | false |
Outputs
| name | description |
|---|---|
| cache-hit | Whether cache was hit |
| path | Path where databases are stored |
| databases-downloaded | List of databases that were downloaded |
| binary-version | Version of the GeoIP updater binary used |