utils

small programs, scripts and utils
git clone https://git.e1e0.net/utils.git
Log | Files | Refs

README (803B)


      1 # geoloc
      2 
      3 ## description
      4 
      5 `geoloc` is a small utility to get geolocalization information given an ip
      6 address.
      7 
      8 It's written in C and uses [libcurl][1] and [json-c][2] do do its job.
      9 
     10 ## installation
     11 
     12 ```
     13 make
     14 make install # with enough privileges
     15 ```
     16 
     17 You'll need `libcurl` and `json-c` on the _"usual locations"_
     18 
     19 If you need to make some adjustments,  take a look at the `Makefile`, is
     20 quite simple.
     21 
     22 ## disclaimer
     23 
     24 This is a personal project to play with C. It is definitely not ready for any
     25 kind of production use. This is a toy.
     26 
     27 ## license
     28 
     29 Distributed under the [ISC][3] license
     30 
     31 ## bugs
     32 
     33 Probably more than lines of code.
     34 Patches are welcome. Send them to <patches@e1e0.net>
     35 
     36 ---
     37 [1]: https://curl.haxx.se/libcurl/
     38 [2]: https://github.com/json-c/json-c
     39 [3]: https://opensource.org/licenses/ISC