Host ChatGPT locally
MIT License
This project provides a customizable web interface for ChatGPT, allowing you to host it locally and seamlessly forward user requests to OpenAI for response generation.
Education and Learning:
Research and Development:
UI/UX Customization:
Privacy and Security:
Localized Deployment:
git clone https://github.com/Simatwa/revChatGPT.git
cd revChatGPT
pip install -r requirements.txt
The script utilizes HTTP Cookies and OAuth to justify the REST-API requests at Openai.
In order to do that, we will use the export-cookie-for-puppeteer extension to extract the cookies which will later on used to retrieve the OAuth.
By doing that you are almost there.
Make path to the exported cookie file an environment variable identified by openai_cookie_file
or simply create a .env
file at the projects root directory and save the path in the format :
openai_cookie_file=<path-to-openai-cookie-file>
Recommended : Edit the env file as per your preferences and then rename it to .env
Fire up the server locally:
python -m flask run -p 8000
Then visit http://localhost:8000 .
Note : The server has been tweaked to be relevant only on localhost using port 8000.
Have fun.
While our quest involves unraveling the mystical tapestry of ChatGPT's web version, remember—this journey is for academic and exploratory purposes only!
⚡️ The mission ahead involves exploring the digital wizardry behind ChatGPT's web interface, but it's crucial to wield your code-swords responsibly.
🧙‍♂️ Reverse engineering is a curious spell, but only cast it upon ChatGPT's web version and not for nefarious sorcery or unauthorized mischief.
🛡️ While your curiosity is commendable, remember to honor the noble laws of the digital realm—respect intellectual property rights and avoid the dark paths of piracy.
Embrace the adventure, learn the arcane arts, but do so in the spirit of scholarly exploration and ethical wizardry!