Nilom99/WebGPT ? reverse-engineered prompt

Reverse engineered prompt

Build me a full stack AI chat app like SM GPT.

I want a clean chat interface in the browser where messages stream in live as the AI is typing, with a stop button, chat history saved locally, and settings remembered between visits. Keep the browser side lightweight, and make sure it does not load or run any model files itself.

On the server side, set up a Node.js and Express backend that talks to a local Qwen model through node llama cpp, handles streaming with Server Sent Events, and keeps the conversation context and prompt behavior stable. Add simple status and health endpoints, plus basic validation so bad requests and unsafe roles are blocked.

Make it responsive, support light and dark mode, render markdown safely, and let users export chats to text or JSON. If you need to check the latest docs for anything, go ahead and look them up.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab