zapier/chatbot-ui — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a clean web app that works like a self hosted ChatGPT interface. I want users to open it in the browser, enter their OpenAI API key if one isn’t already set, choose a model, and start chatting with an AI in a simple polished chat layout.

It should support normal back and forth conversations, a default system prompt, temperature settings, and environment based setup for OpenAI or Azure OpenAI. If Google search keys are provided, include support for web search through Google Custom Search. Make it easy to run locally with npm and also deploy with Docker or Vercel.

Please make the interface feel modern and responsive, with a sidebar for conversations and a main chat area. Keep the setup straightforward with an example env file. Look up current OpenAI and Azure docs online if you need to.

Want more depth? Deep Reverse