ipfs/ipfs-desktop

support downloading dag-cbor nodes as CAR files

Open

#1 962 ouverte le 25 janv. 2022

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (912 forks)batch import
P2effort/daysexp/beginnerhelp wantedkind/enhancement

Métriques du dépôt

Stars
 (5 632 stars)
Métriques de merge PR
 (Merge moyen 8j 12h) (6 PRs mergées en 30 j)

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.

Guide contributeur