An open API service indexing awesome lists of open source software.

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!)

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