ipnfo
v2.0.6
Published
IP geolocation web server.
Downloads
6
Readme
ipnfo
IP geolocation web server.
Install & Running
Linux host (postinstall not works on Windows)
git clone https://github.com/honzahommer/ipnfo.git && \
cd ipnfo && \
npm install && \
npm start
PM2 (Node.js process manager)
git clone https://github.com/honzahommer/ipnfo.git && \
cd ipnfo && \
npm install && \
pm2 startOrRestart ecosystem.config.js
Docker
docker run -d -p 3000:3000 --restart=always --name=ipnfo honzahommer/ipnfo
Heroku
Tests
npm test
Endpoints
curl localhost:3000
curl localhost:3000/8.8.8.8
curl localhost:3000/8.8.8.8/hostname