<commit_before># Podunk

A tiny web framework on top of Rack

## Installation

Add this line to your application's Gemfile:

    gem 'podunk', github: 'bchase/podunk'

And then execute:

    $ bundle

## Limitations

You'll be interested to learn that, at the moment, Podunk is almost entirely comprised of limitations.

Inside, you'll find:

1. rudimentary query string parameter parsing
2. simple routing for `GET` requests (all right!)
3. thrilling plaintext body

## Usage

```ruby
### app.rb ###

class Application < Podunk::App
  route do
    get '/' => 'home'
  end

  def home
    "Welcome home, #{params['name']}."
  end
end
```

```ruby
### config.ru ###
require './app.rb'

run Application.new
```

```bash
$ rackup                         
```<commit_msg>formatting<commit_after># Podunk

A tiny web framework on top of Rack

## Installation

Add this line to your application's Gemfile:

    gem 'podunk', github: 'bchase/podunk'

And then execute:

    $ bundle

## Limitations

You'll be interested to learn that, at the moment, Podunk is almost entirely comprised of limitations.

Inside, you'll find:

1. rudimentary query string parameter parsing
2. simple routing for `GET` requests (all right!)
3. thrilling plaintext body

## Usage

```ruby
### app.rb ###

class Application < Podunk::App
  route do
    get '/' => 'home'
  end

  def home
    "Welcome home, #{params['name']}."
  end
end
```

```ruby
### config.ru ###

require './app.rb'

run Application.new
```

```bash
$ rackup                         
```
{'fraction_non_alphanumeric': 0.12532637075718014, 'fraction_numerical': 0.0039164490861618795, 'mean_word_length': 3.1657608695652173, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '6998081', 'n_tokens_mistral': 521, 'n_tokens_neox': 474, 'n_words': 180}