Mumnlebot, affectionately called mumbles, is an extensible Campfire bot. It is designed to allow anynoe with a working knowledge of Javascript to add functionality. The syntax is designed to resemble the popular web framework Sinatra (and its clones like express.js.)
It is written in CoffeeScript and uses Node.js.
- Configurable
- Extendable
- High Level of Code Coverage
- answer (perform some action)
- find (search the specified search engine and return the results)
- get (fetch a url and display the contents)
var bot = Mumblebot.create();
bot.answer("time", function(args) { return new Time(); });
bot.answer("find", function(args) { });
bot.answer("get", function(url) { });
I had started this project and struggled a little with getting the things to correctly daemonize. As I plowed forward on getting the initial javascript implementation ported to Coffeescript. 37signals released 37signals/pow. This really helped me get a grasp on things and pushed me over the top. This, IMHO, is the real power of open-source.
(The MIT License)
Copyright (c) 2011 Sam Hamilton
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.