amirfakhrullah / go-chat

Communicate with ChatGPT quickly through terminal. Written in Go.

Home Page:https://pkg.go.dev/github.com/amirfakhrullah/go-chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Communicate with ChatGPT quickly through terminal. Written in Go.

https://pkg.go.dev/github.com/amirfakhrullah/go-chat

License:MIT License


Languages

Language:Go 100.0%