How narenkram/steadfast-extension works
This browser extension captures the visible tab and extracts BANKNIFTY option details from the screenshot. The user starts capture in the popup; the background listener obtains the screenshot, which the popup sends to OCR, parses, and displays. The sampled files show this workflow, but not the manifest configuration or the contents of the other repository files.
Main entry points: popup.js Capture popup · background.js Tab capture handler
Components 7
Extension workflow
- Capture popup
popup.js - Tab capture handler
background.js
Text processing
- Tesseract OCR
- Option parser
popup.js - Result display
popup.js
Other components
- User
- Active tab
Connections 7
- User → Capture popup: clicks capture
popup.js - Capture popup → Tab capture handler: requests capture
popup.js - Tab capture handler → Active tab: captures screenshot
background.js - Tab capture handler → Capture popup: returns image
background.js - Capture popup → Tesseract OCR: recognizes image
popup.js - Tesseract OCR → Option parser: provides text
popup.js - Option parser → Result display: provides extracted data
popup.js