Home

What is LokiP?

A Kotlin (JVM 1.8) based server for finding geolocation of an IP, it supports JSON and JSONP API including support for CloudFlare, NGINX, and it can run independently due to it's standalone nature.

Server supports Cloudflare, NGINX, and can run independently due to it's standalone nature.

Where is documentation and instructions?

Again I wrote it for myself. Code is simple enough for a n00b to understand. So If you are interested read the code! You would find everything!

How much load can server handle

I have handled 1000 concurrent connections (tested via loader.io) with response time of ~250ms per request and memory usage around 100M - 200M. Test was conducted on a 2 core VPS, 512MB RAM, and HDD with binary maxmind database file (Shared OpenVZ instance); and a set of random IPs was used to simulate random load on disk. Of course there is a great margin and contributions are welcome.

License

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 3, March 2017

CopyLeft 2017 Zohaib Sibte Hassan

Everyone is permitted to copy and distribute verbatim or modified copies of this license document, and changing it is allowed as long as the name is changed. Just don't put my name and try to sell it. I am in no way liable for ANYTHING!

DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.