See air
A simple command-line application written in Dart to call ChatGPT from command line (linux only for now) with simple markdown to ANSI output.
Setup file (~/.config/aid/setup.json
):
{
"apikey": "sk-abcdef...",
"model": "gpt-4",
"markdown": true,
"system": "You are a Linux coder assistant."
}
name | value |
---|---|
apikey |
OpenAI API key (required) |
model |
Set by default to gpt-4 |
markdown |
Parse markdown (default to true ) |
system |
System prompt (not required) |
make install
Arch Linux :
yay -S aid-git
aid <prompt>
-
Chat History(partially implemented~/.config/aid/history.json
) -
Command line parameter (other than prompt) - Windows & macOS support (if asked) ?!
- Gentoo ebuild
-
Arch AURhttps://aur.archlinux.org/packages/aid-git