https://github.com/junyu-w/gptc
Supercharge your CLI with the power of OpenAI's GPT model (and other models too!)
https://github.com/junyu-w/gptc
chatgpt cli command-line command-line-tool gpt-3 gpt-4 openai
Last synced: 4 months ago
JSON representation
Supercharge your CLI with the power of OpenAI's GPT model (and other models too!)
- Host: GitHub
- URL: https://github.com/junyu-w/gptc
- Owner: junyu-w
- License: apache-2.0
- Created: 2023-03-20T07:44:25.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-27T06:09:12.000Z (about 3 years ago)
- Last Synced: 2025-04-13T14:41:48.018Z (about 1 year ago)
- Topics: chatgpt, cli, command-line, command-line-tool, gpt-3, gpt-4, openai
- Language: Go
- Homepage:
- Size: 5.71 MB
- Stars: 33
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gptc - GPT ❤️ CLI
Supercharge your CLI with the power of OpenAI's GPT model (and other models too!), generate script without leaving the terminal, one-click command explanation, and interactive chat with GPT all in one place.
A large part of this tool is actually written by GPT-4 🧠
## Install
You can install this tool by downloading the release archive directly from GitHub or use `homebrew`
```{bash}
brew tap junyu-w/gptc git@github.com:junyu-w/homebrew-gptc.git
brew install gptc
```
To upgrade to the latest version (make sure you had run the `brew tap` command above already), run
```{bash}
brew upgrade
```
## How to use?
It's as simple as typing `gptc` in your terminal, and we'll walk you through the rest from configuration to your first request 🙌
Additionally, if you would like to just start an interactive chat with GPT about anything beyond just bash script or command, simply type
```
gptc chat
````
and you'll have the ChatGPT experience right in the terminal!
### Example - Generate and explain script
https://user-images.githubusercontent.com/6601308/226514447-44020f03-867c-42d8-9dd5-f948b798cf83.mov
### Example - Interactive chat with GPT
https://user-images.githubusercontent.com/6601308/226514460-2afd89fc-42e0-4ff5-825f-bb910babe687.mov