https://github.com/fholzer/csv2mmdb
Convers CSV files to Maxmind mmdb format.
https://github.com/fholzer/csv2mmdb
convert csv maxmind mmdb
Last synced: 3 months ago
JSON representation
Convers CSV files to Maxmind mmdb format.
- Host: GitHub
- URL: https://github.com/fholzer/csv2mmdb
- Owner: fholzer
- License: gpl-3.0
- Created: 2022-09-11T20:04:23.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T19:48:10.000Z (about 2 years ago)
- Last Synced: 2024-06-20T12:49:27.878Z (almost 2 years ago)
- Topics: convert, csv, maxmind, mmdb
- Language: Go
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CSV to Maxmind mmdb Format Converter
This is a utility for converting CSV files to MaxMind's mmdb format.
# Usage
Required arguments:
* `-inpupt=[FILENAME]` - Path to the CSV input file.
* `-output=[FILENAME]` - Path to the mmdb output file
* `-config=[FILENAME]` - Path to the configuration file
# Development
Here are some usefull resources:
* Look up DB formats here: https://github.com/runk/mmdb-lib/blob/master/src/reader/response.ts
* mmdb format spec: https://maxmind.github.io/MaxMind-DB/index.html
* response spec: https://dev.maxmind.com/geoip/docs/web-services/responses?lang=en#object-reference
# Copyright and License
This software is Copyright (c) 2022 by Ferdinand Holzer
Files in the pkg/convert/internal/valuecache directory are derivative
work of https://github.com/maxmind/mmdbwriter, (c) by MaxMind, Inc. They
are redistributed under the MIT license. Find a copy of the MIT license
at pkg/convert/internal/valuecache/LICENSE-MIT
The remaining project is licensed under the GNU GENERAL PUBLIC LICENSE
Version 3. Find a copy of the license in the LICENSE file.