Skip to content

sharpvik/gpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gpt - ChatGPT 4 In Your Terminal

Screen.Recording.2024-02-04.at.16.33.24.mov

Install

go install github.com/sharpvik/gpt

Provide OpenAI API Key

gpt key <OPENAI_API_KEY>

Boot Up the REPL

gpt repl

ui.png

  1. Press I and start typing.
  2. Press ENTER to send the message.
  3. ESCape from the input and press C to copy the last GPT answer.
  4. Use CTRL+C to leave the REPL environment.

Ask a Quick Question

gpt 'Tell me about football'

Copy Last Response

gpt copy

About

ChatGPT in your terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages