How stillware/imgfetch works
ImgFetch is a Chrome/Edge extension for finding and downloading page images and capturing screenshots. The main workflow starts with a page scan or Smart Download, presents image choices in the popup, then validates and saves selections individually or as a ZIP. A separate screenshot workflow captures visible, selected, or full-page content; users can review parts, annotate or crop captures, and save or copy results. The graph includes documented capabilities whose implementation details were not sampled; those links cite the README rather than implying inspected call paths.
Main entry points: service-worker.js Extension worker · parts.js Parts review · popup.js Popup controls · scanner.js Page scanner
Components 20
Image discovery
- Popup controls
popup/popup.js - Page scanner
content/scanner.js - Scan overlay
content/overlay.js
Download processing
- Extension worker
background/service-worker.js - Source URL rules
core/urls.js - Download queue
core/queue.js - Format and ZIP export
offscreen/offscreen.js
Screenshot workflow
- Full-page planner
core/fullpage-capture.js - Capture storage rules
core/capture-storage.js - Capture database
background/idb.js - Parts review
pages/parts.js - Capture page
pages/capture.js - Screenshot editor
pages/annotate.js
Shared services
- Settings
core/settings.js - Settings interface
options/options.js - Capture access
shared/capture-io.js - Screenshot copying
shared/copy-shot.js - Download history
core/history.js
Other components
- User
- Web page
Connections 22
- User → Web page: chooses images
README.md - User → Popup controls: opens controls
README.md - Web page → Page scanner: scans page
README.md - Page scanner → Scan overlay: presents results
README.md - Popup controls → Extension worker: requests downloads
- Extension worker → Source URL rules: validates sources
background/service-worker.js - Extension worker → Download queue: tracks downloads
background/service-worker.js - Extension worker → Format and ZIP export: requests conversion
- Extension worker → Settings: reads settings
background/service-worker.js - User → Settings interface: configures preferences
README.md - Settings interface → Settings: updates settings
options/options.js - User → Capture page: starts capture
README.md - Extension worker → Full-page planner: plans full-page parts
background/service-worker.js - Extension worker → Capture storage rules: applies retention rules
background/service-worker.js - Extension worker → Capture database: stores captures
background/service-worker.js - Capture page → Parts review: reviews page parts
README.md - Parts review → Extension worker: saves or discards
pages/parts.js - Parts review → Capture access: loads capture data
pages/parts.js - Capture access → Capture database: reads capture records
shared/capture-io.js - Parts review → Screenshot editor: opens editor
pages/parts.js - Screenshot editor → Screenshot copying: copies screenshot
pages/annotate.js - Extension worker → Download history: records download history
background/service-worker.js