<commit_before># [Restatic from BinaryAge](http://restatic.binaryage.com)

A command-line utility which can pump spreadsheet data to your static web!

<img src="http://restatic.binaryage.com/images/restatic_visualisation.png">

# Technical information

## How it works

Restatic takes your static web and replaces restatic markup with dynamic data, say fields from Google Spreadsheets.

When you launch restatic, it will:
  
  * copy the source to target directory
  * extract data from Google Spreadsheets and build associative array
  * process contents of target directory and replace all marks with associated fields

## You may write your own extractor

Extend the class Extractor and write function `extract` which will return the associative array with markup in key and data in value - eg. `{ "/-Posts-2B-/": "Hello world" }`

## And its installable throught NPM

`npm install https://github.com/binaryage/restatic/tarball/v0.3`<commit_msg>NPM install command added to readme.<commit_after># [Restatic from BinaryAge](http://restatic.binaryage.com)

A command-line utility which can pump spreadsheet data to your static web!

<img src="http://restatic.binaryage.com/images/restatic_visualisation.png">

# Technical information

## How it works

Restatic takes your static web and replaces restatic markup with dynamic data, say fields from Google Spreadsheets.

When you launch restatic, it will:
  
  * copy the source to target directory
  * extract data from Google Spreadsheets and build associative array
  * process contents of target directory and replace all marks with associated fields

## You may write your own extractor

Extend the class Extractor and write function `extract` which will return the associative array with markup in key and data in value - eg. `{ "/-Posts-2B-/": "Hello world" }`

## And its installable throught NPM
`npm install restatic`
{'fraction_non_alphanumeric': 0.07142857142857142, 'fraction_numerical': 0.0021321961620469083, 'mean_word_length': 4.586309523809524, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '7670363', 'n_tokens_mistral': 518, 'n_tokens_neox': 489, 'n_words': 230}