cereallarceny
Show HN: Flipbook v0.2 – OSS library for animated QR codes of infinite size
https://github.com/cereallarceny/flipbook/releases/tag/%40flipbookqr%2Fwriter%400.2.0
"Flipbooks" are a superset of QR codes in the form of an animated GIF. This allows for digital information of any size to be transferred without the need for an internet connection. Flipbooks can be used to download apps, music, movies, rich-text, and more.The latest release of Flipbook (v 0.2.x) has improved performance in both write (1100% increase) and read (100% increase) speed. It also...
- Writer: 100 characters - 20 ops/sec, 1k characters - 11 op/sec - Reader: 100 characters - 15 ops/sec, 1k characters - 6 ops/sec
That's a 233%-1,100% increase in write speed, and a 50%-100% increase in read speed.
I'm also adding support for export to both canvas and GIF, as well as an estimated package bundle decrease of more than 300%.
For the current Typescript version, I'm getting the following on Node 20 with my M1 Max MBP (64g RAM):
- Writer: 100 characters - 6 ops/sec, 1k characters - 1 op/sec - Reader: 100 characters - 10 ops/sec, 1k characters - 3 ops/sec
Again, those are preliminary and entire Node-based figures on a fairly-recent MBP. I'd expect significant performance improvements with both a Rust port as well as running the existing Typescript library through the Bun runtime.
So yeah - your point is completely valid, but adoption has to start somewhere. Thanks for checking out the project!
That way you could always keep the menu up to date, and actually have the ability to order food directly from an app that runs locally on the device. That app, the menu, and all related functionality could be completely self-contained in the QR code itself.