openpanel icon indicating copy to clipboard operation
openpanel copied to clipboard

Self-hosted: Geolocation implementation

Open gadgetb0y opened this issue 3 months ago • 1 comments

How are geolocation lookups handled in a self-hosted instance of OpenPanel?

I've tried using the HackerTarget API as well the IPinfo.io API then passing the location data to OpenPanel. Is there a recommended method?

gadgetb0y avatar Sep 17 '25 13:09 gadgetb0y

We have https://github.com/Openpanel-dev/openpanel/blob/main/packages/geo/src/geo.ts to parse GEO data from the IP the request came from. So you should not need to do anything to get geo data 🤔

lindesvard avatar Sep 26 '25 18:09 lindesvard