Links

IPGet

Learn how to configure IPGet for use with Filebase.

What is IPGet?

IPGet is a CLI tool that allows you to download files locally based on their IPFS CID.
Read below to learn how to use IPGet with Filebase.

Prerequisites:

  • Download and install Golang (Go).
  • Sign up for a free Filebase account.
  • Have your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase IPFS Bucket. Learn how to create a bucket here.

1. Download and install IPGet with the following command:

go install github.com/ipfs/ipget@latest
cd ${GOPATH}/src/github.com/ipfs/ipget
make install

2. Retrieve a file’s CID from Filebase. Start by clicking on the ‘Buckets’ option from the menu to open the Buckets dashboard.

3. Select your IPFS Bucket.

4. After clicking on the bucket name, you will see any previously uploaded files. To upload another file, select 'Upload', then select 'File' from the options.

5. Select the file you want to upload to the IPFS.

6. Once uploaded, you will be able to view and copy the IPFS CID from the 'CID' category, as seen below.

7. Return to the command line. Run the following command to download the file from IPFS using it’s CID:

ipget QmRg5rMBiFs4vdgzuCeWsaCycf66xRp3o78WpJwaZFZZdd -o ipfs.txt
You can also preface the CID with the prefix /ipfs:
ipget -o ipfs.txt /ipfs/QmRg5rMBiFs4vdgzuCeWsaCycf66xRp3o78WpJwaZFZZdd
If you have any questions, please join our Discord server, or send us an email at [email protected]
Last modified 1yr ago