/chatgpt-cli

Poor mans ChatGPT in the command-line.

Primary LanguagePython

ChatGPT CLI

A commandline interface to the recently released gpt-3.5-turbo API.

To install run

pip install rich openai
export OPENAI_API_KEY="<OPENAI API KEY>"
# if you want it in $PATH
cp chatgpt ~/.local/bin/

Features:

  • Markdown display of code
  • GNU Readline support for input

To-Do:

  • Multi-line input
  • Allow editing past inputs
  • Support
  • Alignment with human values