bigsk1/TKS-GPT — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a self hosted ChatGPT style web app that I can run on my own computer or home server.

I want a simple chat page where I can type messages, send them to the OpenAI API, and see clean answers back. It should support normal ChatGPT formatting like bullet points, numbered lists, email drafts, and code blocks. I also want chat history, with the ability to save chats, load old chats, and delete ones I don’t need anymore.

Please make it work with an OpenAI API key from an environment file, and make the app run locally at localhost on port 5000. Use a Python Flask backend and a React frontend, with the backend serving the built frontend. Include Docker and docker compose setup so I can run it easily on a home lab or expose it later with my own domain.

Keep the interface straightforward and usable, with a wider desktop view if there’s room. Look up current OpenAI docs online if you need to.

Want more depth? Deep Reverse