View on GitHub

#Bot

#Bot fills the #Box

Download this project as a .zip file Download this project as a tar.gz file

#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:

Authors and Contributors

Created by @draco2003

Support or Contact

Pull requests welcome.