Some scripts to generate a map of Codius hosts.
After cloning this repository, install the dependencies. (You need Node.js v10.x.x or higher.)
npm install
First, please update the GeoIP database:
cd node_modules/geoip-lite
npm run updatedb
cd ../..
To build the data from hosts.txt, run:
npm run build
hosts.json
- Custom format containing some data about each host.hosts.geo.json
- Data about hosts in GeoJSON format.