How to Check Github Licenses
· Software Engineering · Updated
By Jan Brennenstuhl · 2min read
On Github, every organization with a fast growing open-source codebase quickly figures out a couple of shortcomings regarding the Github web interface. Especially, when it comes to Github organizations that are already around for some time, you often find some information missing that could probably help managing and controlling your organizations repositories…
Github & Licenses
For months now, Github addresses in particular the often discussed license-problematic by implementing the License Picker feature and introducing the choosealicense.com information page. That’s great if you start with new projects and repositories, but what’s missing is some kind of license overview and maintaining functionality that allows dealing with licenses of already existing repos.
For that reason, I just built a small Python tool to help you getting an overview of your repos licenses: Github-Licker, a Github License Checker!
Github License Checker
Using the Github API v3 including the Licenses API developer preview, Licker is able to check licenses of all repositories in your Github organization. It searches all your own repositories (no forks!) and especially helps identifying repos without license files.
pip install github-licker licker -h usage: licker [TOKEN] [options] options: -o, --organisation=ORGANIZATION the Github organization you want to check [default: ImmobilienScout24]
Github-Licker itself is licensed under Apache License, Version 2.0, for what reason you can easily help me to improve it!
Jan Brennenstuhl is a Principal Software Engineer at Zalando SE, balancing security with friction for their customers. He built an IAM team and brought single sign-on (SSO) to Europe's largest e-commerce fashion platform.