CLI tool for splitting a single CAR into multiple CARs from the comfort of your terminal.
npm install -g carbites-cli
# Split a big CAR into many smaller CARs
carbites split big.car --size 100MB --strategy simple # (default size & strategy)
# Join many split CARs back into a single CAR.
carbites join big-0.car big-1.car ...
# Note: not a tool for joining arbitrary CARs together! The split CARs MUST
# belong to the same CAR and big-0.car should be the first argument.
# If you are looking to split a CAR to fit under the NFT.Storage 100MB limit using the HTTP API, use:
carbites split example.car --size 10MB --strategy treewalk
Feel free to dive in! Open an issue or submit PRs.
Dual-licensed under MIT + Apache 2.0