Skip to content

renuthomas/qr-code-snipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

QR Code Snipper - Chrome Extension

A lightweight Chrome extension to scan and read QR codes directly in your browser. Perfect for quickly decoding QR codes from images, screenshots, or web content β€” no external app needed.


✨ Features

πŸ” Scan and decode QR codes instantly from images.
πŸ–ΌοΈ Snip QR codes directly from a webpage or documents.
πŸ“‹ Copy decoded text, links, or data with one click.
🌐 Works offline β€” no server-side processing required.
🧩 Clean and minimal popup UI for quick access.


πŸŽ₯ Demo

Demo_Video.mp4

🧩 Installation

πŸ’» Manual Installation

  1. Clone or download the repository:

    git clone https://github.com/renuthomas/qr-code-snipper.git
    
  2. Open Chrome and go to chrome://extensions/.

  3. Enable Developer Mode (top right toggle).

  4. Click Load Unpacked and select the root folder of the extension.

The extension will now appear in your toolbar β€” ready to use! πŸš€

πŸ“– How to Use

  1. Click the QR Code Snipper icon in the toolbar.
  2. Upload an image with a QR code or let the extension detect QR codes on the current webpage.
  3. The decoded result (URL, text, or data) will appear in the popup.
  4. Copy or open the decoded content in a new tab with a single click.

πŸ“‚ Folder Structure

qr-code-snipper-extension/
β”œβ”€β”€ manifest.json           # Extension metadata
β”œβ”€β”€ popup.html              # Popup UI for scanning
β”œβ”€β”€ popup.js                # QR code scanning logic
β”œβ”€β”€ popup.css               # Popup styling
β”œβ”€β”€ background.js           # Background tasks
β”œβ”€β”€ snip.js                 # Snip the QR code
β”œβ”€β”€ jsQR.js                 # Read the QR code
β”œβ”€β”€ assets/                 # Extension icons

πŸ”‘ Permissions

This extension uses the following Chrome permissions:

  • activeTab – to temporarily access the current tab when the user clicks the extension.
  • tabs – to capture the screen of the current tab and retrieve metadata like title/URL.
  • storage – to store the history of scanned QR codes.
  • scripting – for injecting scripts if QR detection needs to run inside the page.

πŸ›  Development Notes

  • Built with Manifest V3.
  • Uses a lightweight JavaScript QR decoding library (jsQR).
  • Works fully offline for privacy and security.

πŸš€ Future Improvements

βœ… Drag-and-drop QR code images into the popup.

πŸ“€ Export decoded results as text or JSON.

🎨 Dark mode for the popup UI.

πŸ“Š Why Choose QR Code Snipper?

Here’s how QR Code Snipper compares to other popular Chrome QR code reader extensions:

Feature QR Code Reader for Google Chromeβ„’ QR Code Snipper βœ…
πŸ” How does it work ❌ Capture the entire web page for QR code βœ… Users can snip the QR code
🌐 Reads QR codes within documents ❌ Only via upload(should upload the image) βœ… Direct detection(by snipping)
πŸ”‘ Transparent open-source license ❌ Proprietary βœ… MIT + Apache 2.0 compliant

πŸš€ Result: QR Code Snipper is lighter, faster, and fully private β€” no data ever leaves your browser.

πŸ™ Credits & License

This extension uses the open-source library jsQR developed by cozmo.

  • QR Code Snipper is licensed under the MIT License (see LICENSE).
  • jsQR is licensed under the Apache License 2.0 (see LICENSE-jsQR).

About

A lightweight Chrome extension to scan and read QR codes directly in your browser.

Resources

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE-jsQR

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages