Skip to content

johnhenriksson/driftbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
John Henriksson
Apr 17, 2016
c436a3d · Apr 17, 2016

History

45 Commits
Apr 17, 2016
Apr 17, 2016
Jan 11, 2016
Apr 17, 2016
Apr 17, 2016
Apr 17, 2016
Apr 17, 2016
Apr 17, 2016
Nov 10, 2015
Nov 10, 2015
Apr 17, 2016
Jan 11, 2016
Feb 12, 2016
Apr 17, 2016
Apr 17, 2016
Apr 17, 2016
Apr 17, 2016
Nov 10, 2015
Jan 10, 2016
Feb 12, 2016
Apr 17, 2016
Jan 10, 2016
Apr 17, 2016
Apr 17, 2016
Apr 17, 2016

Repository files navigation

driftbot

A slackbot helping you with daily sysadmin tasks such as nslookup and blackklist checks of domains/IP's. Based on slack-bot-server.

What is slack-bot-server?

A Grape API serving a Slack Ruby Bot to multiple teams. This is a boilerplate that combines a web server, a RESTful API and multiple instances of slack-ruby-bot. It integrates with the Slack Platform API.

Run Your Own

Install MongoDB, required to store teams.

Create a New Application on Slack.

Follow the instructions, note the app's client ID and secret, give the bot a default name, etc. The redirect URL should be the location of your app, for testing purposes use http://localhost:9292. For a local deployment create a .env file and add SLACK_CLIENT_ID=... and SLACK_CLIENT_SECRET=... in it. Run bundle install and foreman start. Navigate to localhost:5000. Register using the Slack button.

If you deploy to Heroku set SLACK_CLIENT_ID and SLACK_CLIENT_SECRET via heroku config:add SLACK_CLIENT_ID=... SLACK_CLIENT_SECRET=....

If you would like the command lookup to work you need to add MXTOOLBOX_API_KEY variable to the .env file. You'll find the key on thier website.

Other examples Using Slack Bot Server

Copyright & License

driftbot Copyright John Henriksson, 2016

slack-bot-server Copyright Daniel Doubrovkine, 2015-2016

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published