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:

  • [x] Email/Password Login to ChatGPT Without Browser
    • (Captcha solving is untested but implemented)
  • Proxy Settings
    • Supported Protocols are HTTP and SOCKS5
  • 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

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!.

Email & Password login is currently not working. Refer to session token authentication (below picture) in the meantime.

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.4.tar.gz (134.5 kB view details)

Uploaded Source

Built Distribution

chatgpt_gui-0.4-py3-none-any.whl (196.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chatgpt-gui-0.4.tar.gz
  • Upload date:
  • Size: 134.5 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.4.tar.gz
Algorithm Hash digest
SHA256 7922fc2637f35c799add19ea828088213e1f59c27b445a706c10381a48de5f0f
MD5 b886e227cfcb904954939cd9006372d0
BLAKE2b-256 67513cb8c48e713debb665939c862e758fd9f8030afbcd6623bd23b4ee5c6676

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chatgpt_gui-0.4-py3-none-any.whl
  • Upload date:
  • Size: 196.5 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c68cda7f27845714ce32a62b60f782f1617977581db1f99186236d3bd233ccdc
MD5 168b7c6c0ecffc3845f3a0bf767ebeec
BLAKE2b-256 a120ec12e96e95c19a206ae67c5fa9d0ccf4f7b7fada9bd989af6ce773ab72b7

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