Repository

licensedetector/cli

License Detector

The License Detector engine & CLI (Elastic License 2.0) — resolve lockfiles across 20+ ecosystems and reconcile each package's declared license against the text it actually ships.

1star

Open github.com

licensedetector/cli

License Detector

A license detection tool that resolves dependency lockfiles across 20+ ecosystems, reconciles declared licenses against shipped text, and evaluates results against a configurable policy. Includes a CLI and GitHub App.

Visit project

Show me a random project

First shared
Aug 31, 2026
HN activity
40

Show HN@eggbrainAug 31, 2026

Show HN: License Detector – the fastest, most accurate license detection tool

Years ago when I worked for Shogun, I was handed a compliance task: gather up all the LICENSE files from our codebase, so we could make sure all our products were legally compliant. It was not as easy as it sounded -- I had to use multiple different command line tools, merge all the results from the disparate tools together, and then manually verify that the data was correct. I made a mental note at the time that I should build something that made this easier one day. Years later, I'm making good on that promise: introducing License Detector (https://licensedetector.com) -- a license detection tool that works across 21 ecosystems, basically every major language, and it's free in the web app for any open/public repo! I'm also releasing the CLI for free as well (https://github.com/licensedetector/cli), so you can run it on your own repo before installing anything. The tool is ~80x faster than licensee, and matches or beats askalono and scancode-toolkit on accuracy in head-to-head benchmarks (I've included the benchmarks as well in the repo if you wish to run them yourself). Hope people try it out and enjoy it, and would be glad to answer any questions! CLI: go install go.licensedetector.com/cmd/license-detector@latest GitHub App: https://github.com/apps/license-detector Benchmarks & how it works: https://licensedetector.com/compare#how-we-stack-up

Community

Hacker News discussion

Loading the thread…