Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run if offline mode? #24

Open
iuvi7 opened this issue Sep 17, 2024 · 6 comments
Open

Run if offline mode? #24

iuvi7 opened this issue Sep 17, 2024 · 6 comments

Comments

@iuvi7
Copy link

iuvi7 commented Sep 17, 2024

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
Copy link
Owner

WestXu commented Sep 18, 2024

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
Copy link
Author

iuvi7 commented Sep 18, 2024

Awesome, thank you! I will try!

@iuvi7
Copy link
Author

iuvi7 commented Sep 18, 2024

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:

  • Please, add ability to show qr codes as well as veeery slow animation with possible to pause and list them backward\forward if one of them had not been scanned

;)

@WestXu
Copy link
Owner

WestXu commented Sep 19, 2024

  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
Copy link
Author

iuvi7 commented Sep 19, 2024

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
Copy link
Owner

WestXu commented Sep 19, 2024

No clue. I'll leave this issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants