
ipget
is a standalone program analogous to GNU wget
. Unlike wget though, ipget
specializes in downloading files and directory structures from the IPFS network.
ipget
includes its own IPFS node, so you don't need IPFS installed on your
system. This makes it ideal for users and projects that want a simple utility
for whenever they want to retrieve files from IPFS.
Install
Download a binary for your platform from IPFS Distributions.
Install From Source
ipget
doesn't use the vanilla Go package management system. It instead uses
the gx (and
gx-go) workflow. This means a slightly
different set of steps to install:
$ go get -d github.com/ipfs/ipget
$ cd ${GOPATH}/src/github.com/ipfs/ipget
$ make install
Example
Find a fun IPFS address and ipget
away!
$ ipget QmQ2r6iMNpky5f1m4cnm3Yqw8VSvjuKpTcK1X7dBR1LkJF/cat2.gif -o nyan.gif
or with an /ipfs
prefix:
$ ipget /ipfs/QmQ2r6iMNpky5f1m4cnm3Yqw8VSvjuKpTcK1X7dBR1LkJF/cat2.gif -o nyan.gif
or even IPNS addresses:
$ ipget /ipns/QmQG1kwx91YQsGcsa9Z1p6BPJ3amdiSLLmsmAoEMwbX61b/files/cat2.gif -o nyan.gif
Usage
Usage: ipget IPFS_PATH [-o]
Retrieve and save IPFS objects.
Arguments:
IPFS_PATH="" the IPFS object path
Options:
-o, --output="" output file path
License
MIT