How mansi-upadhyay-12/ai-powered-summarizer works
The README describes a single-page summarizer supporting plain text, YouTube transcripts, and PDFs, with selectable summary detail. It documents client-side extraction, a serverless Groq request, and rendering in the UI. The supplied file tree omits the documented src/ and api/ files, so those nodes have null paths; relationships below are based on README statements, not inspected implementation excerpts.
Components 11
Input handling
- Plain text input
- YouTube input
- Transcript fetch
- PDF extraction
Summarization app
- React frontend
- Length selection
- Summarize function
- Summary renderer
External services
- Groq API
- Transcript API
Other components
- User
Connections 12
- User → React frontend: submits input
README.md - React frontend → Plain text input: accepts text
README.md - React frontend → YouTube input: accepts URL
README.md - YouTube input → Transcript fetch: fetches captions
README.md - Transcript fetch → Transcript API: requests transcript
README.md - React frontend → PDF extraction: extracts text
README.md - User → Length selection: selects length
README.md - React frontend → Summarize function: posts input
README.md - Summarize function → Groq API: forwards request
README.md - Groq API → Summarize function: returns summary
README.md - Summarize function → React frontend: returns response
README.md - React frontend → Summary renderer: renders summary
README.md