Skip to content

alescdb/aid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ChatGPT from command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published