Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

mode name
drwxr-xr-x .swiftpm/
drwxr-xr-x Sources/
-rw-r--r-- .ignore
-rw-r--r-- LICENSE
-rw-r--r-- Package.resolved
-rw-r--r-- Package.swift
-rw-r--r-- README.md
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

  1. Add an environment variable:
export FASTGPT_API_TOKEN=YOUR_API_TOKEN
  1. Query an API, e.g.:
% kg fastgpt "What is the meaning of life, the universe, and everything?"
  1. For more details:
% kg --help