Skip to content

Commit

Permalink
DbIP setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Hooman Helmi committed Feb 6, 2025
1 parent 2051372 commit 8c53dd7
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages

name: Node.js Package

on:
push:
branches:
- master
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
- run: npm install
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,23 @@
# DbIP-City-lite
dbip-city-lite.mmdb.gz CDN files based on Free Open Source CDN jsDelivr!
# DbIP-City-lite Database via jsDelivr CDN

The **DbIP-City-lite** database, provided by [DbIp](https://db-ip.com/), offers accurate city-level geolocation information. This database is essential for applications requiring precise IP-based location data, enabling detailed insights into user locations.

## Database Maintenance & Update Schedule

To ensure the accuracy and reliability of the geolocation data, the **DbIP-City-lite** database is **updated twice a month**. The latest version is made accessible via GitHub and the jsDelivr CDN for the convenience of developers and projects.

**Last updated:** 2025-02-06

## Direct Download URL

You can download the latest version of the **DbIP-City-lite** database using the following link:

[DbIP-City-lite.mmdb.gz](https://cdn.jsdelivr.net/gh/yourusername/DbIP-City-lite@latest/dbip-city-lite.mmdb.gz)

## Source Location

For the complete directory and additional resources, visit the [DbIP-City-lite Source](https://github.com/yourusername/DbIP-City-lite).

## License Information

The **DbIP-City-lite** database is distributed under the [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/). Please review the license to understand your rights and responsibilities when using this resource.
Binary file added dbip-city-lite.mmdb.gz
Binary file not shown.
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "DbIP-City-lite",
"version": "1.0.0",
"description": "dbip-city-lite.mmdb.gz CDN files based on Free Open Source CDN [jsDelivr!](https://www.jsdelivr.com/)",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wp-statistics/DbIP-City-lite.git"
},
"keywords": [
"geoip",
"dbip",
"city",
"ip",
"location"
],
"author": "VeronaLabs",
"license": "CC-BY-NC-SA-4.0",
"bugs": {
"url": "https://github.com/wp-statistics/DbIP-City-lite/issues"
},
"homepage": "https://github.com/wp-statistics/DbIP-City-lite#readme"
}

0 comments on commit 8c53dd7

Please sign in to comment.