Skip to content

support downloading dag-cbor nodes as CAR files #1962

@yusefnapora

Description

@yusefnapora

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:

Screen Shot 2022-01-25 at 4 14 06 PM

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

Screen Shot 2022-01-25 at 3 59 12 PM

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

Screen Shot 2022-01-25 at 4 18 04 PM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium: Good to have, but can wait until someone steps upeffort/daysEstimated to take multiple days, but less than a weekexp/beginnerCan be confidently tackled by newcomershelp wantedSeeking public contribution on this issuekind/enhancementA net-new feature or improvement to an existing feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions