kowsiganMV/MatAI — reverse-engineered prompt
Reverse engineered prompt
Build me a simple web app called MatAI that helps students understand math problems. A user should be able to type a question like solving an equation, differentiating, integrating, finding a limit, geometry, or a word problem, then get a clear step by step explanation in the browser.
I also want it to use an AI model through Groq to understand the user’s question and generate helpful math explanations. When it makes sense, it should create a visual or animated explanation using Manim, then show the rendered video or graph on the page. Keep the interface clean and beginner friendly, with one main input box, a solve button, loading feedback, and a results area.
Please make it runnable as a Flask app, with normal templates and static files, and set it up so it can work on Replit. Include any setup notes and environment variable handling for the Groq API key. Look up current docs online if you need to.
Want more depth? Deep Reverse