<commit_before># Tornote 

![Build Status](https://github.com/osminogin/tornote/workflows/Builds/badge.svg?branch=release-latest) ![Test Status](https://github.com/osminogin/tornote/workflows/Tests/badge.svg?branch=release-latest)

Anonymous self-destructing notes written on Go and with help Stanford Javascript Crypto Library ([SJCL](https://crypto.stanford.edu/sjcl/)) on client-side.

Server stores only encrypted data. JavaScript must be enabled, because notes decripted in the Web Browser with key from secret link. After reading encrypted note immediately removed from the database.    

Latest stable version deployed on [https://tornote.herokuapp.com/](https://tornote.herokuapp.com/)

## Security aspects

- All private data and secrets not leaving the client-side without encryption (no any plain text transfered).

- Server stored only anonymous encrypted data (without any reference to author or reader).

- Note decryption executed on the client-side via the SJCL. After reading the encrypted data removed on server.

If you have ideas to improve the our safety/security so far as possible please post the issue.

## Getting started

```bash
git clone github.com/osminogin/tornote
cd tornote
go build ./...

./bin/tornote
```

## Running with Docker

```bash
$ docker build -t tornote-app .
$ docker run -p 80:8080 --name tornote tornote-app
```

## License

AGPLv3 or later<commit_msg>New badge added<commit_after># Tornote 

[![Build Status](https://github.com/osminogin/tornote/workflows/Builds/badge.svg?branch=master)](https://github.com/osminogin/tornote/actions?query=workflow%3ABuilds) [![Test Status](https://github.com/osminogin/tornote/workflows/Tests/badge.svg?branch=master)](https://github.com/osminogin/tornote/actions?query=workflow%3ATests) [![License: Apache](https://img.shields.io/badge/License-Apache-black.svg)](https://raw.githubusercontent.com/osminogin/tornote/master/LICENSE)

Self-destructing notes written on Go with Stanford Javascript Crypto Library ([SJCL](https://crypto.stanford.edu/sjcl/)) for client-side encryption/decryption.

Latest stable version deployed on [https://tornote.herokuapp.com/](https://tornote.herokuapp.com/)

## Security aspects

- All private data and secrets not leaving the client-side without encryption (no any plain text transfered).

- Server stored only anonymous encrypted data (without any reference to author or reader) and immediately removed after reading.

- Note decryption executed on the client-side via the SJCL. After reading the encrypted data removed on server.

If you have ideas to improve the our safety/security so far as possible please post the issue.

## Getting started

```bash
git clone github.com/osminogin/tornote
cd tornote
go build ./...

./bin/tornote
```

## Running with Docker

```bash
$ docker build -t tornote-app .
$ docker run -p 80:8080 --name tornote tornote-app
```

## License

See [LICENSE](https://raw.githubusercontent.com/osminogin/tornote/master/LICENSE)
{'fraction_non_alphanumeric': 0.11058823529411765, 'fraction_numerical': 0.005042016806722689, 'mean_word_length': 4.734104046242774, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 15, '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': '3119925', 'n_tokens_mistral': 935, 'n_tokens_neox': 860, 'n_words': 281}