Skip to content

amirfakhrullah/go-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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