ipfs2foc
v0.4.0
Published
Migrate already-pinned IPFS CIDs onto Filecoin Onchain Cloud without re-chunking.
Maintainers
Readme
ipfs2foc
Migrate already-pinned IPFS CIDs onto Filecoin Onchain Cloud (FOC) without re-chunking.
Each original CID stays byte-for-byte intact and individually retrievable over IPFS, while far fewer pieces are committed on-chain. The storage provider pulls each object's bytes directly from a trustless IPFS gateway; your machine streams each object once to compute its piece commitment and stores none of the payload.
To run a migration with nothing installed, use the browser console at sgtpooki.github.io/ipfs2foc.
Install
npm install -g ipfs2foc # the `ipfs2foc` command
# or run without installing:
npx ipfs2foc --helpRequires Node 26+ (uses the built-in node:sqlite).
Quickstart
ipfs2foc --help # list commands
ipfs2foc probe --gateway https://trustless-gateway.link # check a sourceDocumentation
Full usage, prerequisites, the on-chain flow, and operational notes live in the repository:
- Project README — install, quickstart, commands, troubleshooting, how it works.
docs/— tutorial, glossary, source/gateway notes, ingress, personas.
