:globe_with_meridians: Geolocation API service -- Run it yourself! | alternative to freegeoip.net
https://geoip.pw β// momentum
// why it's here
- Active: last commit today
- Built almost entirely by one person
- Around since 2015 and still shipping
- Accepts sponsorship (github)
// how to help
// readme
:link: Table of Contents
:computer: Installation
Check out the releases page for prebuilt versions.
:whale: Container Images (ghcr)
$ docker run -it --rm -p 8080:8080 --env-file .env -v $PWD/:/data ghcr.io/lrstanley/geoip:latest
$ curl -I http://localhost:8080
HTTP/1.1 200 OK
Content-Type: text/html
Date: Thu, 06 Aug 2020 00:55:21 GMT
:toolbox: Build From Source
Dependencies (to build from source only):
Setup:
git clone <repo>
cd geoip
make
./geoip --help
:gear: Usage
Take a look at the CLI usage options here.