Simple command line interface to Kagi's APIs.
Install Xcode
or a Swift
toolchain.
% swift build --configuration release
% cp .build/release/fst somewhere/in/you/path/.
export FASTGPT_API_TOKEN=YOUR_API_TOKEN
% kg fastgpt "What is the meaning of life, the universe, and everything?"
% kg --help