Skip to content

Conversation

@sanchxt
Copy link
Owner

@sanchxt sanchxt commented Jan 11, 2026

Summary

Adds QR code generation and display for share codes across CLI and web interface.

Features:

  • QR codes encoding yoop://CODE deep links
  • ASCII QR display in CLI terminal
  • SVG QR rendering in web interface
  • Config toggle ui.show_qr (default: false)
  • /api/share/qr endpoint for direct SVG access

Status: Experimental feature disabled by default. Requires future mobile app to handle deep links.

Changes:

  • New qr module with ASCII, SVG, PNG generation (11 unit tests)
  • CLI integration via CodeBox
  • Web integration via ShareResponse
  • Documentation updates in README

Testing:

  • All 151 existing tests pass
  • 11 new QR-specific unit tests added
  • Zero clippy warnings

Implement QR code generation and display for share codes in both CLI and web interface. QR codes encode deep links (yoop://CODE) for future mobile app integration.

- Add qr module with ASCII, SVG, and PNG generation
- Display QR codes in CLI terminal output
- Render QR codes in web interface
- Add ui.show_qr config toggle (default: false)
- Add /api/share/qr endpoint for direct SVG access

QR codes are disabled by default as mobile app is not yet implemented.
@sanchxt sanchxt merged commit 36ab009 into main Jan 11, 2026
11 checks passed
@github-actions github-actions bot mentioned this pull request Jan 11, 2026
@sanchxt sanchxt deleted the feat/qr-code-support branch January 11, 2026 17:52
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