#upload #file-upload #storage-api #nft #directory #encryption #cli

app nft_storage_cli

Effortlessly interact with NFT.storage API via CLI, featuring unique AES encryption for file uploads and comprehensive directory upload support

1 unstable release

0.1.0 Dec 25, 2023

#2291 in Magic Beans

MIT license

3.5MB
3K SLoC

nft_storage_cli

Installation

cargo install nft_storage_cli

Usage

nft_storage_cli --help
nft_storage_cli init <NFT.STORAGE API KEY>
nft_storage_cli upload <FILE>
nft_storage_cli upload-encrypted <FILE>
# CID only works with what nft.storage manages for now.
# In the future, any IPFS CID will work.
nft_storage_cli download <CID> -- <TARGET DIR>

TODO

sub commands:

  • check
  • delete
  • did get
  • download
    • support ipfs gateway
  • init
  • list
  • status
  • store
  • ucan_token_post
    • I don't know how to do this
  • upload_encrypted
  • upload
  • user_did_post
    • I don't know how to do this, but I think it's working.

Dependencies

~11–27MB
~413K SLoC