Skip to content

dasmehulkumar/QR-Code-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 QR Code Generator

A modern, minimal, and easy-to-use QR Code Generator built with Node.js and Express.
Generate QR codes from URLs instantly, preview them in the browser, download them, and keep a history — without using any third-party QR APIs.


🌟 Highlights

  • ✨ Clean & minimalist UI
  • ⚡ Instant QR generation
  • 📥 One-click QR download
  • 🗂️ Automatic QR image storage
  • 📝 URL history logging
  • 🧠 Beginner-friendly & easy to extend

🖼️ Demo Flow

  1. Enter any valid URL
  2. Click on Generate
  3. Preview the QR code
  4. Download it instantly

Simple. Fast. Reliable.


🛠️ Tech Stack

Layer Technology
Backend Node.js, Express
QR Engine qr-image
Frontend HTML, CSS, JavaScript
Storage Local File System

📂 Project Structure

qr-code-generator/
 ├── index.js
 ├── package.json
 ├── URL.txt
 ├── public/
 │    ├── index.html
 │    ├── style.css
 │    └── script.js

🚀 Getting Started

1️⃣ Install Dependencies

npm install

2️⃣ Run the Server

node index.js

3️⃣ Open in Browser

http://localhost:3000

📌 How It Works

  • QR codes are generated locally using Node.js
  • Each QR image is saved with a unique timestamp-based filename
  • All submitted URLs are appended line-by-line in URL.txt
  • Browser caching issues are avoided by design

📄 Generated Files

  • qr_<timestamp>.png → Generated QR codes
  • URL.txt → History of all entered URLs
https://google.com
https://github.com

🎯 Ideal For

  • 📘 Learning Node.js + frontend integration
  • 🎓 College projects & demonstrations
  • 🛠️ Utility tools
  • 🏁 Hackathons
  • 💼 Portfolio projects

🔮 Future Enhancements

  • 🎨 QR color & size customization
  • 🌙 Dark mode UI
  • 📜 QR history viewer
  • ⏱️ Timestamped URL logs
  • 🧹 Automatic cleanup of old QR files

🤝 Contributing

Contributions, suggestions, and improvements are always welcome.
Feel free to fork the repository and submit a pull request.


📜 License

This project is open-source and free to use for learning and personal projects.


⭐ If you found this project helpful, consider giving it a star!

About

A lightweight QR Code Generator built with Node.js and Express that instantly converts URLs into downloadable QR codes without relying on external APIs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors