Hi! I'm Blabs, a Slack bot originally written for the fine people at Formidable Labs. You could run me, too! I have minimal external dependencies, and a lot of my behavior can be configured from a flat file. I'm also pretty easy to extend, if you're in a forking kind of mood. The one thing I'm not is a library.
Very few of 'em! You need: a recent installation of Leiningen; sqlite3. Boom.
Blabs is pretty easy to configure. Do like so:
- Setup a Bot Integration in your Slack account. Slack has a really sharp UI for this. Use their UI.
- Clone this repo.
cd
in toformidable_blabs/resources
. - Make a copy of the file
local.edn.template
; call itlocal.edn
. - Replace the block
<REPLACE ME>
with your Slack token. - Copy
commands.template.edn
tocommands.edn
; this is now where you configure blabs. (Protip: this can also be a symlink to a config file under version control elsewhere.) - Now
cd
back to the project root and run:
# One-time setup
$ lein init-db
# Start it up!
# Set env to dev if you want hella verbose logging ;-P
$ NOMAD_ENV=prod lein trampoline run
Blabs should now be responding in your Slacks!
Blabs' source is pretty well documented. You can read it directly, or you can checkout the online version here.
Probably! Issues are tracked in the usual github manner.
Copyright © 2015 Ross Donaldson
MIT License; see the LICENSE for details.