README
Kagi CLI
Simple command line interface to Kagi’s APIs.
Installation
Install Xcode or a Swift toolchain.
% swift build --configuration release
% cp .build/release/fst somewhere/in/you/path/.
Usage
- Add an environment variable:
export FASTGPT_API_TOKEN=YOUR_API_TOKEN
- Query an API, e.g.:
% kg fastgpt "What is the meaning of life, the universe, and everything?"
- For more details:
% kg --help