On Tue, Nov 15, 2022, at 8:23 PM, Miro Hrončok wrote:
On 14. 11. 22 20:53, Miroslav Suchý wrote:
> 1) You can use
https://github.com/spdx/spdx-license-diff and use it
> to identify your license. This is a Chrome and Firefox plugin and
> allows you to select the text; and in the context menu, you can
> choose to identify the license. It will print, e.g., that it
> matches 60% of the MIT-feh license and highlight the difference.
> Or...
Do we have a command line tool for this? Does licensecheck support
SPDX identifiers?
(I find the use of browser extension for this very weird. I have the
LICENSE file unpackaged with the sources on my machine, I am not
browsing it on the web.)
There's also a cli tool and library called "askalono"
https://github.com/jpeddicord/askalono that can detect license and
output SPDX identifiers (the data set is sourced from SPDX). It also
outputs a score for similarity. There are also other tools mentioned
in the README, licensee (ruby), ScanCode (python).
Kan-Ru