Skip to content

feat: add drag-and-drop screenshot URL scanner with OCR#175

Open
riyanshigupta890-cloud wants to merge 2 commits into
Mrinalray:mainfrom
riyanshigupta890-cloud:feature/screenshot-url-scanner
Open

feat: add drag-and-drop screenshot URL scanner with OCR#175
riyanshigupta890-cloud wants to merge 2 commits into
Mrinalray:mainfrom
riyanshigupta890-cloud:feature/screenshot-url-scanner

Conversation

@riyanshigupta890-cloud

Copy link
Copy Markdown
Contributor

Closes #118

Summary

Adds a drag-and-drop screenshot upload that extracts URLs via client-side OCR (Tesseract.js) and feeds them into the existing scan pipeline.

Changes

  • New drop zone UI in index.html / style.css
  • OCR + URL extraction logic in script.js
  • No server.js or package.json changes — Tesseract.js loaded via CDN, fully client-side
  • README updated with feature docs

Testing

  • Tested drag-and-drop and click-to-upload on [browsers you tested]
  • Verified extraction on screenshots with plain text URLs and URLs with paths/query params
  • Confirmed existing manual URL scan flow (checkSecurity()) is unaffected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL Screenshot Scanner Upload

1 participant