A simple to use file uploader that automatically removes files after 30 minutes. It is passwordless by design and requires facebook login instead and authorizes uploads only to those who are friends with Martin Engström
You need to make sure that the following folder structure is present:
.
├── server.js
├── cron.js
├── files
├── tmp
├── static
└── views
Install the dependencies:
npm install
Make sure ./files and ./tmp are writeable by the node process and start server.js and cron.js with node as normal. I have included a sample systemd service unit that will run both files using forever.
You should modify server.js to use your facebook id instead of mine, like so:
var FB_USERID = '1020902295'; // Your ID here
alternatively set the environment variable fbuid to your ID, Then simply run node server.js
To see this project running in production please visit: http://tmp.sigkill.me/