Currently this app has been tested using NodeJS v5.11.1 but should work on other versions as well.
npm install
npm run build
Create a .env
file in the root directory of the repository. Add your bucket hash and apiKey as follows.
NODE_PORT=3033
NODE_EXT_PORT=3033
NODE_EXT_SSL=false
HOSTNAME=localhost
BS_PORT=9000
BS_EXT_PORT=9000
BS_EXT_SSL=false
BUCKET=yourbuckethashhere
KEYPASS=keyringpassword
BRIDGEEMAIL=yourbridgeemail
BRIDGEPASS=yourbridgepassword
DATADIR=/home/user/.storjcli/
Currently to start, run the following...
node index.js
To access files via ID...
https://my-host/getbyid/[yourfileid]
To access files via name...
https://my-host/getbyname/[yourfilename]
To drag and drop upload files, and to view the file list with links...
https://my-host/upload
- After uploading a file, you currently are required to refresh the screen manually to get an updated list.
- The cached file name map does not update after each upload, but it should.