Communicate with ChatGPT through terminal. Written in Go.
Go
installed and set up in your device- If you haven't set up
Go
, refer: Go Installation guide
go install github.com/amirfakhrullah/go-chat@latest
export OPEN_AI_API_KEY="xxxxxxxxxxxxx"
And then
source ~/.zshrc
Run the script below to get started:
go-chat
- Clone or fork this repository
- To clone:
git clone https://github.com/amirfakhrullah/go-chat.git
- To run:
go run main.go
- To build:
go build
License under the MIT License