A friendly generative AI chatbot for your terminal
- Uses OpenAI ChatGPT Streaming API
- Save on monthly ChatGPT Plus subscription
- Spend 1¢/question instead of $20/mo
- Uses minimal bandwidth compared to the ChatGPT website
- Perfect for road warrior
- Ask multiple questions simultaneously
- Ask questions over multiple terminal tabs/sessions
Currently, there are no binaries available to download, but it is easy to build and use.
1. Install go lang from the official go website.
go install github.com/shivdeepak/hey@latestCheck if $GOPATH is set in your shell (zsh or bash)
echo $GOPATHIf it's empty, then extract and set that value in .zshrc, or .bashrc
go env | grep GOPATH
#> GOPATH='/Users/<username>/go'echo "GOPATH='/Users/$USER/go'" >> ~/.bashrcAdd $GOPATH/bin to $PATH in .zshrc, or .bashrc if it doesn't exist
PATH=$PATH:$GOPATH/binhey config init
# above command will ask for OpenAI API Keyhey why did the chicken cross the road
# note that special characters will confuse the script because
# your shell `bash` or `zsh` etc have special meanings for
# special symbols like ?, or words starting with `-` or `--`
# If you have special characters, put the entire prompt
# within double quotes