ipfs/ipfs-desktop

support downloading dag-cbor nodes as CAR files

Open

#1.962 geöffnet am 25. Jan. 2022

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (912 Forks)batch import
P2effort/daysexp/beginnerhelp wantedkind/enhancement

Repository-Metriken

Stars
 (5.632 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 8T 12h) (6 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide