sujal-thakur01/DeepSeek-Clone — reverse-engineered prompt
Reverse engineered prompt
Build me a full stack AI chat app like DeepSeek where users can sign in, start chats, and keep their chat history saved. I want the assistant to remember the current conversation so follow up questions make sense, and it should be able to decide when older messages or uploaded files are needed for context.
The chat should support uploading text, markdown, and images, then use the content from those files when answering. For images, extract the text so the AI can understand screenshots or scanned notes. Add an optional web search mode for fresh information, and a DeepThink or researcher mode that gives longer, well structured answers with sources when web results are used.
Use Next.js with a clean chat interface, sidebar for previous chats, authentication, MongoDB for saved conversations, Groq for the main AI responses, Gemini Vision for image reading, and Tavily for search. Include environment variable setup and make sure it can run locally and be deployed to Vercel.
Want more depth? Deep Reverse