deepseek-ai/chat-demo ? reverse-engineered prompt

Reverse engineered prompt

Build me a static chat app that works directly in the browser with the DeepSeek API, so there’s no backend to set up.

I want users to paste in their API key in settings, start chatting right away, and manage multiple conversations with automatic titles, rename, delete, edit prompts, regenerate replies, and switch between branches. The chat should stream responses, support deep thinking and web search style answers with citations, and let the user stop or continue a reply when possible.

Please include file uploads, drag and drop, paste attachments, voice input, and text to speech for replies. Render markdown nicely, with code highlighting, math, and Mermaid diagrams. Make it feel polished on mobile and desktop, with light and dark themes and English plus Simplified Chinese. Also add local chat history saved in the browser, plus import and export of history as ZIP files, and a clear all chats option in settings.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab