GithubHelp home page GithubHelp logo

grepsuzette / tgpt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aandrew-me/tgpt

0.0 0.0 0.0 133 KB

ChatGPT in terminal without needing API keys

License: GNU General Public License v3.0

Shell 5.92% Go 87.55% PowerShell 6.53%

tgpt's Introduction

Terminal GPT (tgpt) ๐Ÿš€

GitHub go.mod Go version GitHub release (latest by date) AUR version Chocolatey Version

tgpt is a cross-platform command-line interface (CLI) tool that allows you to use ChatGPT 3.5 in your Terminal without requiring API keys. It communicates with the backend of Bai chatbot and is written in Go.

Usage ๐Ÿ’ฌ

tgpt "What can you do?"

demo

Installation โฌ

Download for GNU/Linux ๐Ÿง or MacOS ๐ŸŽ

The default download location is /usr/local/bin, but you can change it in the command to use a different location. However, make sure the location is added to your PATH environment variable for easy accessibility.

You can download it with the following 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

Install with Go

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

Windows ๐ŸชŸ

  • Chocolatey: You can install tgpt from Chocolatey using the following command:

    choco install tgpt
  • Scoop: Package installation with Scoop can be done using the following command:

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

From Release

You can download the executable for your operating system, rename it to tgpt (or any other desired name), and then execute it by typing ./tgpt while in that directory. Alternatively, you can add it to your PATH environmental variable and then execute it by simply typing tgpt.

If you find this project useful, please give it a star! โญ

tgpt's People

Contributors

aandrew-me avatar 1ray-1 avatar axorax avatar muhiris avatar graves501 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.