Skip to content

A web-based QR code attendance tracking system built with Vanilla JavaScript, HTML, and CSS. It allows scanning of QR codes via camera or image upload, logs attendance with timestamps, and provides an option to download the attendance list as an Excel file.

Notifications You must be signed in to change notification settings

Mooyi07/GIS-Attend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

QR Code Attendance System (Vanilla JS)

A browser-based QR Code Attendance System built using vanilla JavaScript, HTML, and CSS β€” no Node.js or backend setup required.
Supports camera-based scanning and image uploads, records attendance with timestamps, and exports the data to Excel.

πŸ“Œ Features

  • QR Code Generation β€” Generate QR codes for given text/links.
  • QR Code Scanning β€” Supports live camera feed or uploaded images.
  • Multi-Camera Support β€” Select from available devices.
  • Attendance Logging β€” Records each scan with:
    • Timestamp
    • LRN (Learning Reference Number)
    • Student Name
  • Duplicate Prevention β€” Scans are only recorded once per student.
  • Excel Export β€” Download attendance records as .xlsx.

πŸ›  Tech Stack

  • HTML5
  • CSS3
  • JavaScript (Vanilla)
  • jsQR β€” QR code decoding
  • QRCode.js β€” QR code generation
  • SheetJS β€” Excel file generation

πŸ“‚ Project Structure

πŸ“¦ qr-attendance
β”œβ”€β”€ index.html        # Main HTML file
β”œβ”€β”€ styles.css        # Styling
β”œβ”€β”€ script.js         # Main JS logic
β”œβ”€β”€ qrcode.js         # QR code generation library
β”œβ”€β”€ jsQR.js           # QR decoding library
β”œβ”€β”€ xlsx.full.min.js  # SheetJS library for Excel export
└── README.md         # Documentation

πŸš€ How to Run

  1. Clone or download this repository.
  2. Open index.html in a browser.

    ⚠️ For camera access, use https or http://localhost (some browsers block cameras on file://).

  3. Click Start Camera or Upload Image to scan a QR code.
  4. Attendance will be logged and can be downloaded as Excel.

πŸ“Έ Screenshots

(Add screenshots of your UI here)

πŸ“œ License

This project is for demonstration and educational purposes. Modify freely for personal or educational use.

About

A web-based QR code attendance tracking system built with Vanilla JavaScript, HTML, and CSS. It allows scanning of QR codes via camera or image upload, logs attendance with timestamps, and provides an option to download the attendance list as an Excel file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages