How bcancapar-spec/avukat-dosya-indirici works
Avukat Dosya İndirici is a Chrome extension that lists and downloads UYAP case documents for the user, with filtering, retry/resume, individual or merged output, and failure reports. The workflow starts in the popup, gathers portal-specific document records, downloads each selected document through the page context, and saves files locally; optional merge and report generation use the background and offscreen contexts. The README documents both portal paths, while source excerpts show the main coordination and output layers. Some manifest wiring and unsampled implementation details are not shown, so uncertain links are omitted.
Main entry points: content.js Download coordinator · offscreen.js PDF processing · main-list.js Document listing · popup.js Popup controls
Components 12
User interface
- Popup controls
popup.js
Portal integration
- Request interceptor
inject.js - Document listing
main-list.js
Download workflow
- Download coordinator
content.js - Extension background
background.js - Resume state
Local output
- Chrome downloads
- PDF processing
offscreen.js - TIFF decoder
utif.js
Other components
- Extension user
- UYAP portals
- PDF library
Connections 14
- Extension user → Popup controls: opens
README.md - Popup controls → Document listing: requests list
popup.js - Popup controls → Download coordinator: starts download
popup.js - UYAP portals → Request interceptor: sends requests
README.md - Request interceptor → Document listing: provides captured data
inject.js - Document listing → UYAP portals: reads lists and documents
README.md - Download coordinator → Document listing: bridges document fetch
content.js - Download coordinator → Extension background: requests file output
content.js - Download coordinator → Resume state: saves resume progress
content.js - Extension background → Chrome downloads: saves files
background.js - Extension background → PDF processing: dispatches PDF work
background.js - PDF processing → TIFF decoder: decodes TIFF
offscreen.js - PDF processing → PDF library: uses PDF tools
offscreen.js - PDF processing → Chrome downloads: returns merged PDF