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.
tgpt "What is the purpose of life?"
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
go install github.com/aandrew-me/tgpt@latest
The package has been submitted to choco
and is waiting to be approved.
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
.