You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 6, 2022. It is now read-only.
Andrey Bogdanov edited this page Feb 23, 2016
·
4 revisions
ololord.js uses IPInfoDB database for geolocation. You have to download the appropriate DB file (in CSV format) yourself and convert it into SQLite 3 database using the tools/geolocation.js script. The .csv file may be downloaded here (registration is required). If you use IPv6, you should download an IPv6 version of IPInfoDB database, otherwise IPv4 version should be used.
After downloading the file, run:
./tools/geolocation.js <path/to/file.csv>
Note: The operation may take some time (up to 10-20 minutes, depending on your hardware).
Note2: Geolocation is really fast (~5 milliseconds per query).