<commit_before># Munge

[![Build Status](https://travis-ci.org/zachahn/munge.svg?branch=master)](https://travis-ci.org/zachahn/munge)
[![Code Climate](https://codeclimate.com/github/zachahn/munge/badges/gpa.svg)](https://codeclimate.com/github/zachahn/munge)
[![Test Coverage](https://codeclimate.com/github/zachahn/munge/badges/coverage.svg)](https://codeclimate.com/github/zachahn/munge/coverage)

Munge is a static site generator aiming to simplify complex build rules.

SemVer will be followed once 1.0.0 is released.
Until then,
the API should be considered experimental.


## Features

- No metaprogramming
- Suitable for large, complex sites (e.g., multiple blogs with different templates, a single blog with multiple data sources)
- Concise rule definition
- Rules defined by iterating through arrays and modifying objects


## Caveats

- Not optimized (Pull requests welcome, gradual optimizations preferred)
- Rules can seem pretty dense (because of its conciseness)


## Installation

Add this line to your application's Gemfile:

```ruby
gem 'munge'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install munge


## Usage

After installing your gem, you can start a project using the command line client.

```bash
munge init path/to/project  # create a barebones project
cd path/to/project
munge build                 # compiles your project
munge view                  # open http://localhost:3000/ to see output
```
<commit_msg>update README with port change<commit_after># Munge

[![Build Status](https://travis-ci.org/zachahn/munge.svg?branch=master)](https://travis-ci.org/zachahn/munge)
[![Code Climate](https://codeclimate.com/github/zachahn/munge/badges/gpa.svg)](https://codeclimate.com/github/zachahn/munge)
[![Test Coverage](https://codeclimate.com/github/zachahn/munge/badges/coverage.svg)](https://codeclimate.com/github/zachahn/munge/coverage)

Munge is a static site generator aiming to simplify complex build rules.

SemVer will be followed once 1.0.0 is released.
Until then,
the API should be considered experimental.


## Features

- No metaprogramming
- Suitable for large, complex sites (e.g., multiple blogs with different templates, a single blog with multiple data sources)
- Concise rule definition
- Rules defined by iterating through arrays and modifying objects


## Caveats

- Not optimized (Pull requests welcome, gradual optimizations preferred)
- Rules can seem pretty dense (because of its conciseness)


## Installation

Add this line to your application's Gemfile:

```ruby
gem 'munge'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install munge


## Usage

After installing your gem, you can start a project using the command line client.

```bash
munge init path/to/project  # create a barebones project
cd path/to/project
munge build                 # compiles your project
munge view                  # open http://localhost:7000/ to see output
```

{'fraction_non_alphanumeric': 0.10070969922271038, 'fraction_numerical': 0.004731328151402501, 'mean_word_length': 4.02546689303905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, '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': '4832208', 'n_tokens_mistral': 924, 'n_tokens_neox': 862, 'n_words': 298}