freegeoliteip
Trying to recreate the good old days of freegeoip
by the way, this project is still a work in progress
Installation
git clone https://github.com/arubinofaux/freegeoliteip.git
cd freegeoliteip
shards install
Usage
Prep local enviroment file
cp .env-example .env
Start the services
docker-compose up --build
visit http://localhost:8080
API
Return the geolocation of the visiting computer, the source IP address of the connection.
curl --request GET --url http://localhost:8080
Return the geolocation of the specified IP address.
curl --request GET --url http://localhost:8080/104.16.181.15
Development
TODO: Write development instructions here
Contributing
- Fork it (https://github.com/arubinofaux/freegeoliteip/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- arubinofaux - creator and maintainer