An open API service indexing awesome lists of open source software.

https://github.com/denisecase/qr-gen

Generates a QR code for a given URL.
https://github.com/denisecase/qr-gen

gh-pages html5 qrcode-generator

Last synced: 2 months ago
JSON representation

Generates a QR code for a given URL.

Awesome Lists containing this project

README

          

# QR Code Generator (Static, Client-Side)

[![GitHub Pages](https://img.shields.io/badge/demo-live-blue)](https://denisecase.github.io/qr-gen/)
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Links](https://github.com/denisecase/qr-gen/actions/workflows/links.yml/badge.svg?branch=main)](https://github.com/denisecase/qr-gen/actions/workflows/links.yml)
[![Dependabot](https://img.shields.io/badge/Dependabot-enabled-brightgreen.svg)](https://github.com/denisecase/qr-gen/security)

This repository provides a **fast, static, client-side QR code generator**
that runs entirely in the browser and is hosted on **GitHub Pages**.

> **Generates a QR code for a given URL.**

No server, no backend, no tracking, no uploads.

## Try It

[![QR code linking to this site](qr-preview.png)](https://denisecase.github.io/qr-gen/)

[https://denisecase.github.io/qr-gen/](https://denisecase.github.io/qr-gen/)

## Generate QR Code

1. Enter a URL (for example: `https://denisecase.github.io/qr-gen/`)
2. Click **Generate**
3. Download the QR code image

## Hosted with GitHub Pages

This app is hosted using GitHub Pages.
Repository configuration:

1. Repository **Settings** / **Pages**
2. Source:
- Deploy from a branch
- Branch: `main`
- Folder: `/ (root)`
3. Save

## Features

- Input: any URL or text
- Error correction levels: L, M, Q, H
- Multiple output sizes (PNG)
- Downloadable QR image
- Optional prefill via query string

## Privacy and Security

- All processing happens locally in the browser
- No data is sent anywhere
- No cookies
- No user tracking
- Uses a public CDN only for QR rendering

## License

[MIT](./LICENSE)

## Acknowledgments

Uses [qrcodejs](https://github.com/davidshimjs/qrcodejs), a lightweight client-side QR code generation library.