ipfs/ipfs-desktop

support downloading dag-cbor nodes as CAR files

Aperta

#1962 aperta il 25 gen 2022

 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (912 fork)batch import
P2effort/daysexp/beginnerhelp wantedkind/enhancement

Metriche repository

Star
 (5632 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I'm writing up some docs for nft.storage about how to make a local copy of your NFTs that could potentially be re-provided to the network (as a hedge against link rot, basically).

I was hoping to use IPFS Desktop for the examples, but it doesn't seem to like the dag-cbor nodes that nft.storage uses as its top-level "container" node.

When I try using the menu bar's "Download" command, I get this:

And pasting it into the main search box on the desktop interface gives me

If I click through to the IPLD explorer I can see the json representation and links to the NFT assets:

But sadly I'm not able to download or pin the entire thing, which is what I was hoping to do.

Solution wise, it seems like what I really want is broader support for dag-cbor in Desktop / web ui, but that sounds like a big nest of features and potential features that will take planning and so on 😄.

I think a good short term solution would be to have a "Download as CAR" option on the "This is not a file or directory" screen in addition to the link to IPLD explorer. Clicking the 🚗 button could call out to ipfs dag export and save a .CAR file.

Guida contributor