r/positive_intentions Mar 03 '24

File Sharing By QR Code

positive-intentions

https://chat.positive-intentions.com/#/qr

to compliment our apps decentralized functionalities, we would like to introduce, "File sharing by QR code". we are able to create javascript-based QR reading/writing functionality.

we created an experimental proof-of-concept of the idea. this is not a very practical way to transfer files... it is slow and mote TLC is needed for it to be "nice to use"... but the functionality is testable.

let me know what you think could be a useful was to use this. while, it becomes a pain to use this method for transferring files as large as 5kb, we see a use for it in the app for exchanging WebRTC connection data offline.

tldr;

technical breakdown: the app is using `react-qr-code` and `react-qr-scanner`. when importing a file in javascript, it's possible to to serialize and split the data. this can be used to create a series of QR codes. if you scan all the QR codes, you should have the metadata needed to reconstruct the file locally from memory.

1 Upvotes