Skip to content

feat: export QR sequences as animated GIF - #27

Merged
LittleSound merged 10 commits into
qifi-dev:mainfrom
Reality361:main
Sep 17, 2026
Merged

LittleSound merged 10 commits into
qifi-dev:mainfrom
Reality361:main

Conversation

@Reality361

@Reality361 Reality361 commented Aug 9, 2026 •

Copy link
Copy Markdown
Contributor

Export file-transfer QR sequences as animated GIFs from the Send page. Users can choose a block-count multiplier (1.5× by default, with 2× and 3× presets) or an exact positive frame count, with no arbitrary frame-count cap. The panel shows the effective count, ratio, duration, progress, and cancellation controls.

The GIF encoder loads on demand and renders crisp black-and-white QR pixels. Export uses a separate fountain encoder, pauses the live stream, and verifies that the exact exported blocks restore the input bytes before downloading. An insufficient sequence prompts the user to increase the count. Cancellation, transfer changes, and unmounting prevent a late download.

The diff is limited to GIF export. Camera behavior, file-metadata encoding, repository links, deployment configuration, and unrelated dependency versions remain unchanged.

Validation:

  • pnpm install --frozen-lockfile
  • pnpm run lint --fix
  • pnpm run typecheck (after workspace stubs)
  • pnpm run generate
  • 17 GIF tests pass, covering frame-count modes, pixel rendering, recovery failure, and cancellation.
  • Additional local round-trip verification decoded all 60 frames of an actual generated GIF, recognized their QR payloads, and restored the input byte-for-byte.
  • Full test suite has a pre-existing test/slicing.test.ts binary-slice snapshot failure (expected 24, actual 23), reproduced independently on unchanged main at 76169dd. It is not changed in this PR.

@netlify

netlify Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for qrss ready!

Name Link
🔨 Latest commit db5f0ed
🔍 Latest deploy log https://app.netlify.com/projects/qrss/deploys/6aabf7ed64f75e000860b700
😎 Deploy Preview https://deploy-preview-27--qrss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@LittleSound
LittleSound merged commit f3584e5 into qifi-dev:main Sep 17, 2026
4 checks passed
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