Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

QR Code Generator

A dead simple, single-file QR code generator. Everything runs client-side in the browser — nothing you type is ever uploaded anywhere.

Features

  • Generate a QR code from any text or URL, live as you type
  • Adjustable size, quiet zone (margin), and error correction level
  • Custom foreground/background colors
  • Download as PNG or SVG
  • Fully offline & self-contained — no CDN, no network requests, no tracking

Run locally

Just open index.html in a browser. No build step, no dependencies to install.

Or serve it with any static file server:

python3 -m http.server
# then visit http://localhost:8000

Deploy to GitHub Pages

  1. Push this repo to GitHub.
  2. Go to Settings → Pages.
  3. Under Build and deployment, set Source to Deploy from a branch.
  4. Pick your branch (e.g. main) and the / (root) folder, then Save.
  5. Your generator will be live at https://<username>.github.io/<repo>/.

How it works

QR matrix generation uses the tiny, vendored qrcode-generator library (qrcode-generator.min.js, ~20 KB). The canvas/SVG drawing, colors, and UI are plain HTML, CSS, and vanilla JavaScript in index.html. There are no build steps and no external requests.

Files

  • index.html — the entire app (UI + logic)
  • qrcode-generator.min.js — vendored QR library
  • README.md — this file

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages