<commit_before># proper:bytes

Simple and delightful traffic monitoring for your webserver!

## Goals

* Easy to setup, maintain and develop
* Secure
* Optimised for desktop, iPad, Retina displays
* Scale from Megabytes to Petabytes (or whatever)
* [Milestones](https://github.com/improper/probytes/issues/milestones)

## Components

proper:bytes (p:b) consists of a smallish Ruby daemon for data collection from a custom logfile and a not-so-smallish JavaScript client. The daemon exports a static JSON dataset for consumption by the client, no web accessible server component is required.

## Screenshot

<img src="docs/screenshot.png" alt="webbrowser screenshot" width="852" height="794">

## Dataflow

<img src="docs/dataflow.png" alt="dataflow diagram" width="778" height="374">

## System requirements

* Some UNIX flavour
* PostgreSQL
* MRI-Ruby 1.9 or compatible with pg and EventMachine
* Server producing a traffic logfile (see below)

## Installation

* [FreeBSD with nginx](docs/installation-freebsd.md)<commit_msg>docs: add links to demo and download<commit_after># proper:bytes

Simple and delightful traffic monitoring for your webserver!

<a class="button primary bigger" href="http://pbdemo.teralink.net">Demo</a>

## Goals

* Easy to setup, maintain and develop
* Secure
* Optimised for desktop, iPad, Retina displays
* Scale from Megabytes to Petabytes (or whatever)
* [Milestones](https://github.com/improper/probytes/issues/milestones)

## Components

proper:bytes (p:b) consists of a smallish Ruby daemon for data collection from a custom logfile and a not-so-smallish JavaScript client. The daemon exports a static JSON dataset for consumption by the client, no web accessible server component is required.

## Screenshot

<img src="docs/screenshot.png" alt="webbrowser screenshot" width="852" height="794">

## Dataflow

<img src="docs/dataflow.png" alt="dataflow diagram" width="778" height="374">

## System requirements

* Some UNIX flavour
* PostgreSQL
* MRI-Ruby 1.9 or compatible with pg and EventMachine
* Server producing a traffic logfile (see below)

## Installation

* [Download](http://pbdist.teralink.net)
* [FreeBSD with nginx](docs/installation-freebsd.md)
{'fraction_non_alphanumeric': 0.10068337129840546, 'fraction_numerical': 0.01275626423690205, 'mean_word_length': 5.421052631578948, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1386360', 'n_tokens_mistral': 685, 'n_tokens_neox': 631, 'n_words': 233}