sharenode - a way to share files to s3 storage via command line

Check out my new NPM package that allows you to share files to s3 via command line
Posted on 23 Dec 2019 by Mr. Ree in opinion

This nifty script allows you to upload files from local disk to configured a S3 storage destination via command line!
To get started, simply install the module from npm:

sudo npm -g install @mrree/sharenode

~/.node-uploader.json

{
    "destinations":{
        "example":{
            "endpoint":"ep.example.com",
            "secretAccessKey":"my-secret-key",
            "accessKeyId":"my-access-id",
            "bucket":"example",
            "path":"uploads",
            "useDate": true,
            "useRandom":false,
            "url": "https://cdn.example.com"
        }
    }
}

Once configured, you can use the tool via command line like this: sharenode --dest example --file myfile.jpeg

TODO:

Plans for the next release include, but are not limited to: