Share small files from an offline source using only a QR code!
Imagine: You want to share a file with a friend nearby. You want to share from a source that does not have internet access - you just want to beam the file directly to your friend. This system lets you embed your file into a QR code that loads as an actual file download on your friend's device. Try it out here if you're feeling brave! The image that is downloaded by scanning this QR code is not hosted on any server, it only lives inside the QR code.
To generate one of these QR codes, you can either:
- use the web app (this can be saved to your computer to run offline).
- use the included python script.
- Install the dependencies using
pip install -r requirements.txt
- Run using
python generate_pr.py input_file.txt
. The QR code png will be generated with the same filename (+.png
) by default, or you can explicitly pass in an alternate output filename as a second argument.
- Install the dependencies using