ipfs-desktop
ipfs-desktop copied to clipboard
support downloading dag-cbor nodes as CAR files
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](https://user-images.githubusercontent.com/678715/151061183-57c1481b-f48e-483f-89ac-7ada8cab6e5f.png)
And pasting it into the main search box on the desktop interface gives me
![Screen Shot 2022-01-25 at 3 59 12 PM](https://user-images.githubusercontent.com/678715/151061256-d5139b5f-7a4a-47d2-8688-c19b737995db.png)
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](https://user-images.githubusercontent.com/678715/151061437-599028f8-dd2e-4356-a401-2e1b63149893.png)
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.
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review. In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment. Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:
- "Priority" labels will show how urgent this is for the team.
- "Status" labels will show if this is ready to be worked on, blocked, or in progress.
- "Need" labels will indicate if additional input or analysis is required.
Finally, remember to use https://discuss.ipfs.io if you just need general support.
cc @dchoi27 - this is what I was mentioning earlier about NFT backups with IPFS Desktop.
We have wip PRs in ipfs-webui
- CAR import https://github.com/ipfs/ipfs-webui/pull/1838
- CAR export https://github.com/ipfs/ipfs-webui/pull/1837
afaik it is blocked by the need to update to the latest ipfs-http-client (https://github.com/ipfs/ipfs-webui/pull/1840)
Related Gateway feature – /ipfs/{cid}?format=car
– is being implemented in https://github.com/ipfs/go-ipfs/pull/8758