<commit_before>## Yotta

Yotta is basic http file server. It serves my personal blog [dollberg.xyz](http://dollberg.xyz).

It's main purpose is though to build an epoll based event loop with all kinds of gimmicks.

Current HTTP Features:
 - If-Modified-Since
 - (Essential) Range Support

Event loop:
 - Edge triggered `epoll`
 - Worker Processes (connections loadbalanced via `REUSEPORT`)
 - timers via `signalfd`
 - `sendfile`

### Building

CMake is being use as a build system.

```
mkdir build
cd build 
cmake ../src
make
```

Will build you the `yotta` binary.

### Usage

Run the binary in the directory you want to serve, you shall pass the address and port to listen on:

    yotta :: 10000
    
To listen on all interfaces and port `10000`.
<commit_msg>fixed wrong syscall in readme<commit_after>## Yotta

Yotta is basic http file server. It serves my personal blog [dollberg.xyz](http://dollberg.xyz).

It's main purpose is though to build an epoll based event loop with all kinds of gimmicks.

Current HTTP Features:
 - If-Modified-Since
 - (Essential) Range Support

Event loop:
 - Edge triggered `epoll`
 - Worker Processes (connections loadbalanced via `REUSEPORT`)
 - timers via `timerfd`
 - `sendfile`

### Building

CMake is being use as a build system.

```
mkdir build
cd build 
cmake ../src
make
```

Will build you the `yotta` binary.

### Usage

Run the binary in the directory you want to serve, you shall pass the address and port to listen on:

    yotta :: 10000
    
To listen on all interfaces and port `10000`.

{'fraction_non_alphanumeric': 0.08565866320571058, 'fraction_numerical': 0.012978585334198572, 'mean_word_length': 3.6029850746268655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1905975', 'n_tokens_mistral': 503, 'n_tokens_neox': 452, 'n_words': 216}