How samu4803/pesu_slides_extractor works
This Chrome extension finds slide documents on the active PES Academy course page, then lets the user download them individually or together, or merge PDFs into one file. The principal flow runs from the popup through the content script’s page scan and link lookup, back to popup actions. The README documents the download-and-merge goal; source excerpts clarify these stages and their ownership.
Main entry points: popup.js Popup controller · content.js Page scanner · index.html Popup UI
Components 11
Page discovery
- Page scanner
content.js - Extracted slide links
content.js
Popup workflow
- Popup UI
index.html - Popup controller
popup.js - Download list
popup.js
File output
- PDFLib
- Merged PDF
popup.js
Other components
- Student
- PES course page
- PES document service
- Browser downloads
Connections 12
- Student → Popup UI: opens
- Popup controller → Page scanner: messages
- Page scanner → PES course page: reads page
- Page scanner → PES document service: requests links
- Page scanner → Extracted slide links: extracts
- Page scanner → Popup controller: returns links
- Popup controller → Download list: renders
- Popup controller → PES document service: fetches files
- Popup controller → Browser downloads: triggers downloads
- Popup controller → PDFLib: loads and merges
- PDFLib → Merged PDF: serializes
- Popup controller → Browser downloads: downloads merged PDF