<commit_before># quiki

a standalone web server for [wikifier](https://github.com/cooper/wikifier)

* [install](#install)
* [configure](#configure)
* [run](#run)
* [server configuration](#server-configuration)
  * [server\.http\.port](#serverhttpport)
  * [server\.http\.bind](#serverhttpbind)
  * [server\.dir\.template](#serverdirtemplate)
  * [server\.dir\.wikifier](#serverdirwikifier)
  * [server\.dir\.wiki](#serverdirwiki)
  * [server\.wiki\.[name]\.enable](#serverwikinameenable)
  * [server\.wiki\.[name]\.host](#serverwikinamehost)
  * [server\.wiki\.[name]\.config](#serverwikinameconfig)
  * [server\.wiki\.[name]\.password](#serverwikinamepassword)
* [wiki configuration](#wiki-configuration)
  * [name](#name)
  * [template](#template)
  * [main\_page](#main_page)

## install

```
go get github.com/cooper/quiki
cd $GOPATH/src/github.com/cooper/quiki
git submodule update --init
```

## configure

```
cp quiki.conf.example quiki.conf
nano -w quiki.conf
```

## run
<commit_msg>include dependencies<commit_after># quiki

a standalone web server for [wikifier](https://github.com/cooper/wikifier)

* [install](#install)
* [configure](#configure)
* [run](#run)
* [server configuration](#server-configuration)
  * [server\.http\.port](#serverhttpport)
  * [server\.http\.bind](#serverhttpbind)
  * [server\.dir\.template](#serverdirtemplate)
  * [server\.dir\.wikifier](#serverdirwikifier)
  * [server\.dir\.wiki](#serverdirwiki)
  * [server\.wiki\.[name]\.enable](#serverwikinameenable)
  * [server\.wiki\.[name]\.host](#serverwikinamehost)
  * [server\.wiki\.[name]\.config](#serverwikinameconfig)
  * [server\.wiki\.[name]\.password](#serverwikinamepassword)
* [wiki configuration](#wiki-configuration)
  * [name](#name)
  * [template](#template)
  * [main\_page](#main_page)

## install

install wikifier dependencies
```
cpanm GD Git::Wrapper HTTP::Date HTML::Strip HTML::Entities JSON::XS URI::Escape
```

install quiki
```
go get github.com/cooper/quiki
cd $GOPATH/src/github.com/cooper/quiki
git submodule update --init
```

## configure

```
cp quiki.conf.example quiki.conf
nano -w quiki.conf
```

## run

{'fraction_non_alphanumeric': 0.2012223789374706, 'fraction_numerical': 0.0, 'mean_word_length': 5.045454545454546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4452386', 'n_tokens_mistral': 794, 'n_tokens_neox': 722, 'n_words': 104}