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

Add QR code for json #19

Open
AliMoal opened this issue Mar 5, 2024 · 2 comments
Open

Add QR code for json #19

AliMoal opened this issue Mar 5, 2024 · 2 comments

Comments

@AliMoal
Copy link

AliMoal commented Mar 5, 2024

Hi, thank you ircfspace for this excellent repo.
It would be useful to generate QR code for json output.
To do this before generating QR code, it should remove all whitespaces in json output. In other words, it needs to minify output to create QR code.
Unfortunately, I'm not good at JS, but really glad if I could help.
Thanks again.

@ircfspace
Copy link
Owner

Hello. I appreciate your suggestion.
I had tested this with several different services, and despite removing extra characters and tabs, I still encountered character limitations.
Additionally, I tried another method to bypass the limitation, but the QR code image details were too extensive to be scanned on some devices.

@AliMoal
Copy link
Author

AliMoal commented Mar 6, 2024

Hello. I appreciate your suggestion. I had tested this with several different services, and despite removing extra characters and tabs, I still encountered character limitations. Additionally, I tried another method to bypass the limitation, but the QR code image details were too extensive to be scanned on some devices.

Yes, the problem you mentioned exists and I confirm that.
So, is any alternative way? because sending sub link QR code depends on the domain and if the domain is blocked, it won't work.
Can I use this locally? somehow, I generate the sub link QR code but with my own device that the json config file can be downloaded from my own device. at the end when i close the app (or something like that) the sub isn't going to work anymore.
My knowledge is not rich enough to know it is possible to do this according to internet or network limitation. I know for may situations we need IP static, but I don't know It is necessary or not for this, because it is temporary for just short time.
It is so grateful if you tell me I'm correct or not.
Thanks again.

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