I work at IPinfo. We offer unlimited free requests through the IPinfo Lite API. By unlimited, I mean millions of requests per day. The free API provides country and ASN data.
As far as I know, GeoLite2 does not have city-level data for a large number of IP addresses. Even when it does, the city-level accuracy can be quite poor.
So I'd suggest just using our API and pointing to the capital city. That would also remove the need to pay for a VM.
There are a few reasons one could chose to not go with saas, but this is someone's small project which was neat; and upgradable to any GeoIP db, I might add...you guys don't need to advertise yourself everytime someone shares it -- https://www.reddit.com/r/selfhosted/comments/1oa1pdh/made_a_...
I work at IPinfo. We offer unlimited free requests through the IPinfo Lite API. By unlimited, I mean millions of requests per day. The free API provides country and ASN data.
As far as I know, GeoLite2 does not have city-level data for a large number of IP addresses. Even when it does, the city-level accuracy can be quite poor.
So I'd suggest just using our API and pointing to the capital city. That would also remove the need to pay for a VM.
There are a few reasons one could chose to not go with saas, but this is someone's small project which was neat; and upgradable to any GeoIP db, I might add...you guys don't need to advertise yourself everytime someone shares it -- https://www.reddit.com/r/selfhosted/comments/1oa1pdh/made_a_...
Business oppotunity --- provide this as a service for a more reasonable fee.