Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev
selfhosted·SelfhostedbySinTan1729

[CBH] Self IP: A small self-hosted IP geolocation API written in Go

It's a tiny selfhosted service that determines the client's IP address or accepts an IP address through a query parameter, then returns geolocation and ASN information using the MaxMind GeoLite2 databases.

I often used services like ipinfo.io for checking my IP, location etc. e.g. to make sure a VPN was working properly. These are also handy for figuring out which timezone to use etc. I wanted to selfhost it, but couldn't find one that satisfied my needs. So I decided to write one.

Check out the README for details.

[CBH] Self IP: A small self-hosted IP geolocation API written in Gohttps://github.com/SinTan1729/self-ipOpen linkView original on programming.dev
47

1 reply

You reached the end