<commit_before>SRI Hash Generator
===================

This is the code behind the <http://srihash.org> website. It generates [sub-resource integrity](http://www.w3.org/TR/SRI/) hashes.

[![Build Status](https://travis-ci.org/mozilla/srihash.org.svg?branch=master)](https://travis-ci.org/mozilla/srihash.org)
[![Dependencies Status](https://david-dm.org/mozilla/srihash.org.png)](https://david-dm.org/mozilla/srihash.org)
[![Dev Dependencies Status](https://david-dm.org/mozilla/srihash.org/dev-status.png)](https://david-dm.org/mozilla/srihash.org#info=devDependencies)

## Install

You'll need node 0.10.x or higher and npm to run the server.

Clone the git repository and install dependencies:

    git clone git://github.com/mozilla/srihash.org.git
    cd srihash.org
    npm install

To start the server, run:

    npm start
<commit_msg>Fix the URL (we are TLS-enabled) in README<commit_after>SRI Hash Generator
===================

This is the code behind the <https://srihash.org> website. It generates [sub-resource integrity](http://www.w3.org/TR/SRI/) hashes.

[![Build Status](https://travis-ci.org/mozilla/srihash.org.svg?branch=master)](https://travis-ci.org/mozilla/srihash.org)
[![Dependencies Status](https://david-dm.org/mozilla/srihash.org.png)](https://david-dm.org/mozilla/srihash.org)
[![Dev Dependencies Status](https://david-dm.org/mozilla/srihash.org/dev-status.png)](https://david-dm.org/mozilla/srihash.org#info=devDependencies)

## Install

You'll need node 0.10.x or higher and npm to run the server.

Clone the git repository and install dependencies:

    git clone git://github.com/mozilla/srihash.org.git
    cd srihash.org
    npm install

To start the server, run:

    npm start

{'fraction_non_alphanumeric': 0.1709451575262544, 'fraction_numerical': 0.004667444574095682, 'mean_word_length': 4.410094637223975, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 13, 'lorem ipsum': 0, 'www.': 2, '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': '3327366', 'n_tokens_mistral': 618, 'n_tokens_neox': 578, 'n_words': 121}