Skip to content

ff6347/licensor

Repository files navigation

licensor

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.

Prerequisites

  • Go 1.21+ (for installation)
  • gh (optional, for authenticated GitHub API requests)
  • fzf (optional, for licensor search)

Installation

Homebrew

brew install ff6347/tap/licensor

Go

go install github.com/ff6347/licensor@latest

Build from source

git clone https://github.com/ff6347/licensor.git
cd licensor
go build -o licensor

Usage

licensor 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 Commons

Development

go test ./...              # Run tests
go run . list              # Run from source

License

CC-BY-4.0

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors

Languages