Re:Show HN: If you lose your memory, how to regain access to...
by eljojo on Monday February 09, 2026 @01:32AM
(#46942195)
use the webcam, you put the QR in front of the webcam, there has to be a library for this
Re:Show HN: If you lose your memory, how to regain access to...
by cyphar on Monday February 09, 2026 @08:27PM
(#46954138)
Actually, after my comment I took another look and it turns out that only a few months ago someone released a pure-Rust PDF renderer called hayro[1] that seems to fit exactly what I need, so I will work on finishing this bit of paperback as soon as I have some spare time. Pure image scanning (with a webcam, phone camera, or uploading a photo) will also work since QR code scanning libraries like rqrr support scanning all QR codes in an image.
That was my eventual plan for having a single GUI for everything, the only problem is that there isn't a really obvious way to support scanning a PDF you upload -- basically you need a pure-Rust PDF renderer and there isn't one up to the task as far as I could tell. On mobile you could scan each QR code separately (though doing this from a webapp is probably going to be a fairly awful UX and most people would prefer to photograph the whole document and get everything scanned automatically).