#Bot
#Bot is a commandline tool that generates data for #Box.
To get started you can either:
$ npm install hashbot -g
or
$ git clone https://github.com/draco2003/node-hashbot/
What does it do?
Via the config file, point #Bot at a directory of files and it will generate a hash for each file, and send the filename and hash to #Box for storage and/or verification.
Configuration Options:
Example Config:
{
"hashbox": {
"host" : "http://127.0.0.1:9999",
"verify" : "/api/hash_verify",
"health" : "/api/health"
},
"scandir": {
"dir": "./node_modules/",
"recursive": true,
"filter": ".js"
},
"progress": {
"display": true,
"interval": 10000
},
"hashbot": {
"workers": 3,
"algorithm": "md5"
}
}
Running #Bot
Its as simple as:
hashbot -d /somefolder
or if you checkted out from source:
cd node-hashbot
node ./bin/hashbot -d /somefolder
ToDos:
- Decide which errors the client should worry about trapping/reacting to.
Authors and Contributors
Created by @draco2003
Support or Contact
Pull requests welcome.