I recently created a tool in vanilla javascript called QRFileTransfer , which allows to transfer a file from a computer to another over QR code encoding/decoding, just putting the two device cameras in front of each other ( so all offline )
The principle behind is that I split the file in binary chunks, encode them as qr code, let the receiver decode them and collect the sequence of binary chunks and, at the end, merge them, and that generates the file on the receiver device.
Based on the chunk size, the qr code image matrix will be more or less “complex”, and you may check also what’s the max supported size for a qr code as a standard.
Link live test: https://lucaiaco.github.io/QRFileTransfer/
Link source: https://github.com/LucaIaco/QRFileTransfer
Dependencies: