dbip-city-lite
v1.0.9
Published
dbip-city-lite.mmdb.gz CDN files based on Free Open Source CDN [jsDelivr!](https://www.jsdelivr.com/)
Downloads
237
Maintainers
Readme
DB-IP City Lite - Free IP Geolocation Database
Free DB-IP City Lite database for IP geolocation. A lightweight alternative to MaxMind with city-level accuracy. Automatically updated and served via jsDelivr CDN.
Website: geo.wp-statistics.com
Features
- City-Level Accuracy - Get country, city, coordinates, and more
- Lightweight - Smaller file size (~19 MB) compared to alternatives
- Auto-Updated - Database updated automatically on 1st of each month
- Fast CDN - Served via jsDelivr with global edge locations
- No Authentication - Direct download, no API keys required
- Free Forever - Open source under CC BY 4.0 license
Quick Start
Direct Download
https://cdn.jsdelivr.net/npm/dbip-city-lite/dbip-city-lite.mmdb.gzPHP
use GeoIp2\Database\Reader;
$reader = new Reader('/path/to/dbip-city-lite.mmdb');
$record = $reader->city('128.101.101.101');
echo $record->country->name; // 'United States'
echo $record->city->name; // 'Minneapolis'Node.js
const { Reader } = require('@maxmind/geoip2-node');
const reader = await Reader.open('./dbip-city-lite.mmdb');
const response = reader.city('128.101.101.101');
console.log(response.country.names.en); // 'United States'
console.log(response.city.names.en); // 'Minneapolis'Python
import geoip2.database
reader = geoip2.database.Reader('./dbip-city-lite.mmdb')
response = reader.city('128.101.101.101')
print(response.country.name) # 'United States'
print(response.city.name) # 'Minneapolis'WordPress (WP Statistics)
use WP_Statistics\Service\Geolocation\GeolocationFactory;
$location = GeolocationFactory::getLocation('128.101.101.101');
echo $location['city']; // 'Minneapolis'Database Info
| Property | Value |
|----------|-------|
| CDN URL | https://cdn.jsdelivr.net/npm/dbip-city-lite/dbip-city-lite.mmdb.gz |
| npm | npm install dbip-city-lite |
| Update Schedule | Monthly (1st of each month) |
| Size | ~19 MB (compressed) |
| Format | MaxMind DB (MMDB) |
| License | CC BY 4.0 |
Update Schedule
This database is automatically updated via GitHub Actions:
- Schedule: 1st of each month at 06:00 UTC
- Source: DB-IP Lite
- Distribution: Published to npm, served via jsDelivr CDN
Last updated: 2026-01-01
DB-IP vs MaxMind
| Feature | DB-IP City Lite | MaxMind GeoLite2-City | |---------|-----------------|----------------------| | File Size | ~19 MB | ~68 MB | | Update Frequency | Monthly | Twice weekly | | License | CC BY 4.0 | CC BY-SA 4.0 | | Best For | Smaller deployments | Higher accuracy needs |
Related Resources
- Documentation: geo.wp-statistics.com
- MaxMind Alternative: GeoLite2-City
- Country Database: GeoLite2-Country
- WP Statistics: wordpress.org/plugins/wp-statistics
Attribution
This database is provided by DB-IP. When using this database, you must include a link back to DB-IP.com on pages that display results from the database, as required by the CC BY 4.0 license.
License
DB-IP City Lite is licensed under CC BY 4.0.
Maintained by VeronaLabs and the WP Statistics team.
