charityrolfson433 / tgpt

ChatGPT in terminal without needing API keys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Terminal GPT (tgpt)

tgpt is a cross-platform cli (commandline) tool that lets you use ChatGPT 3.5 in Terminal without API KEYS. It communicates with the Backend of Bai chatbot. Its written in Go.

Usage

tgpt "What is the purpose of life?"

demo

Installation

Download for Linux or Mac with this one line

curl -sSL https://raw.githubusercontent.com/aandrew-me/tgpt/main/install | bash

If you are using Arch Linux you can install the AUR package with paru:

paru -S tgpt-bin

Or with yay

yay -S tgpt-bin

With Go

go install github.com/aandrew-me/tgpt@latest

Windows

The package has been submitted to choco and is waiting to be approved.

From Release

You can download an executable for your Operating System, then rename it to tgpt or whatever you want. Then you can execute it by typing ./tgpt being in that directory. Or you can add it to the Environmental Variable PATH and then you can execute it by just typing tgpt.

About

ChatGPT in terminal without needing API keys

License:GNU General Public License v3.0


Languages

Language:Go 80.4%Language:Shell 19.6%