Skip to content

RagingTiger/cligpt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cligpt

Installation

Go 1.17+

go install github.com/paij0se/cligpt@latest

test

cligpt "Do a poem about Golang in Latin"

Nunc est tempus, ut in Golang gradimur
Mox nostris verbis linguam didicimus
Dum in codice nos ponimus,
Cuncta sic apte nos iungimus.

Verba nova nos scrutamur
Et in praxi illa provamus
Ut optimus sic codex fiat,
Hic scimus nos invenire quod quaerimus.

Golang saepe gloriosa est,
Mentem nostram stimulat et excitat
Nobis efficit ut mira creemus
Et magna in mundo fata sequamur.

Configuration

  • If is the first time you run the cli, You are going to see a error message, so, insert the OpenAI token in your config directory that is located in $HOME/.config/cligpt/cligpt.yml
auth: token
model: text-davinci-003
max_tokens: 2000

Building

  • Clone the repository.

git clone https://github.com/paij0se/cligpt

  • Build the cli.
go build

About

ChatGPT but in the terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Go 100.0%