A minimal CLI for fetching open source license templates. Uses choosealicense.com and creativecommons.org as data sources, providing 50+ licenses including Creative Commons variants.
License types: permissive, copyleft, non-commercial, restrictive.
- Go 1.21+ (for installation)
- gh (optional, for authenticated GitHub API requests)
- fzf (optional, for
licensor search)
brew install ff6347/tap/licensorgo install github.com/ff6347/licensor@latestgit clone https://github.com/ff6347/licensor.git
cd licensor
go build -o licensorlicensor list # List all licenses with type
licensor search # Interactive fuzzy search (requires fzf)
licensor get mit # Output license text to stdout
licensor get apache-2.0 > LICENSE
licensor get cc-by-nc-sa-4.0 > LICENSE # Creative Commonsgo test ./... # Run tests
go run . list # Run from sourceCC-BY-4.0