qrget

command module
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2018 License: BSD-3-Clause Imports: 15 Imported by: 0

README

qrget travis Go Report Card

Simple PC/Laptop phone/tablet download tool using QR Codes and HTTP protocol. No external tools on your mobile device are needed, no setup of Bluetooth or missing NFC (I am watching you Xiaomi) or USB cables required.

Warning: qrcode is in development mode, works only on Linux (rely on sysfs to find wlan card). Please be patient, send issues or send pull requests (it is BSD licensed)

How it works

      ._________________.                 FILE               .__________________.   
      |.---------------.|   ---------------------------->    |.----------------.|   
      ||     .____.    ||             .________.             ||         .:'    ||             
      ||     | QR |    ||   FILE      |.------.|             ||     __ :'__    ||             
      ||     |code|    ||   ---->     || AN   ||             ||  .'`__`-'__``. ||             
      ||     |____|    ||             || DRO  ||             || :__________.-' ||             
      ||_______________||             || ID   ||             || :_________:    ||             
      /.-.-.-.-.-.-.-.-.\             ||      ||             ||  :_________`-; ||             
     /.-.-.-.-.-.-.-.-.-.\            ||______||             jgs  `.__.-.__.'  ||
    /.-.-.-.-.-.-.-.-.-.-.\           .--------.             ||________________||
   /______/__________\___o_\ DrS        Phone +              ||      |   |     ||
   \_______________________/            Camera               .------------------.
         Desktop/Laptop                                         Tables + camera          
                                           ^
                                           |
              ^                    \       |      /                   ^
              |                     \      |     /                    |
              |                      \     |    /                     |
              |                     __\____|___/__                    |
              .--------------      /__o__o__o__o__\     --------------.
                                   \______________/
                                          WiFi
  1. Your phone/tablet MUST be connected to same WiFi as Laptop
  2. Your phone/tablet MUST have camera
  3. Your phone/tablet MUST have QR code Reader
  4. You run application go run main.go
  5. You open QR Code download.png
  6. Use QR Code Reader on your mobile device to download the file

How it works really

It is stupid simple. qrcode generates and encodes URL to download the file with WLAN address of main computer and run HTTP server serving that file. QR Code reader decodes URL and open web browser to download the file.

  1. Run qrget
./qrget README.md
  1. It shows QQ code

QR code

  1. You open it using your phone and download

Download

Credits

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL