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

Getting started/Usage? #18

Open
Core2DuoKing opened this issue Dec 27, 2024 · 11 comments
Open

Getting started/Usage? #18

Core2DuoKing opened this issue Dec 27, 2024 · 11 comments

Comments

@Core2DuoKing
Copy link

Hi,

Looking at the demo, this implementation of streaming QR code data transmission seems to be one of the best available (web app based, cross platform using a modern browser, etc.). However at this time I can't figure out how to actually use the files provided. So I have a few questions:

Can you view the web app by directly opening a file in a web browser, or is a web server that has the capability of using .vue files required?
If a vue web server is required, what is your recommendation on getting that started? Just follow the Vuejs.org instructions or is there a docker container you recommend for local usage?

I want to try and use this offline, so if it needs a web server with vue support, I'd probably spin up an ubuntu server and try to get everything running on that. Thank you!

@iuvi7
Copy link

iuvi7 commented Dec 30, 2024

I have version of QRs that fully works online on both: PC\Phone without a need in starting server (but it possible)

Yet, i don't get how to contribute it to release due when i try to upload it to "public" folder i get next:

Uploads are disabled.
File uploads require push access to this repository.

:(

@LittleSound
Copy link
Member

File uploads require push access to this repository._

Fork -> Push -> Create a PR.

You can ask AI or use a search engine to learn how to contribute to a project on GitHub. It might be a bit challenging for first-time users, but there are plenty of resources available to help you learn.

@iuvi7
Copy link

iuvi7 commented Jan 1, 2025

File uploads require push access to this repository._

Fork -> Push -> Create a PR.

You can ask AI or use a search engine to learn how to contribute to a project on GitHub. It might be a bit challenging for first-time users, but there are plenty of resources available to help you learn.

Done, hope commits will be allowed :)

@Core2DuoKing
Copy link
Author

I have version of QRs that fully works online on both: PC\Phone without a need in starting server (but it possible)

Yet, i don't get how to contribute it to release due when i try to upload it to "public" folder i get next:

Uploads are disabled. File uploads require push access to this repository.

:(

Hi,

So I checked out your fork and it looks like it's missing a lot of things. I see that the index.html file was created with SingleFile, but a lot of the javascript wasn't captured so it's not able to generate any QR codes or play them back to send files. Also it's not able to receive files either (clicking the receive button at the top of the page just takes you to the normal https://qrss.netlify.app/scan URL online).

@iuvi7
Copy link

iuvi7 commented Jan 3, 2025

I have version of QRs that fully works online on both: PC\Phone without a need in starting server (but it possible)
Yet, i don't get how to contribute it to release due when i try to upload it to "public" folder i get next:
Uploads are disabled. File uploads require push access to this repository.
:(

Hi,

So I checked out your fork and it looks like it's missing a lot of things. I see that the index.html file was created with SingleFile, but a lot of the javascript wasn't captured so it's not able to generate any QR codes or play them back to send files. Also it's not able to receive files either (clicking the receive button at the top of the page just takes you to the normal https://qrss.netlify.app/scan URL online).

Wierd. Today i download it to my friend's notebook, and it works fine for us. What browser did you use? Did you enabled offline mode?

@Core2DuoKing
Copy link
Author

Wierd. Today i download it to my friend's notebook, and it works fine for us. What browser did you use? Did you enabled offline mode?

I tried both Firefox and Chrome, turned off my NIC and cleared my cache and cookies in the browser to test, and had the same lack of functionality on both (slider on the page doesn't work, no QR's are generated, etc). SingleFile isn't capturing all the javascript functions and saving them. Through some research I found some other types of software that do similar things to SingleFile like Browserify that can bundle up separate modules or dependencies and have them in a single page/package, but doing something like that is way out of my league.

@iuvi7
Copy link

iuvi7 commented Jan 3, 2025

Alright, sounds strange. I will try to do screen record on one more notebook and upload video here

For now, try install using pnpm and run locally (described in my fork Readme)

@Core2DuoKing
Copy link
Author

Alright, sounds strange. I will try to do screen record on one more notebook and upload video here

For now, try install using pnpm and run locally (described in my fork Readme)

I followed your pnpm instructions and that got it working locally, thank you! This was the type of getting started instruction I was looking for. There was some hiccups that I needed to get around, such as adjusting browser settings to allow camera use on insecure websites (in Google Chrome it's found at: chrome://flags/#unsafely-treat-insecure-origin-as-secure ). So definitely being able to host this on an SSL enabled server would be best. Besides that, everything worked.

@iuvi7
Copy link

iuvi7 commented Jan 4, 2025

I needed to get around, such as adjusting browser settings to allow camera use on insecure websites (in Google Chrome it's found at: chrome://flags/#unsafely-treat-insecure-origin-as-secure ).

Probably this is why index.html was not works for you. Pop-up's to allow camera request are enabled in browsers by default. Specific changes can broke "normal" work of singlepage file too

@dongzhang1937
Copy link

"

I used the first method you mentioned (the raw indx.html),but it did not work.the browser is offline mode.don’t know where there is a problem.

Image

@iuvi7
Copy link

iuvi7 commented Feb 3, 2025

"

I used the first method you mentioned (the raw indx.html),but it did not work.the browser is offline mode.don’t know where there is a problem.
Image

Did you readed\tryed described ? "NOTE: If you want to Send file, before choosing it, firstly push "Receive" and then once again on "Send", and you are ready to go"

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

4 participants