WestXu / qrtransfer

Transfer your file from an air-gapped device to another, using only qrcode, no wifi/usb/bluetooth needed.
https://qrtransfer.westxu.com
11 stars 1 forks source link

Run if offline mode? #24

Open iuvi7 opened 2 days ago

iuvi7 commented 2 days ago

Hello! Can i run it offlinr mode? If yes - please, how?

I download Source code and run index.html - not works to scan to PC from my phone

Thanks!

WestXu commented 1 day ago

It's easy to use nativefier or Pake (didn't try) to make a offline version of this web app.

For example if you're new to code, in your terminal, run this:

npm install -g nativefier && nativefier "qrtransfer.westxu.com"

This will generate an exe or app file, which can run offline.

PR is welcomed since this project was built on dioxus, which supports native builds out of the box.

iuvi7 commented 1 day ago

Awesome, thank you! I will try!

iuvi7 commented 1 day ago

It worked with Pake on Windows! Great! No ideas how to make such thing on a Android so i can generate QR's offline too?

I could say it as proposal:

;)

WestXu commented 14 hours ago
  1. I have zero experience with Android, so you have to figure it out for yourself.
  2. There is a scroll toggle button in the bottom right corner of the QR page, you can use that to get something like an animation (maybe resize your browser window to only show 2 or 3 QRs at a time, and it loops). One of my friends once transferred a very large file using this, just pointing the camera to the right angle & size and leaving it overnight. Try it out and give me feedback.
  3. The info is only sent one way, so there is no way for the sender to know which QRs were scanned or not.

Haven't updated this repo in a couple of years. Just realized recently that there're quite some real people using it. May come back in the future to improve it when I have time. It's a fun project to work on. Wish you could give me PRs.

iuvi7 commented 6 hours ago

Sorry i was made a mess!

Pake and Nativefire surely done their work. Buuuut - when i reboot my PC and try to run it again - it does not work untill i enable internet connection and then disable it again after start of the interface :((

So it quite tuff to use it fully offline on airgapped machine without internet

P.s. Scroll also does not work for me somehow :(

WestXu commented 4 hours ago

No clue. I'll leave this issue open.