diff --git a/README.md b/README.md index 1cd6ed9..4e58d23 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ to 2GB. Others are able to download these files with this tool, or through their webbrowser. [![ffsend usage demo](./res/demo.svg)][usage-demo-asciinema] -_Or view as [asciinema][usage-demo-asciinema]._ +_No demo visible here? View it on [asciinema][usage-demo-asciinema]._ All files are always encrypted on the client, and secrets are never shared with the remote host. An optional password may be specified, and a default file diff --git a/res/asciinema-demo.json b/res/asciinema-demo.json index 9f67e1a..b52144c 100644 --- a/res/asciinema-demo.json +++ b/res/asciinema-demo.json @@ -300,7 +300,7 @@ ], [ 0.002159, - "\rDownload & Decrypt 116.93 KB / 116.93 KB [=====================================] 100.00 % 46.05 MB/s \rDownload complete\r\n" + "\rDownload & Decrypt 116.93 KB / 116.93 KB [=====================================] 100.00 % 46.05 MB/s \rDownload completed\r\n" ], [ 0.00258, @@ -908,7 +908,7 @@ ], [ 0.005111, - "\rDownload & Decrypt 589.02 KB / 589.02 KB [====================================] 100.00 % 105.05 MB/s \rDownload complete\r\n" + "\rDownload & Decrypt 589.02 KB / 589.02 KB [====================================] 100.00 % 105.05 MB/s \rDownload complete \r\n" ], [ 0.001558, diff --git a/res/demo.svg b/res/demo.svg index 428378e..d51012f 100644 --- a/res/demo.svg +++ b/res/demo.svg @@ -1 +1 @@ -~/ffsend$~/ffsend$f~/ffsend$ff~/ffsend$ffs~/ffsend$ffse~/ffsend$ffsen~/ffsend$ffsendffsend0.0.1Usage:ffsend[FLAGS]<SUBCOMMAND>...Securelyandeasilysharefilesfromthecommandline.AfullyfeaturedFirefoxSendclient.Missingsubcommand.Herearethemostused:ffsendupload<FILE>...ffsenddownload<URL>...Toshowallsubcommands,featuresandotherhelp:ffsendhelp[SUBCOMMAND]~/ffsend$ffsendu~/ffsend$ffsendup~/ffsend$ffsendupl~/ffsend$ffsenduplo~/ffsend$ffsenduploa~/ffsend$ffsendupload~/ffsend$ffsenduploadimage.png~/ffsend$ffsenduploadimage.png--copyUploadcompleted116.93KB/116.93KB[=======================================]100.00%26.44MB/sSharelink:http://send.firefox.com/download/eb2ab818cc/#F8_WgM3tz1t05yiPMsBgIw~/ffsend$ffsendd~/ffsend$ffsenddo~/ffsend$ffsenddow~/ffsend$ffsenddown~/ffsend$ffsenddownl~/ffsend$ffsenddownlo~/ffsend$ffsenddownloa~/ffsend$ffsenddownload~/ffsend$ffsenddownloadhttp://send.firefox.com/download/eb2ab818cc/#F8_WgM3tz1t05yiPMsBgIwThepath'/home/timvisee/ffsend/image.png'alreadyexistsOverwrite?[y/n]:yDownloadcompletet116.93KB/116.93KB[=====================================]100.00%46.05MB/s~/ffsend$c~/ffsend$cl~/ffsend$cle~/ffsend$clea~/ffsend$clear~/ffsend$t~/ffsend$tr~/ffsend$tre~/ffsend$tree.├──dir├──image1.png├──image2.png├──image3.png├──image4.png└──image5.png└──image.png1directory,6files~/ffsend$ffsendupload--host~/ffsend$ffsendupload--hosthttp://localhost/~/ffsend$ffsendupload--hosthttp://localhost/./dir~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloads~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloads10You'veselectedadirectory,onlyasinglefilemaybeuploaded.Archivethedirectoryintoasinglefile?[Y/n]:yArchiving...Password:Uploadcompleted589.02KB/589.02KB[=======================================]100.00%10.18MB/sSharelink:http://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4ow~/ffsend$rm~/ffsend$rm-r~/ffsend$rm-rdir0directories,1file~/ffsend$ffsenddownloadhttp://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4owThisfileisprotectedwithapassword.You'redownloadinganarchive,extractitintotheselecteddirectory?[Y/n]:yDownloadcompletet589.02KB/589.02KB[====================================]100.00%105.05MB/sExtracting...~/ffsend$ffsendin~/ffsend$ffsendinfo~/ffsend$ffsendinfohttp://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4owID:8c676a0415Name:dir.tarSize:589.02KiB(603152B)MIME:application/x-tarDownloads:1of10Expiry:23h59m(86369s)~/ffsend$ffsendhistory#LINKEXPIRYOWNERTOKEN1http://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4ow23h59m4cfe63017d9eade8a9552http://send.firefox.com/download/eb2ab818cc/#F8_WgM3tz1t05yiPMsBgIw23h58m084577d86526aa999dc6~/ffsend$ffsenduploadi~/ffsend$ffsenduploadim~/ffsend$ffsenduploadima~/ffsend$ffsenduploadimag~/ffsend$ffsenduploadimage~/ffsend$ffsenduploadimage.~/ffsend$ffsenduploadimage.p~/ffsend$ffsenduploadimage.pn~/ffsend$ffsenduploadimage.png-~/ffsend$ffsenduploadimage.png--~/ffsend$ffsenduploadimage.png--c~/ffsend$ffsenduploadimage.png--co~/ffsend$ffsenduploadimage.png--copEncrypt&Upload7.88KB/116.93KB[==>-------------------------------------]6.74%164.29MB/s0sOverwrite?[y/n]:Download&Decrypt7.49KB/116.93KB[==>------------------------------------]6.41%45.45MB/s0s~/ffsend$ffsendupload-~/ffsend$ffsendupload--~/ffsend$ffsendupload--h~/ffsend$ffsendupload--ho~/ffsend$ffsendupload--hos~/ffsend$ffsendupload--hosth~/ffsend$ffsendupload--hostht~/ffsend$ffsendupload--hosthtt~/ffsend$ffsendupload--hosthttp~/ffsend$ffsendupload--hosthttp:~/ffsend$ffsendupload--hosthttp:/~/ffsend$ffsendupload--hosthttp://~/ffsend$ffsendupload--hosthttp://l~/ffsend$ffsendupload--hosthttp://lo~/ffsend$ffsendupload--hosthttp://loc~/ffsend$ffsendupload--hosthttp://loca~/ffsend$ffsendupload--hosthttp://local~/ffsend$ffsendupload--hosthttp://localh~/ffsend$ffsendupload--hosthttp://localho~/ffsend$ffsendupload--hosthttp://localhos~/ffsend$ffsendupload--hosthttp://localhost~/ffsend$ffsendupload--hosthttp://localhost/.~/ffsend$ffsendupload--hosthttp://localhost/./~/ffsend$ffsendupload--hosthttp://localhost/./d~/ffsend$ffsendupload--hosthttp://localhost/./di~/ffsend$ffsendupload--hosthttp://localhost/./dir-~/ffsend$ffsendupload--hosthttp://localhost/./dir--~/ffsend$ffsendupload--hosthttp://localhost/./dir--c~/ffsend$ffsendupload--hosthttp://localhost/./dir--co~/ffsend$ffsendupload--hosthttp://localhost/./dir--cop~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy-~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--p~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--pa~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--pas~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--pass~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--passw~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--passwo~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--passwor~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password-~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--d~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--do~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--dow~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--down~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downl~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downlo~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloa~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--download~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloads1Archivethedirectoryintoasinglefile?[Y/n]:Encrypt&Upload7.88KB/589.02KB[>----------------------------------------]1.34%73.23MB/s0sEncrypt&Upload589.02KB/589.02KB[=======================================]100.00%10.18MB/s~/ffsend$r~/ffsend$rm-~/ffsend$rm-rd~/ffsend$rm-rdiYou'redownloadinganarchive,extractitintotheselecteddirectory?[Y/n]:Download&Decrypt7.49KB/589.02KB[>--------------------------------------]1.27%33.97MB/s0s~/ffsend$ffsendi~/ffsend$ffsendinf~/ffsend$ffsendinf~/ffsend$ffsendh~/ffsend$ffsendhi~/ffsend$ffsendhis~/ffsend$ffsendhist~/ffsend$ffsendhisto~/ffsend$ffsendhistor \ No newline at end of file +~/ffsend$~/ffsend$f~/ffsend$ff~/ffsend$ffs~/ffsend$ffse~/ffsend$ffsen~/ffsend$ffsendffsend0.0.1Usage:ffsend[FLAGS]<SUBCOMMAND>...Securelyandeasilysharefilesfromthecommandline.AfullyfeaturedFirefoxSendclient.Missingsubcommand.Herearethemostused:ffsendupload<FILE>...ffsenddownload<URL>...Toshowallsubcommands,featuresandotherhelp:ffsendhelp[SUBCOMMAND]~/ffsend$ffsendu~/ffsend$ffsendup~/ffsend$ffsendupl~/ffsend$ffsenduplo~/ffsend$ffsenduploa~/ffsend$ffsendupload~/ffsend$ffsenduploadimage.png~/ffsend$ffsenduploadimage.png--copyUploadcompleted116.93KB/116.93KB[=======================================]100.00%26.44MB/sSharelink:http://send.firefox.com/download/eb2ab818cc/#F8_WgM3tz1t05yiPMsBgIw~/ffsend$ffsendd~/ffsend$ffsenddo~/ffsend$ffsenddow~/ffsend$ffsenddown~/ffsend$ffsenddownl~/ffsend$ffsenddownlo~/ffsend$ffsenddownloa~/ffsend$ffsenddownload~/ffsend$ffsenddownloadhttp://send.firefox.com/download/eb2ab818cc/#F8_WgM3tz1t05yiPMsBgIwThepath'/home/timvisee/ffsend/image.png'alreadyexistsOverwrite?[y/n]:yDownloadcompleted116.93KB/116.93KB[=====================================]100.00%46.05MB/s~/ffsend$c~/ffsend$cl~/ffsend$cle~/ffsend$clea~/ffsend$clear~/ffsend$t~/ffsend$tr~/ffsend$tre~/ffsend$tree.├──dir├──image1.png├──image2.png├──image3.png├──image4.png└──image5.png└──image.png1directory,6files~/ffsend$ffsendupload--host~/ffsend$ffsendupload--hosthttp://localhost/~/ffsend$ffsendupload--hosthttp://localhost/./dir~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloads~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloads10You'veselectedadirectory,onlyasinglefilemaybeuploaded.Archivethedirectoryintoasinglefile?[Y/n]:yArchiving...Password:Uploadcompleted589.02KB/589.02KB[=======================================]100.00%10.18MB/sSharelink:http://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4ow~/ffsend$rm~/ffsend$rm-r~/ffsend$rm-rdir0directories,1file~/ffsend$ffsenddownloadhttp://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4owThisfileisprotectedwithapassword.You'redownloadinganarchive,extractitintotheselecteddirectory?[Y/n]:yDownloadcomplete589.02KB/589.02KB[====================================]100.00%105.05MB/sExtracting...~/ffsend$ffsendin~/ffsend$ffsendinfo~/ffsend$ffsendinfohttp://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4owID:8c676a0415Name:dir.tarSize:589.02KiB(603152B)MIME:application/x-tarDownloads:1of10Expiry:23h59m(86369s)~/ffsend$ffsendhistory#LINKEXPIRYOWNERTOKEN1http://localhost/download/8c676a0415/#ppyvURZnNKxAXP503zx4ow23h59m4cfe63017d9eade8a9552http://send.firefox.com/download/eb2ab818cc/#F8_WgM3tz1t05yiPMsBgIw23h58m084577d86526aa999dc6~/ffsend$ffsenduploadi~/ffsend$ffsenduploadim~/ffsend$ffsenduploadima~/ffsend$ffsenduploadimag~/ffsend$ffsenduploadimage~/ffsend$ffsenduploadimage.~/ffsend$ffsenduploadimage.p~/ffsend$ffsenduploadimage.pn~/ffsend$ffsenduploadimage.png-~/ffsend$ffsenduploadimage.png--~/ffsend$ffsenduploadimage.png--c~/ffsend$ffsenduploadimage.png--co~/ffsend$ffsenduploadimage.png--copEncrypt&Upload7.88KB/116.93KB[==>-------------------------------------]6.74%164.29MB/s0sOverwrite?[y/n]:Download&Decrypt7.49KB/116.93KB[==>------------------------------------]6.41%45.45MB/s0s~/ffsend$ffsendupload-~/ffsend$ffsendupload--~/ffsend$ffsendupload--h~/ffsend$ffsendupload--ho~/ffsend$ffsendupload--hos~/ffsend$ffsendupload--hosth~/ffsend$ffsendupload--hostht~/ffsend$ffsendupload--hosthtt~/ffsend$ffsendupload--hosthttp~/ffsend$ffsendupload--hosthttp:~/ffsend$ffsendupload--hosthttp:/~/ffsend$ffsendupload--hosthttp://~/ffsend$ffsendupload--hosthttp://l~/ffsend$ffsendupload--hosthttp://lo~/ffsend$ffsendupload--hosthttp://loc~/ffsend$ffsendupload--hosthttp://loca~/ffsend$ffsendupload--hosthttp://local~/ffsend$ffsendupload--hosthttp://localh~/ffsend$ffsendupload--hosthttp://localho~/ffsend$ffsendupload--hosthttp://localhos~/ffsend$ffsendupload--hosthttp://localhost~/ffsend$ffsendupload--hosthttp://localhost/.~/ffsend$ffsendupload--hosthttp://localhost/./~/ffsend$ffsendupload--hosthttp://localhost/./d~/ffsend$ffsendupload--hosthttp://localhost/./di~/ffsend$ffsendupload--hosthttp://localhost/./dir-~/ffsend$ffsendupload--hosthttp://localhost/./dir--~/ffsend$ffsendupload--hosthttp://localhost/./dir--c~/ffsend$ffsendupload--hosthttp://localhost/./dir--co~/ffsend$ffsendupload--hosthttp://localhost/./dir--cop~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy-~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--p~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--pa~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--pas~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--pass~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--passw~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--passwo~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--passwor~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password-~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--d~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--do~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--dow~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--down~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downl~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downlo~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloa~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--download~/ffsend$ffsendupload--hosthttp://localhost/./dir--copy--password--downloads1Archivethedirectoryintoasinglefile?[Y/n]:Encrypt&Upload7.88KB/589.02KB[>----------------------------------------]1.34%73.23MB/s0sEncrypt&Upload589.02KB/589.02KB[=======================================]100.00%10.18MB/s~/ffsend$r~/ffsend$rm-~/ffsend$rm-rd~/ffsend$rm-rdiYou'redownloadinganarchive,extractitintotheselecteddirectory?[Y/n]:Download&Decrypt7.49KB/589.02KB[>--------------------------------------]1.27%33.97MB/s0s~/ffsend$ffsendi~/ffsend$ffsendinf~/ffsend$ffsendinf~/ffsend$ffsendh~/ffsend$ffsendhi~/ffsend$ffsendhis~/ffsend$ffsendhist~/ffsend$ffsendhisto~/ffsend$ffsendhistor \ No newline at end of file