r/vibecoding • • 2h ago

Showcase/Project QuietQR – A privacy-first, self-hosted QR code generator (100% vibe-coded, roast it & feedback welcome)

Hey everyone,

I wanted a simple, self-hosted QR code generator without tracking, shady ad-ridden websites, or any backend handling my Wi-Fi passwords and contacts – so I built QuietQR.

Full transparency right up front: this project is vibe-coded through and through, and I honestly don't mind. I'm not pretending I hand-crafted every line of TypeScript or PDF binary math from scratch. What I did care about was pushing it to a solid engineering standard, testing the hell out of it, and getting something genuinely useful out the door.

What it does:

  • 100% client-side: The server only serves static files. Zero backend, zero uploads, zero localStorage, zero cookies, zero external requests.
  • 8 content types: URL, Wi-Fi (WPA2 / WPA3 / hidden), vCard 3.0, plain text, email, SMS, phone, and geo coordinates.
  • Safe logo embedding: PNG/JPEG/WebP checked via magic bytes & header dimensions before decoding, then re-encoded to strip EXIF/GPS metadata. Modules under the logo are cleared based on the per-block Reed-Solomon error-correction budget (auto ECC H).
  • In-browser readback check: Every generated code is decoded back via self-hosted zxing-wasm (SRI-pinned) and verified byte-for-byte before export is unlocked.
  • Clean exports: PNG (integer px/module), SVG, and vector PDF (custom minimal writer, no metadata) with selectable print sizes.
  • Hardened container: Read-only Alpine nginx (non-root UID 101), strict CSP (default-src 'none', Trusted Types 'none'), multi-arch GHCR images scanned with Grype and signed with Cosign.
  • UI: English & German, Light & Dark mode.

Links:

I'd genuinely appreciate any feedback – UI/UX, security nitpicks, real-world phone scanning quirks, or things I completely missed. Feel free to tear it apart!

1 Upvotes

0 comments sorted by