<commit_before>#Varnish vmod for mmdb

## Installation
Requires libmaxminddb from https://github.com/maxmind/libmaxminddb

```
git clone <EMAIL>:someecards/varnish-mmdb-vmod.git
cd somegeo-vmod; ./autogen.sh
./configure VARNISHSRC=[PATH_TO_VARNISH_SRC] VMODDIR=/usr/lib/varnish/vmods
make && make install
```

## Example

```
import geo;
import std;

sub vcl_recv{<commit_msg>updated the readme<commit_after>#Varnish vmod for mmdb

## Installation
Requires libmaxminddb from https://github.com/maxmind/libmaxminddb

```
git clone https://github.com/maxmind/libmaxminddb.git
cd libmaxminddb
./bootstrap
./configure --prefix=/usr/local
make && make install
cd ..
git clone <EMAIL>:someecards/varnish-mmdb-vmod.git
cd varnish-mmdb-vmod
./autogen.sh
./configure --prefix=/usr/local VARNISHSRC=[PATH_TO_VARNISH_SRC] VMODDIR=/usr/local/lib/varnish/vmods
make
make install
```

## Example

```
import geo;
import std;

sub vcl_recv{
{'fraction_non_alphanumeric': 0.13405405405405404, 'fraction_numerical': 0.0, 'mean_word_length': 5.052287581699346, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '844870', 'n_tokens_mistral': 367, 'n_tokens_neox': 343, 'n_words': 70}