GitHunt
KA

kacf/QR-Generator

โšก Modern, high-performance QR Code Generator (URL & UPI) built with Vanilla JS. Features Glassmorphism UI, Dark Mode, and zero dependencies. Perfect for lightweight payment integration. ๐Ÿš€

QR-Gen

A clean, modern QR code generator built with vanilla HTML, CSS, and JavaScript. Generate QR codes for any URL or UPI payment โ€” no frameworks, no dependencies, no bloat.

Dark Theme
Vanilla JS
Deploy

Features

  • Paste any URL โ€” websites, Google Drive, YouTube, social media links
  • Add an optional label for context
  • Download as PNG or copy the link

๐Ÿ’ณ UPI QR

  • Generate payment QR codes with UPI ID and payee name
  • Fixed or any amount toggle
  • Expiration date with no-expiry option
  • Transaction note support
  • Download QR or copy the upi://pay deep link

๐ŸŽจ Design

  • Premium dark theme with glassmorphism and ambient glow effects
  • Smooth micro-animations and transitions
  • Fully responsive โ€” works on mobile and desktop
  • Custom toggle switches, styled inputs, toast notifications

Tech Stack

Layer Tech
Structure HTML5
Styling Vanilla CSS (custom properties, animations)
Logic Vanilla JavaScript (ES6+)
QR Engine qrcode.js via CDN
Fonts Inter, JetBrains Mono

Quick Start

# Clone the repo
git clone https://github.com/kacf/qr-generator.git
cd qr-gen

# Open in browser
# Windows
start index.html

# macOS
open index.html

# Linux
xdg-open index.html

No build step. No npm install. Just open the file.

Deploy to Vercel

# Install Vercel CLI
npm i -g vercel

# Deploy
vercel

The included vercel.json handles static file serving automatically.

Project Structure

qr-gen/
โ”œโ”€โ”€ index.html      # Page structure and layout
โ”œโ”€โ”€ style.css       # Dark theme, animations, responsive design
โ”œโ”€โ”€ app.js          # QR generation, validation, UI logic
โ”œโ”€โ”€ vercel.json     # Vercel deployment config
โ”œโ”€โ”€ package.json    # Project metadata
โ””โ”€โ”€ README.md

License

MIT

Languages

CSS38.0%HTML32.0%JavaScript30.0%

Contributors

MIT License
Created February 21, 2026
Updated February 21, 2026