News for hackers. Stuff that matters.
Re:Show HN: If you lose your memory, how to regain access to... by eljojo on Saturday February 07, 2026 @08:01AM (#46923509)
hey, this is a great idea! I'll link into your app from my readme. I really like that the PDF contains the entire dataset, not just the keys. I see lots of little details around organizing the PDFs, like document hashes, etc, very nice job!

Since you wrote it in Rust, I'd suggest compiling it to wasm and releasing a browser-based version

Re:Show HN: If you lose your memory, how to regain access to... by cyphar on Saturday February 07, 2026 @05:23PM (#46928793)
> Since you wrote it in Rust, I'd suggest compiling it to wasm and releasing a browser-based version

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).

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.

[1]: https://docs.rs/hayro/latest/hayro/