Quickshare 1.3.1
dotnet tool install --global Quickshare --version 1.3.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local Quickshare --version 1.3.1
#tool dotnet:?package=Quickshare&version=1.3.1
nuke :add-package Quickshare --version 1.3.1
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!
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"
This will upload all files in the folder "c:\myFolder" and create an index.html file that lists all files. The index.html file will be uploaded, too. The share-URL will point to the index.html file.
If you need the subfolders, too, user the "sub"-parameter:
quickshare sharefolder -s -r "c:\myFolder" -d "2 weeks"
I you only want to upload the files only without generating an index.html file, use the "UploadOnly"-parameter:
quickshare sharefolder -u -s -r "c:\myFolder" -d "2 weeks"
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
1.3.1 | 411 | 11/27/2024 |
1.3.0 | 171 | 11/27/2024 |
1.2.0 | 597 | 5/6/2024 |
1.1.1 | 825 | 10/2/2023 |
1.1.0 | 515 | 9/15/2023 |
1.0.6 | 448 | 6/16/2023 |
1.0.5 | 699 | 8/25/2022 |
1.0.4 | 586 | 8/25/2022 |
1.0.3 | 652 | 8/11/2022 |
1.0.2 | 631 | 8/11/2022 |
1.0.1 | 585 | 8/11/2022 |
1.0.0 | 686 | 8/11/2022 |
0.5.0-preview5 | 481 | 8/11/2022 |
0.5.0-preview4 | 404 | 8/11/2022 |
0.5.0-preview3 | 479 | 8/10/2022 |
0.5.0-preview2 | 366 | 8/9/2022 |
0.5.0-preview1 | 381 | 8/9/2022 |
0.4.3 | 479 | 8/9/2022 |
0.4.2 | 470 | 8/4/2022 |
0.4.1 | 475 | 8/4/2022 |
0.4.0 | 478 | 8/4/2022 |
0.3.0 | 465 | 8/4/2022 |
0.2.0 | 480 | 8/4/2022 |
0.1.0 | 493 | 8/3/2022 |
Release v1.3.0
- Support uploading of subfolders (using 'sharefolder -s')
- Support uploading of folder-content without explicit sharing (using 'sharefolder -u')
Hotfix v1.3.1
- Do not create index-html if without explicit sharing