- Install NodeJS
- Clone this repo:
git clone git@github.com:memtech/elvis.git
- Add a script to
/scripts/
- Push to github
Run bin/hubot
to start up a local console that you can talk to without having to mess around with IRC.
$ bin/hubot
... stuff happens...
Hubot> hubot rb 1*10
Hubot> Shell: => 10
Help, I don't have all of the development dependencies on my machine but I want to contribute (Hi Windows users)!
We've got a few avenues for you.
- You can just write new code directly in Github. If you're lucky it might work.
- You can download this and run
vagrant up
to run Elvis in a vagrant virtual machine. You'll need to install VirtualBox and Vagrant first but they run pretty much anywhere. - You can install docker and fig and then run
fig build; fig run hubot bin/connect
and he'll log right into IRC.
- http://hubot-script-catalog.herokuapp.com/
- Any of the ones listed at github/hubot-scripts can be included just by adding the filename to
hubot-scripts.json
.
Just edit scripts/image_macro_responder.coffee and if it doesn't break the build it will auto-deploy.
This is a version of GitHub's Campfire bot, hubot. He's pretty cool.
This version is designed to be deployed on Heroku. This README was generated for you by hubot to help get you started. Definitely update and improve to talk about your own instance, how to use and deploy, what functionality he has, etc!
You can test your hubot by running the following.
% bin/hubot
You'll see some start up output about where your scripts come from and a prompt.
[Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading adapter shell
[Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading scripts from /home/tomb/Development/hubot/scripts
[Sun, 04 Dec 2011 18:41:11 GMT] INFO Loading scripts from /home/tomb/Development/hubot/src/scripts
Hubot>
Then you can interact with hubot by typing hubot help
.
Hubot> hubot help
Hubot> animate me <query> - The same thing as `image me`, except adds a few
convert me <expression> to <units> - Convert expression to given units.
help - Displays all of the help commands that Hubot knows about.
...