Quantcast
Channel: CodeSection,代码区,网络安全 - CodeSec
Viewing all articles
Browse latest Browse all 12749

ipfs-wormhole: Get things from one computer to another, safely. Over IPFS (optio ...

$
0
0
ipfs-wormhole

Get things from one computer to another, safely. Over IPFS (which is not even required to receive files thanks to the Cloudflare IPFS gateway ).

Inspired by magic-wormhole and dat-cp . Initially published here .

Usage Send a file or a directory

On machine A:

ipfs-wormhole.sh send <file or directory>

Will encrypt and add the file (or the directory as a compressed tarball) to IPFS, and output a tag. If xclip is installed, the command to retrieve it will be copied to the clipboard.

Receive a file or a directory (as a compressed tarball)

On machine B:

ipfs-wormhole.sh receive <tag>

Will retrieve the file over IPFS if IPFS is installed and running, or if it's not, over HTTPS thanks to the Cloudflare IPFS gateway , decrypt it and save it locally.

Check dependencies ipfs-wormhole.sh checkdeps Update from the github repo

ipfs-wormhole.sh update


Viewing all articles
Browse latest Browse all 12749

Latest Images

Trending Articles





Latest Images