Be lazy and search Google right from Slack.
Inspired from slack-overflow and uses pygoogle for simplicity.
From any Slack channel, just type /google [search terms]
, and get results right there
For example, searching for "what is slack?" in any channel
gives us:
That's all!
- Go to your channel
- Click on Configure Integrations.
- Scroll all the way down to DIY Integrations & Customizations section.
- Click on Add next to Slash Commands.
- Command:
/google
- URL:
http://rocky-thicket-8883.herokuapp.com/google
(or you can use your own app url) - Method:
POST
- For the Autocomplete help text, check to show the command in autocomplete list.
- Description:
Google search, inside Slack.
- Usage hint:
[search terms]
- Description:
- Descriptive Label:
Search Google
# Install python dependencies
$ pip install -r requirements.txt
# Start the server
$ python app.py
Feel free to fork and generate a pull request. Thanks!