<commit_before>### Hatnik

Hatnik is a web app which aims to help you to track library releases. The idea is pretty simple: setup actions to be performed once some library is released. Action consists of 2 parts: library to watch and an instruction to perform. Example: send email to `<EMAIL>` once when org.clojure/clojurescript releases. Pla to support following actions: email, github issue, github pull request, change wiki on github. Initially we're going to support only email and add others if we have enough time during the contest.

#### Actions

* Email - sends customized email. In progress.
* GitHub Issue - creates issue in selected repot. Not started.
* GitHub Pull Request - creates a pull request with simple modification like "set version of library N to XYZ in project.clj". Not started.
* GitHub Wiki - changes wiki page using string find-and-replace algorithm. Not started.

#### How to run locally

To start server locally just run:

```shell
lein cljsbuild once
lein ring server 8080
```

By default app uses in-memory DB. You can change settings by creating `config.clj` file in root folder. Check [config.clj.example](https://github.com/clojurecup2014/hatnik/blob/master/config.clj.example) for available options.<commit_msg>Document the Github setup.<commit_after>### Hatnik

Hatnik is a web app which aims to help you to track library releases. The idea is pretty simple: setup actions to be performed once some library is released. Action consists of 2 parts: library to watch and an instruction to perform. Example: send email to `<EMAIL>` once when org.clojure/clojurescript releases. Pla to support following actions: email, github issue, github pull request, change wiki on github. Initially we're going to support only email and add others if we have enough time during the contest.

#### Actions

* Email - sends customized email. In progress.
* GitHub Issue - creates issue in selected repot. Not started.
* GitHub Pull Request - creates a pull request with simple modification like "set version of library N to XYZ in project.clj". Not started.
* GitHub Wiki - changes wiki page using string find-and-replace algorithm. Not started.

#### How to run locally

To start server locally just run:

```shell
lein cljsbuild once
lein ring server 8080
```

By default app uses in-memory DB. You can change settings by creating `config.clj` file in root folder. Check [config.clj.example](https://github.com/clojurecup2014/hatnik/blob/master/config.clj.example) for available options.

When registering a Github application for your own application, the URI of the "Application callback URL" is /api/github.
{'fraction_non_alphanumeric': 0.06795747911921032, 'fraction_numerical': 0.00683371298405467, 'mean_word_length': 4.366598778004073, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '3238103', 'n_tokens_mistral': 707, 'n_tokens_neox': 653, 'n_words': 370}