lcheck is a cli license checker for your project dependencies. It autodetects your language, extract dependencies, identifies missing license information, and detects potential license conflicts.
- Automatic Dependency Detection – Scans dependencies from
Cargo.toml,pyproject.toml. - License Verification – Retrieves license information from public sources.
- Conflict Detection – Highlights incompatible licenses between dependencies.
- Modular Architecture – Designed with separate, well-structured modules for each language, ensuring maintainability and easy extensibility..
To install lcheck, ensure you have Rust installed, then build and install it using:
git clone https://github.com/Roshan-R/lcheck.git
cd lcheck
cargo build --releaseTo use lcheck globally:
cargo install --path .Run lcheck in your project directory:
lcheck
cli tool to check license compatibility across your project dependencies
Usage: lcheck [OPTIONS]
Options:
-v, --verbose Show verbose output
-h, --help Print help
-V, --version Print version
- handle projects which are dual licensed
- add more languages: go, javascript, etc.
- store package metadata to global cache in file system to avoid calling APIs
The osadl matrix used is from https://github.com/priv-kweihmann/osadl-matrix