Skip to content

Share small files from an offline source using only a QR code

License

Notifications You must be signed in to change notification settings

dupontgu/qr-file-share

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qr-file-share

Share small files from an offline source using only a QR code!

Why?

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.

QR code with file embedded

Usage

To generate one of these QR codes, you can either:

  1. use the web app (this can be saved to your computer to run offline).
  2. use the included python script.
    1. Install the dependencies using pip install -r requirements.txt
    2. 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.

About

Share small files from an offline source using only a QR code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages