Skip to content

Add QR-generator app - #29

Open
ArneeMe wants to merge 1 commit into
masterfrom
claude/personal-homepage-improvements-hr6eld
Open

ArneeMe wants to merge 1 commit into
masterfrom
claude/personal-homepage-improvements-hr6eld

Conversation

@ArneeMe

@ArneeMe ArneeMe commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Adds a QR code generator to the Win95 desktop.

What it does

  • Type any text or URL and the QR code renders live (debounced 250ms), generated fully locally with the qrcode dependency already in the project — no data leaves the browser.
  • Options for size (128/192/256 px) and error-correction level (L/M/Q/H, Norwegian labels).
  • Lagre som PNG via the File menu or the button.
  • Edge cases handled: empty input shows a blank panel with save disabled; text exceeding QR capacity shows a friendly error instead of crashing.
  • Registered with a desktop icon, Start menu entry, and a magenta Metro tile on the mobile shell.

Verification

  • npm run build passes.
  • Playwright test in Chromium: opens the app, decodes the generated canvas with jsQR and confirms exact round-trips for the default URL and a custom string with ÆØÅ, verifies the disabled save state on empty input, and checks the mobile tile renders.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NkStC1oEE8bAJ2shHZRKRE


Generated by Claude Code

- Live QR rendering (debounced) via the existing qrcode dependency,
  with size and error-correction options and save-as-PNG
- Everything generated locally in the browser; graceful error state
  when the text exceeds QR capacity
- Desktop icon, Start menu entry, and mobile Metro tile
- Generated codes verified by decoding them with jsQR in the
  browser test

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NkStC1oEE8bAJ2shHZRKRE
@cloudflare-workers-and-pages

Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
arneeme 24b1ca7 Commit Preview URL

Branch Preview URL
Jul 15 2026, 03:43 PM

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants