/documentcloud_watcher

This Node.js server watches a directory for mail dumps, and if they have PDF attachments, it sends those attachments to DocumentClound

Primary LanguageJavaScriptMIT LicenseMIT

DocumentCloud Mailsync

This node.js app watches a directory for new mails, checks them for attachments, and if it finds attachments, sends them to DocumentCloud.

Written for AskAfrica, which runs on Alavateli.

##Installation

Edit config.js and put in your relevant settings.

npm install

##Usage

node server.js /var/www/alaveteli/alaveteli/files

##Testing

mkdir files
node server.js files
cp test files/test

License: MIT