heygpt

A simple common-line interface for ChatGPT API.

Screen Shot 2023-03-07 at 09 30 53

Demo (YouTube)

Quickstart

Install to $HOME/.cargo/bin/ via cargo:

cargo install --path .

You'll need a OpenAI API key (you can get one here), and you'll need to export your API Key as an environment variable:

export OPENAI_API_KEY=<your api key>

Then you can start a conversation with ChatGPT:

heygpt how to record screen on mac

OR use the interactive mode by providing no prompt:

heygpt