Skip to content

coilhq/codius-map

Repository files navigation

codius-map

Some scripts to generate a map of Codius hosts.

Map of Codius hosts

Install dependencies

After cloning this repository, install the dependencies. (You need Node.js v10.x.x or higher.)

npm install

Build data

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

Output

  • hosts.json - Custom format containing some data about each host.
  • hosts.geo.json - Data about hosts in GeoJSON format.

About

Generate a visual map of Codius hosts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published