Skip to content

CLI tool for splitting a single CAR into multiple CARs from the comfort of your terminal.

License

Notifications You must be signed in to change notification settings

longfeiWan9/carbites-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

carbites-cli

Build dependencies Status JavaScript Style Guide

CLI tool for splitting a single CAR into multiple CARs from the comfort of your terminal.

Install

Make sure you have installed Node.js higher than v15.0.0.

npm install -g carbites-cli

Usage

# 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

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

Dual-licensed under MIT + Apache 2.0

About

CLI tool for splitting a single CAR into multiple CARs from the comfort of your terminal.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%