Skip to content

AhmedAhmedEG/ChatGPT-MiniGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Preview

ChatGPT-MiniGUI

Simple GUI to interact with ChatGPT directly using an API key.

How To Use

Edit "config.ini" and paste your OpenAI API key in place of the phrase "APIKeyHere", in case this file got deleted, it will be recreated automatically when you run the app.

How To Build From Code

1- Make a python virtual environment inside the project's folder with the name "venv" and run this command in it's shell: pip install pyside6 openai cx_Freeze.

NOTE: creating a virual environment is very important here becuase in the building process, all the packages in the python enviroment get packed inside the output folder, we can add exception per package and also write code to delete spacific files for us, but we need the minimum amount of packages in the environment.

2- Open the cmd and make sure the project's folder is your current working directory, then run Build.bat and it will handle the building and the size optimizing processes automatically.

NOTE: The "Build.bat" file runs the "Builder.py" file in the virtual enviroment, "Builder.py" uses cx_Freeze package to build the application, it also exceludes unused base python libraries, and it also includes custom code that removes unused parts of pyside6 library that takes alot of extra space.

About

Simple GUI to interact with ChatGPT directly using an API key.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors