undyingwraith / carbites-cli

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.

License:Other


Languages

Language:JavaScript 100.0%