Skip to content

SinlinLi/airqr

Repository files navigation

AirQR

Air-gapped QR code generator & scanner.

All processing happens in-browser — no data ever leaves your device.

Try it now: https://sinlinli.github.io/airqr/

License: MIT GitHub stars Static Badge Static Badge

English | 简体中文 | 日本語 | 한국어


What It Does

  • Generate — Text/URL → QR code, auto-select minimal version (1–40), configurable error correction & module size
  • Scan — Real-time camera scanning + image upload decoding (drag & drop or click)
  • Split 3-Copy — Split scan results into 3 random segments for separate copying, reducing clipboard interception risk
  • Download — Export QR code as PNG
  • KeyboardCtrl/Cmd + Enter to generate

Why AirQR?

Most QR tools send your data to a server. AirQR doesn't — all processing stays in-browser, with CSP blocking all external connections at the protocol level.

Built for sensitive data: private keys, seed phrases, passwords, TOTP secrets, API tokens.

Security Model

Layer Protection
CSP default-src 'self' — blocks all external requests
No Storage No cookies, no localStorage, no analytics
Zero Remote Dependencies All libraries bundled locally, no CDN
Open Source Single HTML file, audit it yourself

Tip: Open in an incognito/private window to further isolate from browser extensions.

Split 3-Copy

Clipboard monitoring is a common attack — malware silently watches every copy operation, waiting for private keys or seed phrases.

Split 3-Copy randomly splits scan results into 3 segments (each at least 15%), so you paste them separately. Even if the clipboard is monitored, no single copy contains the full secret. Split boundaries are randomized each time.

Quick Start

Option 1: Just open it

Download and open index.html in any browser. Done.

Option 2: Self-host

# Python
python3 -m http.server 1234

# Docker
docker run -d -p 1234:80 -v $(pwd):/usr/share/nginx/html:ro nginx:alpine

# Node.js
npx serve -p 1234

Star History

Star History Chart

Credits

See also

  • Airbox — Browser-side RSA encryption tool

License

MIT

About

Secure, offline QR code generator. All data stays in your browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors