Skip to content

k-nut/github-license-check

Repository files navigation

GitHub license check Build Status

A small single page app that uses GitHub's new license api to check which of your repositories are missing a license.

It is made with vuejs and requires no backend. This has the upside of easier deployment but the problem that it is limited to 60 requests per hour and IP-address because it is using the unauthenticated api.

Build Setup

# install dependencies
yarn install # or npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

Remarks

Halfway thought building this I discovered license-checker by dschep which does pretty much the same thing but does not use the new api yet (because it did not exist when he made it).

Using the GitHub license api has the advantage of not having to check for licenses manually and also getting information about the type of the license.