Sign inSign up

xjonathanlei/ipgeod

By xjonathanlei

Updated over 2 years ago

Image
0

1.8K

xjonathanlei/ipgeod repository overview

ipgeod

Exposing IP geolocation data from herrbischoff/country-ip-blocks via HTTP

Note

Only IPv4 addresses are supported for now.

Getting started

First clone the herrbischoff/country-ip-blocks repository anywhere in the filesystem. Then run from this repository:

cargo run --release -- --repo-path /path/to/country-ip-blocks-repo/

ipgeod will listen on port 3000 (configurable via --port). Test the API with:

curl http://localhost:3000/ipv4/1.2.3.4

License

Licensed under either of

at your option.

Tag summary

Content type

Image

Digest

sha256:d1d2cdeaf

Size

6.8 MB

Last updated

over 2 years ago

docker pull xjonathanlei/ipgeod