-
Notifications
You must be signed in to change notification settings - Fork 489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: bulk CIDs import #2173
Comments
This comment was marked as outdated.
This comment was marked as outdated.
@asigalov61 Great question. You should be able to do this very easily by dragging and dropping files onto the IPFS-Desktop "Files" screen. Please let us know if you experience any issues with this. |
@SgtPooki Thank you for your response. But I was asking about download, not upload. I have a csv file with IPFS CIDs and I want to import all CIDs so that I can download them. There seems to be only option to do it one by one by going to Files -> Import from IPFS, but there is no bulk "Import from IPFS" option. Am I missing something? Please let me know. Thank you. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@asigalov61 I see! sorry for my confusion.. I think an option to bulk import CIDs would be a great addition to IPFS-Desktop. Just FYI: that change would likely live in the ipfs-webui repo. It might be a while until we get to this feature since a lot of our focus has been on Helia, but to unblock yourself for now, I threw together https://github.com/SgtPooki/npm-bulk-import-cid that you can use via npm (its at https://www.npmjs.com/package/@sgtpooki/bulk-import-cid) with $ npx @sgtpooki/bulk-import-cid <filename> <optionalTimeoutMs> Running it from that repo, with the example.txt file, here is the output:
and we can see them in IPFS desktop after. NOTE: Since this is adding to the same IPFS blockstore IPFS-Desktop uses, you must shutdown IPFS-Desktop in order to use the above tool, but it should tell you that. |
@SgtPooki Ok. Thank you. I will try it and I will let you know if there are any problems. Thank you again for extra support on this :) |
keeping this open as we still would like to support this in ipfs-desktop/ipfs-webui. Moving to ipfs-webui though |
This comment was marked as outdated.
This comment was marked as outdated.
@SgtPooki Yes, sorry about closing it. I would love to see the native support for bulk CID import in IPSF desktop :) Thank you, guys, for your hard work. IPFS is an important and needed thing :) |
@SgtPooki Dear Sgt Pooki, Any update on this feature? Any ETA on when it will be implemented? Thank you so much in advance for your response. Alex |
@asigalov61 unfortunately, we've got a lot of items on our plate now, and a smaller team. I would be happy to review a PR that added a "bulk import" option to the Import button on the files screen: but won't be able to work on this for the forsee-able future. |
@SgtPooki Thank you for your response and update :) Unfortunately, IPFS code is too complex for me to contribute to. Sorry. I am mostly Python ML/DL dev :( But please add this feature when you are able. I think it would be a useful addition to IPFS. I will use your workaround for now, for which I am grateful nevertherless :) Sincerely, Alex. |
Oh, my God. |
Still waiting for bulk import of many CIDs from IPFS via csv or txt file. |
Hey @SgtPooki, interested in working on this! To confirm in terms of UX, would the below flow work? Click 'Import' --> Choose 'Bulk Import' (new option) --> user selects .txt or .csv file --> new imported files show up on the page |
@SgtPooki @MattWong-ca Thank you very much for wanting to add this much needed feature! Looking forward to the final implementation :) |
Many thanks in advance. |
Hey guys,
I was wondering if it would be possible to add a bulk files/CIDs import from a txt or csv file?
I have a list of CIDs but there is no option in IPFS-Desktop to import them in bulk/automatically.
Can you implement this option? Or, if it is possible to do via Kubo or some other script method, it would be nice to see such method in the docs.
Please let me know.
Alex
The text was updated successfully, but these errors were encountered: