Qrbie (QR + freebie) is a free, browser-first QR code generator. Paste a URL (or deep-link with ?url=), preview a scannable code with the site favicon, and download a PNG. No account. No upload of your link to generate the QR.
Live demo: https://qrbie.netlify.app/
- URL → PNG: Generate a 512×512 QR code in the browser
- Live preview: Updates as you type (debounced)
- Smart URL handling: Adds
https://when the protocol is missing - Deep linking: Open
/?url=...from another app to prefill and show a download modal - Download counter: Tracks PNG downloads (local API in development, Netlify Functions + Blobs in production)
- Privacy-friendly generation: QR rendering stays on the client; only download counts hit the stats API
- Accessible motion: GSAP animations respect
prefers-reduced-motion
| Layer | Tools |
|---|---|
| UI | React 19, TypeScript, Vite |
| QR | qrcode |
| Animation | GSAP + @gsap/react, ScrollTrigger |
| Local stats API | Hono + JSON file store |
| Production stats | Netlify Functions + Netlify Blobs |
Requirements: Node.js 18+ (20+ recommended), npm.
git clone https://github.com/Lakesxo/free-qrcode-generator.git
cd free-qrcode-generator
npm install
npm run devThen open the URL Vite prints (usually http://localhost:5173).
npm run dev starts:
- Vite: the React app
- Local stats API:
http://localhost:8787(proxied as/apiby Vite)
http://localhost:5173/?url=https%3A%2F%2Fexample.com
| Command | Description |
|---|---|
npm run dev |
Vite + local Hono stats API (recommended for day-to-day work) |
npm run dev:web |
Vite only |
npm run dev:api |
Local stats API only |
npm run dev:netlify |
Netlify Dev (Vite + Functions as in production) |
npm run build |
Typecheck + production build → dist/ |
npm run preview |
Preview the production build |
npm run lint |
ESLint |
npm run start:api |
Run the local stats API (same as production-style Node server) |
Your product can send users here with a target URL already set.
| Item | Value |
|---|---|
| Query param | url (canonical) |
| Encoding | encodeURIComponent(targetUrl) |
| Example | https://qrbie.netlify.app/?url=https%3A%2F%2Fexample.com%2Fpath |
| Input | Result |
|---|---|
Valid url |
Hero input prefilled, QR generated immediately, modal with preview + Download PNG |
Invalid url |
No modal; raw value prefilled so the user can fix it |
Missing url |
Normal homepage |
const target = "https://example.com/invite/abc";
const qrbie = "https://qrbie.netlify.app/";
window.location.href = `${qrbie}?url=${encodeURIComponent(target)}`;├── netlify/
│ └── functions/ # Production stats API (Blobs)
├── server/ # Local Hono stats API
├── src/
│ ├── components/ # UI (Hero, QrPreview, DeepLinkQrModal, …)
│ ├── context/ # Stats provider
│ ├── hooks/ # useQrCode, useUrlValidation, useQrDownload, …
│ ├── lib/ # qr.ts, deepLink.ts, stats.ts
│ └── styles/ # Design tokens
├── data/ # Local stats file (gitignored contents)
├── netlify.toml
└── package.json
Contributions are welcome: bug fixes, docs, accessibility, and focused features.
git clone https://github.com/<your-username>/free-qrcode-generator.git
cd free-qrcode-generator
git checkout -b feat/your-change
npm install
npm run dev- Prefer one concern per PR (feature, fix, or docs).
- Match existing patterns: TypeScript, CSS next to components, GSAP via
useGSAPwith a scope. - Keep the current premium visual direction unless the PR is intentionally about redesign or accessibility.
- Don’t commit secrets, local
data/stats.json, ordist/.
Run:
npm run lint
npm run buildBoth must pass.
Then manually smoke-test the flows your change could affect (at minimum the core path if you touched QR, UI, deep link, or stats):
- Paste a valid URL → preview updates (favicon branding when the favicon API is up)
- Download PNG works
- Invalid URL shows an inline error (no crash)
- Deep link
/?url=https%3A%2F%2Fexample.comopens the modal when valid - Counter updates after download when the stats API is running (
npm run dev)
PRs should be small enough to review. In the PR description, include:
- Summary: what changed and why (link the issue if there is one).
- Test plan: paste the checklist above and mark what you ran. Note anything you skipped and why.
- Proof
- UI changes: before/after screenshots, or a short screen recording (desktop and/or mobile as relevant).
- QR / download / deep-link behavior: screenshot of the preview or modal, and confirm download still produces a scannable PNG.
- API / stats / favicon proxy: note the exact requests you hit (e.g.
GET /api/stats,GET /api/favicon?domain=…) and the result. - Docs-only: no screenshots required; say which sections you updated.
- Risk / notes: anything reviewers should watch for (breaking deep-link contract, Netlify-only behavior, etc.).
PRs missing a test plan or proof for behavioral/UI changes may be asked to update before review.
Open an issue first for larger ideas. Good starting points:
- Accessibility and keyboard polish
- Tests for URL validation / deep-link parsing
- SVG export, colors, or error-correction options
- Docs and examples for more host platforms
- QR generation runs in the browser; the target URL is not sent to a server to create the code.
- Download counting only records that a download happened (a number). It does not store the URL you encoded.
Built by Ridwan Ajanaku.
This project is licensed under the MIT License.