Skip to main content

Run chatGPT anywhere

Project description

expressGPT

expressGPT is a handy utility that allows you to run ChatGPT prompts in any window or application just by typing a simple keyword sequence. It provides a quick and convenient way to get assistance from ChatGPT, whether you're drafting an email, writing code, or even coming up with a flirty message for your partner.

Features

  • Universal ChatGPT access: Use ChatGPT in any window or application by typing gpt: followed by your query and ending the query with :gpt.
  • Versatile use cases: Get help with various tasks, such as drafting emails in your mail app, writing code in a code editor, generating jokes, and more.

Setup

You need to add your openAI API key and the modelname to the evironment variable:

Setting Environment Variables

To use expressGPT, you need to set up the following environment variables:

  • API_KEY_OPENAI: Your OpenAI API key
  • CHATGPT_MODEL: The ChatGPT model name for the model you want to use (e.g., gpt-3.5-turbo)

It is recommended to set the variables permanently for ease of use instead of setting them temporary.

You can follow this tutorial to setup the environment variable in Windows. Follow this tutorial for setting the environment variable in Linux. For Mac OS use this .

Installation

You can install expressGPT using pip:

pip install expressgpt

Usage

Open a terminal and type:

expressgpt

The program will run and to use ChatGPT in any window or application, simply type gpt: followed by your query and end the query with :gpt. expressGPT will replace your query with ChatGPT's response. For example, if you're in a text editor and you type:

gpt: Who was the winner of the first IPL season :gpt

expressGPT will replace the query with ChatGPT's response, like:

Rajasthan Royal won the first IPL season. 

Support

If you find expressGPT helpful and want to show your appreciation, consider buying me a cup of coffee: Buy me a coffee Your support is greatly appreciated!

Thanks,

Digant Patel www.digantpatel.com

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

expressgpt-0.1.2.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

expressgpt-0.1.2-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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