Skip to content

ulvi05/scanitup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📷 ScanItUp - QR Code Scanner

A modern QR Code Scanner built with React that uses your device's camera to detect and decode QR codes in real time.
It features a sleek UI, live webcam preview, automatic link detection, and toast notifications.


🚀 Features

  • 🎥 Live Camera Preview (uses the back camera if available)
  • 🔍 QR Code Detection powered by jsQR
  • 📋 Copy to Clipboard functionality
  • 🌐 Auto-open links when QR content is a URL
  • 🔔 Toast Notifications using react-toastify
  • 🎨 Modern UI built with Tailwind CSS

🛠️ Technologies Used

Technology Purpose
React Frontend framework
jsQR QR decoding logic
react-webcam Access device camera
react-toastify Toast notifications
Tailwind CSS Styling and layout

📦 Installation

1️⃣ Install dependencies

npm install

or

yarn install

▶️ Run the app

npm run dev

🧩 Key Components

QrScanner.jsx

Handles camera feed and QR detection

Uses jsQR to decode images

Displays decoded data

Includes Copy, Go to Link, and Rescan buttons

WebcamCapture.jsx

Manages the webcam view using react-webcam

Captures images every 700ms while scanning is active


📱 Screenshot (example)

The UI shows a live camera feed with an animated green scanning frame, decoded QR text, and control buttons.


⚠️ Notes

  • Camera permissions must be granted by the user.
  • Works only over HTTPS or localhost (browser security policy).
  • Automatically selects the rear camera on mobile devices.

📄 License

This project is licensed under the MIT License. You’re free to use, modify, and distribute it.


Developed by: Ulvi Aghazade 💻

About

A real-time QR code scanner built with React — live camera feed, instant decoding via jsQR, auto-link detection, and clipboard copy in a clean Tailwind UI.

Topics

Resources

Stars

Watchers

Forks

Contributors