Skip to content

Reykudo/geoip-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geoip-redis

2-part package for loading GeoLite2 Database to redis and working with it from your application.

app

Contains

lib

Contains types + lookup function

Usage

  1. login here
  2. download database (you need 2 files: GeoLite2-City-Blocks-IPv4.csv and GeoLite2-City-Locations-.csv)
  3. install redis
  4. run geoip-redis-exe -r 'redis://user@localhost:6379/1' -b './data/GeoLite2-City-Blocks-IPv4.csv' -l './data/GeoLite2-City-Locations-ru.csv' -d 'geoip_ipv4' on host where you need database
  5. run your app (which use ./lib i guess)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published