geodbtools
is a swiss army knife for working with GeoIP databases.
geodbtool
is the CLI application that is provided along with the geodbtools
library.
- database lookups (
lookup
command) - database information (
info
command) - database type conversion (
convert
command)
You can either grab pre-compiled binaries from the releases page on Github, or install from source:
go get github.com/anexia-it/geodbtools/cmd/geodbtool
The tool's help command provides you with a list of available commands:
geodbtool help
The library part of this repository provides functionality for working with GeoIP databases.
-
MaxMind DAT format support
- Country databases
- Read
- Write
- City databases
- AS number databases
- Country databases
-
MaxMind MMDB format support
- Country databases
- Read (via https://github.com/oschwald/maxminddb-golang)
- Write
- City databases
- AS number databases
- Country databases
-
MaxMind legacy CSV format support
-
MaxMind GeoIP2 CSV format support
Contributions are always welcome, in every possible way. We are always happy to receive bug reports and pull requests.
geodbtools
is free software, licensed under the MIT license.