/cli-gpt

💬 Simple TUI for ChatGPT.

Primary LanguageShell

cli-gpt

cli-gpt.mp4

Usage

Run: ./cli-gpt

Other options: commands

Configuration

  • place custom (system) prompts in ~/.config/cli-gpt/system-prompts/*.txt

Installation

Dependencies

  • Gum (tui toolkit)
  • linxu only (x11): xclip

Installing

  1. install the dependencies
  2. set the OPENAI_API_KEY environment variable to your OpenAI API key (export OPENAI_API_KEY="<your-api-key>")
  3. clone this repo & cd into it
  4. chmod +x ./cli-gpt
  5. ./cli-gpt