https://github.com/sharpvik/gpt
ChatGPT in your terminal
https://github.com/sharpvik/gpt
Last synced: 10 months ago
JSON representation
ChatGPT in your terminal
- Host: GitHub
- URL: https://github.com/sharpvik/gpt
- Owner: sharpvik
- License: gpl-3.0
- Created: 2024-02-04T09:36:05.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-04T22:50:40.000Z (over 1 year ago)
- Last Synced: 2025-03-28T02:24:04.970Z (10 months ago)
- Language: Go
- Size: 474 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `gpt` - ChatGPT 4 In Your Terminal
https://github.com/sharpvik/gpt/assets/23066595/8360b5c8-7e7d-4251-9cf2-9a770d807739
## Install
```bash
go install github.com/sharpvik/gpt
```
## Provide OpenAI API Key
```bash
gpt key
```
## Boot Up the REPL
```bash
gpt repl
```

1. Press `I` and start typing.
2. Press `ENTER` to send the message.
3. `ESC`ape 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
```bash
gpt 'Tell me about football'
```
## Copy Last Response
```bash
gpt copy
```