<commit_before># PerspectiveDB

*multi-master replication with transformations*

Features:
* built on the principle of owning your own data:
  * you decide what you want to share, with who and how
  * don't rely on a third party (i.e. a cloud service)
  * privacy and [security](https://github.com/Netsend/PerspectiveDB/wiki/privilege-separation) by design
* multi-master replication with transformations
* support for browsers via IndexedDB and WebSockets (see [browser](https://github.com/Netsend/PerspectiveDB/tree/master/browser))
* support for MongoDB

Status: beta

Currently deploying the software into a controlled production environment.


## Installation

Note: Node.js 4.x is required.

Clone this repo and change your working dir to it:
```
$ git clone https://github.com/Netsend/PerspectiveDB.git
$ cd PerspectiveDB
```

Install npm modules:
```
$ npm install
```

Ensure a database root directory exists, i.e. /var/pdb:
```
$ sudo mkdir /var/pdb
```
<commit_msg>readme: set status to alpha<commit_after># PerspectiveDB

*multi-master replication with transformations*

Features:
* built on the principle of owning your own data:
  * you decide what you want to share, with who and how
  * don't rely on a third party (i.e. a cloud service)
  * privacy and [security](https://github.com/Netsend/PerspectiveDB/wiki/privilege-separation) by design
* multi-master replication with transformations
* support for browsers via IndexedDB and WebSockets (see [browser](https://github.com/Netsend/PerspectiveDB/tree/master/browser))
* support for MongoDB

Status: alpha

Currently deploying the software into a controlled production environment.


## Installation

Note: Node.js 4.x is required.

Clone this repo and change your working dir to it:
```
$ git clone https://github.com/Netsend/PerspectiveDB.git
$ cd PerspectiveDB
```

Install npm modules:
```
$ npm install
```

Ensure a database root directory exists, i.e. /var/pdb:
```
$ sudo mkdir /var/pdb
```

{'fraction_non_alphanumeric': 0.10015251652262329, 'fraction_numerical': 0.0010167768174885613, 'mean_word_length': 4.512605042016807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '2157108', 'n_tokens_mistral': 615, 'n_tokens_neox': 576, 'n_words': 216}