Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

cli tool to check license compatibility across your project dependencies

License

Notifications You must be signed in to change notification settings

Roshan-R/lcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

15 Commits

Repository files navigation

lcheck

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.

Features

  • 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..

Installation

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 --release

To use lcheck globally:

cargo install --path .

Usage

Run lcheck in your project directory:

lcheck

Options

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

TODO

  • 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

Credits

The osadl matrix used is from https://github.com/priv-kweihmann/osadl-matrix

About

cli tool to check license compatibility across your project dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /