{"id":21643933,"url":"https://github.com/application-research/add-cids-to-bstore","last_synced_at":"2026-05-17T12:12:02.555Z","repository":{"id":183226957,"uuid":"669798461","full_name":"application-research/add-cids-to-bstore","owner":"application-research","description":"Simple CID fetcher to Delta/Edge compatible blockstore","archived":false,"fork":false,"pushed_at":"2023-07-25T04:24:19.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-19T08:49:21.353Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/application-research.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-23T13:15:28.000Z","updated_at":"2023-07-23T13:44:14.000Z","dependencies_parsed_at":"2025-01-25T04:10:59.340Z","dependency_job_id":"6434b751-53f5-47d1-bf8b-0346fa42c58f","html_url":"https://github.com/application-research/add-cids-to-bstore","commit_stats":null,"previous_names":["alvin-reyes/add-cids-to-bstore"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/application-research/add-cids-to-bstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fadd-cids-to-bstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fadd-cids-to-bstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fadd-cids-to-bstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fadd-cids-to-bstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/application-research","download_url":"https://codeload.github.com/application-research/add-cids-to-bstore/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fadd-cids-to-bstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33137831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T05:36:58.195Z","updated_at":"2026-05-17T12:12:02.522Z","avatar_url":"https://github.com/application-research.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fetch CIDs to delta/edge compatible blockstore\nFetch a list of CIDs (Content Identifier) from a specific URL and download the corresponding files from the IPFS (InterPlanetary File System) network. The downloaded files will be stored in a delta/edge compatible blockstore, which is a data structure used to manage content-addressable data efficiently.\n\n## Steps:\n\n- Fetch the list of CIDs from a designated URL (e.g., https://example.com/cids.txt) and store them in a file named cids.txt.\n- Sample list of CIDs: https://bafybeifcghbafml4yrk43m3pvplin4auibnwrdv5v3rnwnovjjpkt6tkju.ipfs.dweb.link/\n- Loop through each CID in cids.txt, download the corresponding file from the IPFS network using the https://dweb.link/ipfs/ base URL, and show a progress bar for each download.\n- If there is an error while downloading a file for a specific CID, record the problematic CID in a list of failed CIDs.\n- After successfully downloading all the valid files, print the list of CIDs that encountered errors during the download process.\n- Store the downloaded files in a delta/edge compatible blockstore for efficient management and future use.\n  \n## Install\n```\ngo mod tidy\ngo build -o addc\n```\n\n## Running\n```\n./addc --repo=\u003cexisting delta or edge blockstore\u003e --cids-url-source=\"https://bafybeifcghbafml4yrk43m3pvplin4auibnwrdv5v3rnwnovjjpkt6tkju.ipfs.dweb.link/\"\n```\n\n## Author\nProtocol Labs Outercore Engineering.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fadd-cids-to-bstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplication-research%2Fadd-cids-to-bstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fadd-cids-to-bstore/lists"}