Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.11 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.11 KB

DEPRECATED

See air


AID (ChatGPT from Command Line)

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

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)

Install

make install

Arch Linux :

yay -S aid-git

Usage

aid <prompt>

TODO

  • Chat History (partially implemented ~/.config/aid/history.json)
  • Command line parameter (other than prompt)
  • Windows & macOS support (if asked) ?!
  • Gentoo ebuild
  • Arch AUR https://aur.archlinux.org/packages/aid-git