posted in Selfhosted

[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.

github.com/SinTan1729/self-ip
A small self-hosted IP geolocation API written in Go - SinTan1729/self-ipGitHubGitHub - SinTan1729/self-ip: A small self-hosted IP geolocation API written in GoA small self-hosted IP geolocation API written in Go - SinTan1729/self-ip
Edited ⁨⁨Sep⁩ ⁨8⁩, ⁨2026⁩, ⁨03:06⁩⁩enPage