Skip to content

Latest commit

 

History

History
 
 

tgpt

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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 GNU/Linux 🐧 or MacOS 🍎

The default download location is /usr/local/bin. But you can change it in the command and use your own location. However make sure its in PATH, if you want it to be easily accessible.

You can download with this command :-

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

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 🪟

Package can be installed with scoop with the following command -

scoop install https://raw.githubusercontent.com/aandrew-me/tgpt/main/tgpt.json

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.

If you liked this project, give it a star! ⭐