<commit_before>slack-hn
========

Read Hacker News right from Slack just typing `/hn`.

////GIF/////

## Installation

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/karan/slack-hn/tree/master)

- Go to your channel
- Click on **Configure Integrations**.
- Scroll all the way down to **DIY Integrations & Customizations** section.

#### Add a new slash command with the following settings:

- Click on **Add** next to **Slash Commands**.

  - Command: `/hn`
  - URL: `http://slack-hn.herokuapp.com/hn`
  - Method: `GET`

![](http://i.imgur.com/vNL3MCk.png)

All other settings can be set on your own discretion.

#### Set up a new incoming webhook<commit_msg>add a gif of usage<commit_after>slack-hn
========

Read Hacker News right from Slack just typing `/hn`.

![](http://i.imgur.com/kpdF7SR.gif)

## Usage

From any Slack channel, just type `/hn`. The posts will be shown on the same channel.

## Installation

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy?template=https://github.com/karan/slack-hn/tree/master)

- Go to your channel
- Click on **Configure Integrations**.
- Scroll all the way down to **DIY Integrations & Customizations** section.

#### Add a new slash command with the following settings:

- Click on **Add** next to **Slash Commands**.

  - Command: `/hn`
  - URL: `http://slack-hn.herokuapp.com/hn`
  - Method: `GET`

![](http://i.imgur.com/vNL3MCk.png)

All other settings can be set on your own discretion.

#### Set up a new incoming webhook
{'fraction_non_alphanumeric': 0.16740929344366645, 'fraction_numerical': 0.0019096117122851686, 'mean_word_length': 3.7492447129909365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '5944411', 'n_tokens_mistral': 547, 'n_tokens_neox': 525, 'n_words': 160}