Skip to content
License badge for your Github repos.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
test
.gitignore
.gitlicense
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
package.json
yarn.lock

README.md

Git License

GitLicense Code Climate Build Status codecov Codacy Badge

License badge for your Github repos.

Usage

Git License give you a easy way to display license on github. We use github license api to get license of you repo.

Markdown

[![GitLicense](https://gitlicense.com/badge/:user/:repo)](https://gitlicense.com/license/:user/:repo)

HTML

<a href="https://gitlicense.com/license/:user/:repo">
    <img src="https://gitlicense.com/badge/:user/:repo"/>
</a>

RST

.. image:: https://gitlicense.com/badge/:user/:repo
 :target: https://gitlicense.com/license/:user/:repo

If Github api can't provide your repo's license, your repo have to have a .gitlicense file with following patern in order to be recognised.

{
    "license" : "License name",
    "url" : "License url"
}

Example can be found in this file

Todo

  • Add more test.

Credit

You can’t perform that action at this time.