What I just pushed

OSLA writes a LICENSE file for you. You give it the name of a license and it writes the text into your project. The code is at https://github.com/kleinpanic/OSLA.

osla mit

What it does

All the license texts are stored on your machine, so it works offline. OSLA fills in the year and the copyright holder for you. It reads them from ~/.config/OSLA/osla.conf, and it creates that file the first time you run it.

The options are:

Some licenses have aliases, and those live in the source.

What is in the box

There are 16 licenses right now: Apache 2.0, Boost, BSD 2-clause and 3-clause, CC-BY 4.0, CC-BY-SA 4.0, CC0, three CERN-OHL variants, GNU AGPL 3.0, GPL 3.0, MIT, MPL 2.0, SIL OFL 1.1 and the Unlicense. Some of those are not software licenses. Every one has a short description file next to its text.

How it works

It is C. The data lives in licenses/*.txt and descriptions/*.desc. The Makefile puts the binary in /usr/local/bin and the data in /usr/local/share/osla. You can point OSLA_DATADIR somewhere else.

make clean all && sudo make install

The version in src/version.h is 1.0.0. I did not tag it.

What is not done

There is no tag, and the list is only as good as the texts I have added.

P.S Thanks for reading. Consider subbing to the RSS feed.
Klein Panic