Skip to main content

An unofficial GUI app for ChatGPT.

Project description

ChatGPT-GUI

MIT License PyPI Python CPython


An unofficial GUI app for ChatGPT.


Note: This project is in a public alpha, and as such, many features are not complete.

Other Documents:

Table of Contents

Disclaimer:

ChatGPT-GUI is in no way associated with, endorsed by, or otherwise affiliated with OpenAI.

About:

ChatGPT-GUI is an application written using Qt for Python that allows you to easily talk to Assistant, the AI based on ChatGPT.

This project is a fork of my other project, HaloInfiniteGetter.

If you like this application, be sure to star :)

Features:

  • Email/Password Login to ChatGPT Without Browser
    • (Captcha solving is untested but implemented)
  • Executable Script in PATH (chatgpt)
  • Desktop & Start Menu Shorcuts
  • Session (token) Persistence
  • Automatic Access Token Refreshing
  • Multiple Concurrent Conversations
  • Multi-line input
  • Exception Reporter & Traceback Viewer
  • Themes
    • Builtin themes are: [Breeze Dark, Breeze Light, and Legacy]

Todo:

  • Conversation Saving & Loading
  • Retry AI Message
  • Pretty Conversation Views
  • Proxy Settings

How to Use:

Installation:

  • First, install Python 3.10 using this link
  • Then, open command prompt (Win + R -- type in "cmd") and type pip install chatgpt-gui
    • Optionally, to install the latest unstable version, type pip install git+https://github.com/Cubicpath/ChatGPT-GUI.git
  • And you are done! To launch the program simply type chatgpt
    • Once launched, you can create a desktop shortcut by using the Create Desktop Shortcut tool under the Tools context menu

Authentication:

Thanks to rawandahmad698 and tls-client, there exists a method to authenticate without messing around with tokens or the browser. Simply sign in from the app itself!.

Sign In

If you want to use session tokens anyway, here is the guide:

  • Sign in to ChatGPT on your browser
  • Navigate to the Cookies for chat.openai.com
  • Double-click the __Secure-next-auth.session-token cookie value and copy with CTRL + C
  • Open the Settings window, unlock the input by pressing the "Edit Session Token" button, then paste the copied value.
  • Press the Set button, and you should now be authenticated!

Themes:

Themes are a way to style already-existing elements (Think CSS). They are held in a directory with their resources and stylesheet in the same folder level.

Theme File Structure:

../
│
├───[theme_id]/
│       ├─── [icon1_name].svg
│       ├─── [icon2_name].svg
│       ├─── [icon3_name].svg
│       └─── stylesheet.qss
│

The current builtin themes are:

  • Breeze Dark
  • Breeze Light
  • Legacy (Default Qt)

While the current breeze themes are slightly modified versions, you can view the original themes at BreezeStyleSheets.

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

chatgpt-gui-0.3.3.tar.gz (130.0 kB view details)

Uploaded Source

Built Distribution

chatgpt_gui-0.3.3-py3-none-any.whl (192.1 kB view details)

Uploaded Python 3

File details

Details for the file chatgpt-gui-0.3.3.tar.gz.

File metadata

  • Download URL: chatgpt-gui-0.3.3.tar.gz
  • Upload date:
  • Size: 130.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for chatgpt-gui-0.3.3.tar.gz
Algorithm Hash digest
SHA256 0b044bb32e4364055b6144bbd37f313b7a120cf5b34db252e6b073b57222ee89
MD5 84eb992288be486f146c741173a1228c
BLAKE2b-256 9ac25545664e3f27dfe8e91266dbdbfa3c359de87fc1c518aa41ec38f2c67ec3

See more details on using hashes here.

File details

Details for the file chatgpt_gui-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: chatgpt_gui-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 192.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for chatgpt_gui-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6c63e127a1c6f2d60779a0d09b0f5fae6fb6728ca8ed328b75e5c7b1a89805e6
MD5 2b6035c7328c2f0715f8501a8064e7b6
BLAKE2b-256 6ebdba8a6b4814e3e7d04547428a7de8d000c2815f9c8c39e711bbf8f912a33c

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