Skip to content

This repository is the base for the dotnet tool "quickshare". It allowes to quickly share a file by leveraging Storj DCS.

License

Notifications You must be signed in to change notification settings

TopperDEL/Quickshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quickshare

Sharing a file has never been easier - simply upload files to the decentralised storage-network Storj DCS and share a link to the file!

quickshare_with_shadow

Installation

This is a dotnet-tool! So assuming you have dotnet-SDK installed simply install the quickshare-tool by opening a command prompt:

dotnet tool install -g quickshare

This will install the tool globally so you can simply call quickshare from every location.

Setup

Before uploading your first file you have to setup the tool by providing an access grant and a bucket name from your storj account. You get 25GB of free storage on https://storj.io. Follow this guide on how to create an access grant.

Then setup quickshare like this: quickshare config -g ACCESS_GRANT -b BUCKET_NAME

Replace ACCESS_GRANT and BUCKET_NAME with your values.

Usage

To upload and share a file simply enter the following:

quickshare -f myAwesomeFile.txt

If you want the file to only be available for a certain amount of time adjust your prompt like this:

quickshare -f myAwesomeFile.txt -d "1 week"

This will make your file available for 1 week and delete it automatically afterwards, which will also render your share-URL obsolet. You may provide different phrases like "3 days", "1 week, 2 days" etc. to the "-d"-Parameter.

You may also upload the content of a directory:

quickshare sharefolder -r "c:\myFolder" -d "2 weeks"

About

This repository is the base for the dotnet tool "quickshare". It allowes to quickly share a file by leveraging Storj DCS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages