Skip to main content

AI chat assistant in your terminal powered by OpenAI ChatGPT models.

Project description

[TerminalGPT-Pro]

Welcome to TerminalGPT-Pro, the terminal-based ChatGPT personal assistant app! With TerminalGPT-Pro, you can easily interact with the OpenAI GPT-3.5 and GPT-4 language models.

Whether you need help with a quick question or want to explore a complex topic, TerminalGPT-Pro is here to assist you. Simply enter your query and TerminalGPT-Pro will provide you with the best answer possible based on its extensive knowledge base.

Why?

Some advantages of using TerminalGPT-Pro over the chatGPT browser-based app:

  • It doesn't disconnect like the browser-based app, so you can leave it running in a terminal session on the side without losing context.
  • It's highly available and can be used whenever you need it.
  • It's faster with replies than the browser-based app.
  • You can use TerminalGPT-Pro with your IDE terminal, which means you won't have to constantly switch between your browser and your IDE when you have questions.
  • TerminalGPT-Pro's answers are tailored to your machine's operating system, distribution, and chip-set architecture
  • Doesn't use your conversation data for training the model (unlike the browser-based app).
  • Your conversations are stored locally on your machine, so only you can access them.

Pre-requisites

Installation

  1. Install the latest TerminalGPT-Pro with pip install.
pip install terminalgpt (optional -U --user)
  1. Now you have terminalgpt command available in your terminal. Run the following install command to configure the app.
terminalgpt install
  1. Enter your OpenAI API key when prompted and press enter.

  2. Choose one of the models below as the default model. it can be overridden with the -m --model flag later.

  3. Choose a printing style ('markdown' is recommended)

That's it! You're ready to use TerminalGPT! You can now start a new conversation with terminalgpt new or load a previous conversation with terminalgpt load. Also you can reinstall with terminalgpt install or delete previous conversations with terminalgpt delete.


Usage

TL;DR

Usage: terminalgpt [OPTIONS] COMMAND [ARGS]...

  *~ TerminalGPT-Pro - Your Personal Terminal Assistant ~*

Options:
  --version                       Show the version and exit.
  -m, --model [gpt-3.5-turbo|gpt-3.5-turbo-16k|gpt-4|gpt-4-32k]
                                  Choose a model to use. [default:gpt-3.5-turbo]
  -s, --style [markdown|plain]    Output style. [default: markdown]
  --help                          Show this message and exit.

Commands:
  delete    Choose a previous conversation to delete.
  install   Creating a secret api key for the chatbot.
  load      Choose a previous conversation to load.
  new       Start a new conversation.
  one-shot  One shot question answer.

New

Start a new conversation:

terminalgpt new

One-Shot

One shot question to get a fast answer in the terminal.

terminalgpt one-shot "What is the meaning of life?"

Load

Load previous conversations:

terminalgpt load

Delete

Delete previous conversations:

terminalgpt delete

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

terminalgpt-pro-0.4.0.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

terminalgpt_pro-0.4.0-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file terminalgpt-pro-0.4.0.tar.gz.

File metadata

  • Download URL: terminalgpt-pro-0.4.0.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for terminalgpt-pro-0.4.0.tar.gz
Algorithm Hash digest
SHA256 7b5bbdc761f755685655abcebf37cb14f2d44d9542839f376580e4bc0b117a7d
MD5 8d2eaef9afcb80f3875f5fe7ebbbec80
BLAKE2b-256 6e3add0cf8799955427ae7cac852b77249b03da85d388969801bac5c88f61557

See more details on using hashes here.

File details

Details for the file terminalgpt_pro-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for terminalgpt_pro-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 404856709ce0bde01e26c5aa087dbd1c13c00cd8b780fc5a90d7406b90608b6e
MD5 6d87a6c740cad09a1939c0c3289ca072
BLAKE2b-256 843e2d175b8ad2df759b6413e63cbb5eecdfc54468b1a29e85dad17cd8625de9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page