GithubHelp home page GithubHelp logo

holtwick / what-license.com Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 216 KB

Quickly check what license text you are facing

Home Page: https://holtwick.github.io/what-license.com/

CoffeeScript 1.68% CSS 16.11% HTML 43.64% JavaScript 38.51% Python 0.05%

what-license.com's Introduction

I am an enthusiastic software developer for web, mobile and desktop applications based in Germany. Currently I create and distribute free and commercial applications. Previously I have worked for large companies like Evernote and Cellular.

My goal is to develop appealing applications for communication and knowledge storage while creating the best possible privacy solution.

To get in touch follow me on Mastodon or Twitter, read my blog or write an email.

what-license.com's People

Contributors

holtwick avatar rpavlik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

rpavlik

what-license.com's Issues

LGPL missing

It appears all versions of LGPL are missing in the project.

Consider adding license identifiers

Nowadays lots of software pieces are put together via tools like composer.
In such cases a license identifier is provided in the config file (like composer.json).

SPDX has been declaring unambiguous license identifiers which should be preferred in such cases.
https://spdx.org/licenses/

Feature request: refer to this license identifiers, so that people are encouraged to use them.

Partial words matching?

it looks like partial words match (not a word-wise comparison), which disproportionately favors the GPL and other long licenses (with a lot of words). For instance, this is what it did with words "STEAM VR" and the GPL 3:
screenshot 038

Didn't look at your code so I don't know your distance metric, but it might be useful to try some word-based comparison.

A way to use this from Firefox's context menu

I'm looking for a way I could invoke this on some selected text from Firefox's context menu. I was hoping I could add it as a search engine, but it seems you don't use a conventional HTML form submission mechanism, so one can't just do it from the context menu like one ordinarily might ...

Anyway, it would be nice to have some way of doing it.

Clarify "BSD license"

The project includes the BSD-3-clause license and refers to it as "BSD license".

Please do not use this term, as there are 3 different licenses (BSD-4-clause, BSD-3-clause and BSD-2-clause) that could be meant with it; some of which would be e.g. clearly incompatible with the GPL.

Mixup between versions of BSD licenses

I pasted in the license from here: https://github.com/ValveSoftware/openvr/blob/master/LICENSE and it did show a pretty high match, calling it BSD license. However, when I clicked on the link, it took me to the OSI's page for the 2-clause BSD license, while the text in the "ranking of best matches" showed it matched against the 3-clause (because that's what it is) - you can actually see the third clause in the search results.

(By the way - thanks for this app, it's super helpful, the kind of thing I've been looking for and putting off writing myself ๐Ÿ‘ )

Computation of match percentage

Related to #3 - it looks like the match percentage is based on the percent of the input license that is found in a given known license. With the partial-word effect, and the presence of really short (bsd/mit-style) input licenses and known really long (GPL) licenses, I see higher than expected matches with (for instance) the GPL on almost every open source license, and this license still gets a 55% match even though it's short and proprietary.

Perhaps compute the percentage both directions and take the minimum? If I correctly guessed at the inner workings, I'd imagine that would drop the GPL out of contention when it's not actually being sought. (However, the caveat is that it would not match the header boilerplate that it contains - might involve having the boilerplates for licenses that have them being in the database separately)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.