Work with car (Content addressed ARchive) files!
This is a Golang implementation of the CAR specifications, both CARv1 and CARv2.
As a format, there are two major module versions:
go-car/v2 is geared towards reading and writing CARv2 files, and also
supports consuming CARv1 files and using CAR files as an IPFS blockstore.go-car, in the root directory, only supports reading and writing CARv1 files.Most users should use v2, especially for new software, since the v2 API transparently supports both CAR formats.
This repository provides a car binary that can be used for creating, extracting, and working with car files.
To install the latest version of car, run:
go install github.com/ipld/go-car/cmd/car@latest
More information about this binary is available in cmd/car
CARv2 features:
Reader API.See docs on pkg.go.dev.
Here is a shortlist of other examples from the documentation
PRs are welcome!
When editing the Readme, please conform to the standard-readme specification.
Apache-2.0/MIT © Protocol Labs
Overall
Maintained
Code review
Go module
Latest release
Releases this year
378 followers · starred Dec 2020
605 followers · starred Aug 2022
392 followers · starred Jun 2022
120 followers · starred May 2023
Work with car (Content addressed ARchive) files!
This is a Golang implementation of the CAR specifications, both CARv1 and CARv2.
As a format, there are two major module versions:
go-car/v2 is geared towards reading and writing CARv2 files, and also
supports consuming CARv1 files and using CAR files as an IPFS blockstore.go-car, in the root directory, only supports reading and writing CARv1 files.Most users should use v2, especially for new software, since the v2 API transparently supports both CAR formats.
This repository provides a car binary that can be used for creating, extracting, and working with car files.
To install the latest version of car, run:
go install github.com/ipld/go-car/cmd/car@latest
More information about this binary is available in cmd/car
CARv2 features:
Reader API.See docs on pkg.go.dev.
Here is a shortlist of other examples from the documentation
PRs are welcome!
When editing the Readme, please conform to the standard-readme specification.
Apache-2.0/MIT © Protocol Labs
Overall
Maintained
Code review
Go module
Latest release
Releases this year
378 followers · starred Dec 2020
605 followers · starred Aug 2022
392 followers · starred Jun 2022
120 followers · starred May 2023