Skip to content

surprisetalk/licensure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

453 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo records changes to software licenses.

To use these scripts, create a personal dev token in your GitHub settings.

This script adds recently updated repos (>1000 stars) to repos.txt:

./repos.sh $GITHUB_TOKEN

This script samples repos.txt and adds the license commit history to commits.csv:

./commits.sh $GITHUB_TOKEN

View the latest license changes like so:

curl -s 'https://raw.githubusercontent.com/surprisetalk/licensure/main/commits.csv' \
  | sort -r | head \
  | awk -F, '{print $1 ": https://github.com/" $2 "/commit/" $3}'

View the license commits on GitHub at https://github.com/$REPO/commit/$COMMIT or via API:

curl -H "Accept: application/vnd.github+json" \
     -H "Authorization: token $GITHUB_TOKEN" \
     "https://api.github.com/repos/$REPO/commits/$COMMIT"

About

Scripts to watch software licenses change.

Resources

Stars

Watchers

Forks

Contributors

Languages