1

GitHub's free repositories are for open source software.

Is there a canonical way in GitHub user interface to identify what OSS license a project is under?

1

Since September 2016, GitHub displays the license, if recognized, at the top of the repository, next to the number of contributors:

enter image description here


How are licenses recognized?

It's quite common for repositories to have an unrecognized license. There may be several reasons for that.

GitHub uses the open source project Licensee to detect licenses. Common reasons for unrecognized licenses include:

  • Licensee can only recognize licenses from choosealicense.com with slight differences.
  • The license needs to be in its own file, ideally LICENSE or LICENSE.md. Mentioning or writing the full license in the README is insufficient.
  • Titles and addendums (in addition to any already in the original license) often prevent Licensee from recognizing the license.
0

There's actually no way to visually identify the license in one single eyeshot. By the way, most of repo ( I mean nearly all of them ) have a README.md file with in most case some words about licensing.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.