An example Chai application that displays package metadata for SBOMs (software bill of materials).
- Start the Chai DB with
docker compose up
. - Run
go install
orgo build
to generate a binary.
Run sbom-meta
in the root directory of any repository to get a list of
dependencies with metadata.
git clone [email protected]:starship/starship.git
cd starship
sbom-meta
You can sort any of the fields, ascending or descending:
sbom-meta --sort downloads,desc
sbom-meta --sort published,asc
Use the --json
flag to output JSON:
sbom-meta --json | jq .[1].name