Madhaveshwar/AI-summarizer — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a beginner friendly AI content summarizer web app. I want to paste text, upload a PDF or txt file, or enter a website link, then get a clear summary back using Groq.

The user should be able to choose whether the summary is short, detailed, or in bullet points. They should also be able to pick the tone, like professional, simple, academic, or casual. Show useful stats like word count, character count, and how much shorter the summary is compared with the original.

Please make the interface clean, modern, and easy to use in Streamlit. Include buttons to generate the summary, clear everything, copy the result, and download the summary as a txt file. Handle errors nicely, like missing API key, empty input, bad PDF, or a website that cannot be read.

Use environment variables for the Groq API key and include a sample env file. Look up current docs online if needed.

Want more depth? Deep Reverse