Skip to content

patent v0.5.0

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Jun 10:47

patent 0.5.0 adds interactive search, a Homebrew source adapter, and a config file.

Highlights

Interactive search mode. Run patent with no arguments to get a search prompt inside the TUI. Type an idea, see results, press n to search again without restarting. No need to leave the terminal between searches.

New source: Homebrew. Searches both formulae and casks from the Homebrew catalog, bringing the total to 12 sources. Automatically selected for queries mentioning cli, brew, macos, or cask.

Config file. Store model, api_base, and api_key in ~/.config/patent/config.toml instead of passing flags every time. Environment variables (PATENT_MODEL, PATENT_API_BASE, PATENT_API_KEY) work too. Precedence: CLI flag > env var > config file > built-in default.

Contributors

Install

cargo install patent

Or use the installer script:

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/r14dd/patent/releases/download/v0.5.0/patent-installer.sh | sh

Pre-built binaries are attached below.