https://github.com/nftstorage/carbites-cli
***Notice: This repository is no longer maintained.***CLI tool for splitting a single CAR into multiple CARs from the comfort of your terminal.
https://github.com/nftstorage/carbites-cli
Last synced: 9 months ago
JSON representation
***Notice: This repository is no longer maintained.***CLI tool for splitting a single CAR into multiple CARs from the comfort of your terminal.
- Host: GitHub
- URL: https://github.com/nftstorage/carbites-cli
- Owner: nftstorage
- License: other
- Created: 2021-06-24T09:55:28.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-08-29T10:13:11.000Z (almost 4 years ago)
- Last Synced: 2025-08-31T22:08:47.465Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 54.7 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# carbites-cli
[](https://github.com/nftstorage/carbites-cli/actions/workflows/main.yml)
[](https://david-dm.org/nftstorage/carbites-cli)
[](https://standardjs.com)
CLI tool for splitting a single CAR into multiple CARs from the comfort of your terminal.
## Install
```sh
npm install -g carbites-cli
```
## Usage
```sh
# 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](https://github.com/nftstorage/carbites-cli/issues/new) or submit PRs.
## License
Dual-licensed under [MIT](https://github.com/nftstorage/carbites-cli/blob/main/LICENSE-MIT) + [Apache 2.0](https://github.com/nftstorage/carbites-cli/blob/main/LICENSE-APACHE)