Skip to content

Latest commit

History

History
29 lines (24 loc) 路 2.17 KB

File metadata and controls

29 lines (24 loc) 路 2.17 KB

Features:

  • Downloads latest archive GeoLite2-(Country|City)-CSV_%Date%.zip using MaxMind API https://www.maxmind.com/ by free license key
  • Converts files GeoLite2-(Country|City)-Locations-%LocaleCode%.csv, GeoLite2-(Country|City)-Blocks-(IPv4|IPv6).csv to SQL DDL/DML
  • Builds archive maxmind-geoip2-csv2sql.zip with scripts splitted per N megabytes, using template engine (Example: If MySQL server max_allowed_packet parameter is too small - 64 MB by default)
  • Appends emoji country flags 馃嚘馃嚛 馃嚘馃嚜 馃嚘馃嚝 馃嚘馃嚞 馃嚘馃嚠 馃嚘馃嚤 馃嚘馃嚥 馃嚘馃嚧 馃嚘馃嚩 馃嚘馃嚪 馃嚘馃嚫 馃嚘馃嚬 馃嚘馃嚭 馃嚘馃嚰 馃嚘馃嚱 馃嚘馃嚳 馃嚙馃嚘 馃嚙馃嚙 馃嚙馃嚛 馃嚙馃嚜 馃嚙馃嚝 馃嚙馃嚞 馃嚙馃嚟 馃嚙馃嚠 馃嚙馃嚡 馃嚙馃嚤 馃嚙馃嚥 馃嚙馃嚦 馃嚙馃嚧 馃嚙馃嚩 馃嚙馃嚪 馃嚙馃嚫 馃嚙馃嚬 馃嚙馃嚮 馃嚙馃嚰 馃嚙馃嚲...
  • Supports MaxMind edition IDs: GeoLite2-Country-CSV, GeoLite2-City-CSV; IPv4, IPv6; Locations locale codes: en, ru, de, es, fr, ja, pt-BR, zh-CN
  • Provides template-ready configuration files for MySQL 8/PostgreSQL 13/Microsoft SQL Server 2019 and template engine with simple syntax for build DDL/DML. For custom DBMS, you can write a template yourself.
  • Win/Unix distribution

Requirements:

Examples:

Downloads:

Usage:

Compile & Build:

  • Requirements:
    • Gradle 5.4+
  • With tests:
    • gradlew.bat build
  • Without tests:
    • gradlew.bat build -x test