Click here to see recent Elvis build history
Get started contributing
- Install NodeJS
- Clone this repo:
git clone firstname.lastname@example.org:memtech/elvis.git
- Add a script to
- Push to github
Testing your additions locally
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.
1) You can just write new code directly in Github. If you're lucky it might work.
2) 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.
3) You can install docker and fig and then run
fig build; fig run hubot bin/connect and he'll log right into IRC.
Where to find more scripts:
- Any of the ones listed at github/hubot-scripts can be included just by adding the filename to
Add an annoying image macro
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!
Testing Hubot Locally
You can test your hubot by running the following.
You'll see some start up output about where your scripts come from and a
[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> 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. ...