Repository navigation
feat: one random child per load, poster QR code with UTM tags - #1
Merged
Merged
Conversation
Replace the printed poster URL with a scannable QR code so a passerby can take the case with them. The encoded link carries utm_source, utm_medium=qr and utm_campaign so NCMEC can see the traffic. Uses qrcode-generator (same as rss-reader) at error correction L with a 92px size floor, so it still decodes on the 800x480 panel. Portrait and short-landscape spacing tightened to keep the hotline band on screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
The lockfile was written by a newer Bun as lockfileVersion 2, which the Bun 1.3.14 that CI pins cannot parse, so `bun install --frozen-lockfile` failed before any check ran. Regenerated with 1.3.14 (lockfileVersion 1); the only resolution changes are two transitive patch bumps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
Make the app single-shot like quotes and on-this-day: each page load fetches page 1 of the NCMEC search (for totalPages), then one random page, and shows one child from it at random, preferring a case with a photo. No rotation loop and no refresh timer; the player's reload brings the next child. Drops the stepSeconds setting, the counter and the manifest's playback block. Searching every page surfaced NCMEC's unidentified-persons records (prefix NCMU, deceased "John Doe" cases), which are not missing children. toChild now drops them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: multica-agent <github@multica.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
?utm_source=missing-children&utm_medium=qr&utm_campaign=missing-child-poster.quotesandon-this-day, instead of rotating through a list. There's no rotation loop and no refresh timer: the player's reload brings the next child. ThestepSecondssetting, the1 / 20counter and the manifest'splaybackblock are gone.NCMU, deceased "John Doe" cases) are no longer shown.bun.lockis regenerated with the pinned Bun 1.3.14. It had been written aslockfileVersion: 2, which 1.3.14 can't read.How the random pick works
totalPages.Every open case gets screen time, not just the newest 20. If the random page fails, the pick comes from page 1. If page 1 also fails, or the filter has no open cases, the standing hotline appeal stays up.
Searching every page is what surfaced the
NCMUrecords. They come from the same search with no other field marking them, sotoChilddrops them by prefix.The QR code is built with
qrcode-generator, as inrss-reader. It uses error correctionLand a 92px minimum size so it still decodes on an 800x480 panel.Verification
🤖 Generated with Claude Code