I made a simple geolocation service
11–20 of 187 posts
This one I made couple years ago (and haven’t checked in years) is still running for free thanks to Heroku and Cloudflare: https://github.com/jlxw/geoip
Re: I made a simple geolocation service
#12So this finds the country based on some cloudflare-populated info of an incoming request (which sounds like it solved OP’s problem which is good), but if you want to use MaxMind’s database to find the country of any public IP I built the following a few months back:
Re: I made a simple geolocation service
#13How does MaxMind prevent someone from releasing an open source version of their database? If you are about to answer "Copyright", remember - you can't Copyright facts. This has been upheld in the Courts system many times.
Re: I made a simple geolocation service
#14I (like many others it seems!) have also built a geolocation service however mine is built on top of MaxMind's DBs that are mentioned in the post. Its on a few boxes running OpenResty and now handles 130m+ requests/day. Was really fun to build!
Re: I made a simple geolocation service
#15Interesting, so basically you are making Cloudflare's geoip service public for free.
Re: I made a simple geolocation service
#16Interesting, so basically you are making Cloudflare's geoip service public for free.
You can do this on appengine too, it provides the client location in a header.
Re: I made a simple geolocation service
#17What are the runtime limitations that prevent the maxmind database from working inside cloudflare workers?
Re: I made a simple geolocation service
#18How does MaxMind prevent someone from releasing an open source version of their database? If you are about to answer "Copyright", remember - you can't Copyright facts. This has been upheld in the Courts system many times.
MaxMind have two versions of their database, the free to use version called GeoLite and the paid version (whos name I'm not aware of).
I realise this doesn't directly answer your question but I guess one reason might be that they already provide a free version so releasing the paid version would just get you in strife?
Re: I made a simple geolocation service
#19How does MaxMind prevent someone from releasing an open source version of their database? If you are about to answer "Copyright", remember - you can't Copyright facts. This has been upheld in the Courts system many times.
[deleted]
Re: I made a simple geolocation service
#20[deleted]