Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 990 Bytes

README.md

File metadata and controls

65 lines (41 loc) · 990 Bytes

Go-Chat

DEMO

Description

Communicate with ChatGPT through terminal. Written in Go.

Quickstart

Prerequisites

Install

go install github.com/amirfakhrullah/go-chat@latest

Set Open AI API Key in your .zshrc

export OPEN_AI_API_KEY="xxxxxxxxxxxxx"

And then

source ~/.zshrc

Run Script

Run the script below to get started:

go-chat

Running code locally

  • 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

License under the MIT License