{"_id":"bots","_rev":"20-648d4a8b6feb11cc080f64981af52027","name":"bots","description":"Build robust networks of bots that can react to events","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"name":"bots","description":"Build robust networks of bots that can react to events","keywords":["xmpp","bot","campfire"],"homepage":"https://github.com/hecticjeff/bots","version":"0.0.1","repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"main":"./lib","engines":{"node":"0.4"},"dependencies":{"node-xmpp":"0.2.9","ranger":"0.2.4"},"devDependencies":{"coffee-script":"1.1","nodeunit":"0.5.1"},"scripts":{"test":"cake test","prepublish":"cake build"},"_npmJsonOpts":{"file":"/home/chris/.npm/bots/0.0.1/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bots@0.0.1","_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"73d2a486b57919597e5231a1b04684e5298e8e2a","tarball":"https://registry.npmjs.org/bots/-/bots-0.0.1.tgz","integrity":"sha512-/BKPk0lY8A6b5mFdbgOMBiYbqavooNNeJ4CDuGKP3ZBNC4uttTLjy5MnvvQAOTaO4oJOjn2cSJKvRtlJugt1wA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGvADPXdPrtdYPXAPA5TDy3+7pzZ9lg7eZCl7KZcyAFdAiEAzxQbOX41IU8nGwBrWbfjYMJEVVccWcz4/WfPnNxEuDA="}]}},"0.0.2":{"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"name":"bots","description":"Build robust networks of bots that can react to events","keywords":["bot","xmpp","campfire"],"homepage":"https://github.com/hecticjeff/bots","version":"0.0.2","repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"main":"./lib","engines":{"node":"0.4"},"dependencies":{"node-xmpp":"0.2.9","ranger":"0.2.4"},"devDependencies":{"coffee-script":"1.1","nodeunit":"0.5.1"},"scripts":{"test":"cake test","prepublish":"cake build"},"_npmJsonOpts":{"file":"/home/chris/.npm/bots/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bots@0.0.2","_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"908f6c5e3cc65b3c5e13b00b7d3fec32acec095f","tarball":"https://registry.npmjs.org/bots/-/bots-0.0.2.tgz","integrity":"sha512-UyEt0Manp7rE7nOMxmIv0ynW+PbQo1/FGvrm8icjaHKH1rDa9qy/VUEAZ0q+Li0FMKCBbIqpbLyCZ9rux1qxFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRhvtTYdw3JW97sGYHQk6EWT3BWeyKN4tbBH3IPDfHOAIhAKltGfGK+Z71ghtmAFTcww6PyHflJLpLwgYrbwywE3YX"}]}},"0.0.3":{"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"name":"bots","description":"Build robust networks of bots that can react to events","keywords":["bot","xmpp","campfire"],"homepage":"https://github.com/hecticjeff/bots","version":"0.0.3","repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"main":"./lib","engines":{"node":"0.4"},"dependencies":{"node-xmpp":"0.2.9","ranger":"0.2.4"},"devDependencies":{"coffee-script":"1.1","nodeunit":"0.5.1"},"scripts":{"test":"cake test","prepublish":"cake build"},"_npmJsonOpts":{"file":"/home/chris/.npm/bots/0.0.3/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bots@0.0.3","_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"eef6d5d800d58224af39bacdbc6e39f5b8130571","tarball":"https://registry.npmjs.org/bots/-/bots-0.0.3.tgz","integrity":"sha512-N2hQ5WhjYtB+xT2a72J4stGVe0fgCkHaGgLgu0PIZ0myvPbk6Ht2z2Nz3ztaNzqpf2hExZpYLN21yYhe9lIrrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCidAVLogn4ZU2CyMtoajj75z8qOnHxpaAa8qrKFRYWdwIgBBVOxf8XdHYv8DVFRa8oou1VdiF5LY4lDwWLdhDUdnY="}]}},"0.0.4":{"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"name":"bots","description":"Build robust networks of bots that can react to events","keywords":["bot","xmpp","campfire"],"homepage":"https://github.com/hecticjeff/bots","version":"0.0.4","repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"main":"./lib","bin":{"bots":"./bin/bots"},"man":["./man/bots.1"],"engines":{"node":"0.4"},"dependencies":{"node-xmpp":"0.2.9","ranger":"0.2.4","request":"1.9.8"},"devDependencies":{"coffee-script":"1.1","nodeunit":"0.5.1","ronn":""},"scripts":{"test":"cake test","doc":"ronn -r < doc/bots.md > man/bots.1","prepublish":"cake build && npm run-script doc"},"_npmJsonOpts":{"file":"/home/chris/.npm/bots/0.0.4/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"bots@0.0.4","_engineSupported":true,"_npmVersion":"1.0.15","_nodeVersion":"v0.4.8","_defaultsLoaded":true,"dist":{"shasum":"507b2b2bcf1f21f8c46e330ff8c7ee397d751017","tarball":"https://registry.npmjs.org/bots/-/bots-0.0.4.tgz","integrity":"sha512-QDKxqFQ2PbONOMYX1GNQgw187ZZ3AyGOxGE/tWjnHk8pi4hgh4fK/aqmRDfRbaP+X0ZevU/NhLNxvQdStE4A+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4QHd1E5jukUeRuX/Jo3I2ww1I3jpQCiAY8ag5ZlTKWAIhAMojFAMzZoeeDqbu20+jrBhSVqXQjs2WvHA4rvk2TfOl"}]}},"0.0.5":{"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"name":"bots","description":"Build robust networks of bots that can react to events","keywords":["bot","xmpp","campfire"],"homepage":"https://github.com/hecticjeff/bots","version":"0.0.5","repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"main":"./lib","bin":{"bots":"./bin/bots"},"man":["./man/bots.1"],"engines":{"node":"0.4"},"dependencies":{"node-xmpp":"~> 0.2.9","ranger":"~> 0.2.4","request":"~> 2.1.1"},"devDependencies":{"coffee-script":"~> 1.1.2","nodeunit":"~> 0.5.1","ronn":""},"scripts":{"test":"cake test","doc":"ronn -r < doc/bots.md > man/bots.1","prepublish":"cake build && npm run-script doc"},"_npmUser":{"name":"hecticjeff","email":"self@hecticjeff.net"},"_id":"bots@0.0.5","_engineSupported":true,"_npmVersion":"1.0.94","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"1b1faa163a241dde8cf77eba7b94a1c25fd24a26","tarball":"https://registry.npmjs.org/bots/-/bots-0.0.5.tgz","integrity":"sha512-j3fQX8/oBhqkqbT06Bl3cZo2eYGWuSPg52HKLh2+WFDRMCoZfJi8NuBEtav7oVufEtu3bRd6OfSSDeVvEThk7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDOP1nY6yyhS9YaEh++ZbxzNoGHbAA1YIx6TiQcNLqiOgIgR+31yGpbKDOSYkHxF9MFLcKpl6AFkjpUMCqR6ZXE0kw="}]},"maintainers":[{"name":"hecticjeff","email":"self@hecticjeff.net"}]},"0.0.6":{"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"name":"bots","description":"Build robust networks of bots that can react to events","keywords":["bot","xmpp","campfire"],"homepage":"https://github.com/hecticjeff/bots","version":"0.0.6","repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"main":"./lib","bin":{"bots":"./bin/bots"},"man":["./man/bots.1"],"engines":{"node":"0.4"},"dependencies":{"node-xmpp":"~> 0.2.9","ranger":"~> 0.2.4","request":"~> 2.1.1"},"devDependencies":{"coffee-script":"~> 1.1.2","nodeunit":"~> 0.5.1","ronn":""},"scripts":{"test":"cake test","doc":"ronn -r < doc/bots.md > man/bots.1"},"_npmUser":{"name":"hecticjeff","email":"self@hecticjeff.net"},"_id":"bots@0.0.6","_engineSupported":true,"_npmVersion":"1.0.94","_nodeVersion":"v0.4.12","_defaultsLoaded":true,"dist":{"shasum":"52650b3a5c7b01f79e826534f34f6c71d9414579","tarball":"https://registry.npmjs.org/bots/-/bots-0.0.6.tgz","integrity":"sha512-839IEF7HNdZv8wYNtc9YDSj0bdZ30YVMAIojosC+3uS+tmS3S6YnOR1JcCu7JoP4CeFwdNCjUkJI9UmriMFlBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoaKY27Vjf0MOBNWAY8SynvQcfyBUxlJGu4RnX9D86EgIhAJk73ah34vCzpyExLYGYdUNCFdwDU1Za3zILtfs1u6dq"}]},"maintainers":[{"name":"hecticjeff","email":"self@hecticjeff.net"}]},"0.0.7":{"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"name":"bots","description":"Build robust networks of bots that can react to events","keywords":["bot","xmpp","campfire"],"homepage":"https://github.com/hecticjeff/bots","version":"0.0.7","repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"main":"./lib","bin":{"bots":"./bin/bots"},"man":["./man/bots.1"],"engines":{"node":">= 0.4.0"},"dependencies":{"node-xmpp":"0.3.1","ranger":"0.1.0","request":"2.9.150"},"devDependencies":{"coffee-script":"1.2.0","nodeunit":"0.7.3","ronn":"0.3.8"},"scripts":{"test":"cake test","doc":"ronn -r < doc/bots.md > man/bots.1"},"_npmUser":{"name":"hecticjeff","email":"self@hecticjeff.net"},"_id":"bots@0.0.7","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.1","_nodeVersion":"v0.6.11","_defaultsLoaded":true,"dist":{"shasum":"61d62c020a9740ce970dcc4a7f271c520ddd6582","tarball":"https://registry.npmjs.org/bots/-/bots-0.0.7.tgz","integrity":"sha512-xuzEp5VUm3JA9iNfbQLpzeyvGqD9PUFia9Zpdd3hTTIGKTowbk6Li9Q4gQZ7pGw0Um2Ql9LVgtca4z07eq6isg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChk53yWcyAPhAom3JNcJjb5eBqnVL5cx5nQj+VYUH3HAiAhXAw+2+7G/Jckn8Lhe/kpOTFZQmPBuyVOFprc9e97MQ=="}]},"readme":"bots\n====\n\nMake your own robot that knows how to speak many protocols, and can be\ntaught more.\n\n## Installing\n\nBy installing globally you gain access to the `bots(1)` tool which can\ngenerate bots for you.\n\n    npm -g install bots\n\n## Tutorial\n\nSo, you want to build your own 'bot. You've heard that all the cool hip\nstartups have their own office 'bot, you know, the one that monitors the\nCI system, can deploy the site, play music over the office speakers AND\nknows who's in the office based on their smartphones wi-fi presence. Well\nfollow along and you can build your very own robot servant to perform your\nnefarious deeds.\n\nFirst you need to get the parts to build the bot. You'll need to get setup\nwith [node(1)](http://nodejs.org/) and it's de-facto package manager,\n[npm(1)](http://npmjs.org/). Then create a project and get the parts.\n\n    mkdir coolbot && cd coolbot\n    npm install bots\n\nNow you'll need to give the robot some personality, try putting the following\nin a file called `coolbot.js`.\n\n``` javascript\n// Pull in the bots framework.\nvar bots = require('bots');\n\n// Create your own cool bot and give it a name.\nvar coolbot = bots.createBot('coolbot 0.0.1');\n\n// Tell this cool bot to use the CLI interface (stdin/stdout).\ncoolbot.use(bots.cli());\n\n// Add a description and it will appear when the bot hears \"help\".\ncoolbot.desc('ping', \"Test I'm working with a ping\");\n\n// Assign an action to the bot, first argument is the regex to match,\n// second is the callback to be invoked when this message is matched.\ncoolbot.hear(/ping/, function(message) {\n\n  // Respond to the person who sent the message, note that you don't\n  // *have* to call `message.say`.\n  message.say(\"PONG\");\n});\n\n// Start you cool bot listening on the interfaces you have assigned.\ncoolbot.start();\n```\n\nNow try running it:\n\n```\n$ node coolbot.js ping\nPONG\n$\n```\n\nThis example uses the `cli` interface, this can be useful for testing, and\nthe bot can take commands on stdin, so can be used in a pipe, but for other\nservices you'll need to `use` different interfaces.\n\n## Contributing\n\nGet the code and run the tests.\n\n    git clone https://github.com/hecticjeff/bots\n    cd bots\n    npm install\n    npm test\n\n## Credits\n\nParts of the dsl design were inspired by\n[defunkt/evilbot](https://github.com/defunkt/evilbot).\n\nCopyright (c) 2011 Chris Mytton\n","maintainers":[{"name":"hecticjeff","email":"self@hecticjeff.net"}]}},"maintainers":[{"name":"hecticjeff","email":"self@hecticjeff.net"}],"time":{"modified":"2022-06-13T04:59:59.745Z","created":"2011-07-12T17:43:32.700Z","0.0.1":"2011-07-12T17:43:33.632Z","0.0.2":"2011-07-12T20:56:20.383Z","0.0.3":"2011-07-12T22:26:08.863Z","0.0.4":"2011-07-16T16:24:40.302Z","0.0.5":"2011-10-13T19:04:34.026Z","0.0.6":"2011-10-13T23:00:22.800Z","0.0.7":"2012-02-24T20:46:14.354Z"},"author":{"name":"Chris Mytton","email":"self@hecticjeff.net","url":"http://hecticjeff.net"},"repository":{"type":"git","url":"git://github.com/hecticjeff/bots.git"},"users":{"chirag8642":true}}