Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ellisonleao/slack-howdoi

:cloud: Slack integration with the howdoi library
https://github.com/ellisonleao/slack-howdoi

bottlepy howdoi python slack

Last synced: 3 months ago
JSON representation

:cloud: Slack integration with the howdoi library

Awesome Lists containing this project

README

        

# slack-howdoi

A slack integration for the awesome [howdoi](https://github.com/gleitz/howdoi) library.
Heavily inspired by [https://github.com/karan/slack-overflow](https://github.com/karan/slack-overflow)

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

## Usage

From any Slack channel, just type `/howdoi [search terms]`. The best answer will be shown on the chat, if found.

## Integrate with your team

1. Go to your channel
2. Click on **Configure Integrations**.
3. Scroll all the way down to **DIY Integrations & Customizations section**.
4. Click on **Add** next to **Slash Commands**.
- Command: `/howdoi`
- URL: `http:///howdoi`
P.S: If you want to test right now, you can use `https://slack-howdoi.herokuapp.com/howdoi` as the URL
- Method: `POST`
- For the **Autocomplete help text**, check to show the command in autocomplete list.
- Description: `Howdoi slack integration`
- Usage hint: `[search terms]`
- Descriptive Label: `Howdoi search`

## Developing

```python
# Install python dependencies
$ pip install -r requirements.txt

# Start the server
$ DEBUG=True python app.py
```

## Deploy to Heroku

[![Deploy](https://www.herokucdn.com/deploy/button.png)](https://heroku.com/deploy)

## Contributing

- Please use the [issue tracker](https://github.com/ellisonleao/slack-howdoi/issues) to report any bugs or file feature requests.