ipfs/ipfs-desktop

support downloading dag-cbor nodes as CAR files

Open

#1.962 aberto em 25 de jan. de 2022

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (912 forks)batch import
P2effort/daysexp/beginnerhelp wantedkind/enhancement

Métricas do repositório

Stars
 (5.632 stars)
Métricas de merge de PR
 (Mesclagem média 8d 12h) (6 fundiu PRs em 30d)

Description

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.

Guia do colaborador