Skip to content

v1.0.0 - Initial Stable Release

Choose a tag to compare

@mateen993 mateen993 released this 10 Nov 10:36
· 16 commits to main since this release

MMDBIO CLI v1.0.0 Release Notes

Overview

mmdbio v1.0.0 is the first official release of the MMDB CLI tool. This tool allows users to work with MaxMind MMDB files including reading, exporting, comparing, inspecting, verifying, and viewing statistics.

Installation

Go install

go install github.com/IPGeolocation/mmdbio@v1.0.0

Build from Source

git clone https://github.com/IPGeolocation/mmdbio.git
cd mmdbio
go build -o mmdbio .

Prebuilt Binaries

Download binaries from GitHub Releases for Linux, macOS, and Windows. Rename and place in your PATH for easy usage.

Commands

  • read - Lookup IPs from MMDB files.
  • metadata - Show MMDB metadata.
  • export - Export MMDB to JSON.
  • diff - Compare two MMDB files.
  • inspect - Inspect structure and export schema.
  • stats - View statistics.
  • verify - Validate MMDB file.
  • completion - Generate shell completions.

Example Usage

mmdbio read --db GeoIP2-City.mmdb --ip 8.8.8.8 --fields location.country.name
mmdbio export --db GeoIP2-City.mmdb --out export.json
mmdbio diff --old old.mmdb --new new.mmdb --summary
mmdbio inspect --db GeoIP2-City.mmdb --out schema.json
mmdbio stats --db GeoIP2-City.mmdb --json
mmdbio verify --db GeoIP2-City.mmdb

Notes

  • Ensure $GOBIN or $GOPATH/bin is in your PATH.
  • Prebuilt binaries and shell completion scripts available in GitHub Releases.