Got tired of copy-pasting LICENSE files, so I built a tiny CLI for it (Homebrew && PyPI)

LIC

A minimal, interactive license generator that fetches licenses from GitHub’s official API.

No more going to GitHub, creating a file, typng ‘LICENSE’, picking a license, pushing and pulling. Just run lic and generate your license locally.

Works on macOS, Linux, and Windows.

Demo

Installation

Homebrew (macOS/Linux)

brew tap kushvinth/tap
brew install lic

PyPI (recommended - cross-platform)

# Using uvx (recommended)
uvx lic-cli

# Or install globally with pipx
pipx install lic-cli

# Or with uv
uv tool install lic-cli
4 Likes

Neat. You might be interested in the more exhaustive Licenses - Open Source Initiative licenses list than the shorter GitHub licenses list.

2 Likes