bndw / wifi-card

📶 Print a QR code for connecting to your WiFi (wificard.io)
https://wificard.io
MIT License
6.62k stars 465 forks source link

Open page with qr code generated #283

Open eerison opened 7 months ago

eerison commented 7 months ago

Hello. Is there any way to open the page with the qr code already generated?

Maybe pass ssid and pass via , query parameters?

bndw commented 7 months ago

Hi, there is currently no support for passing configuration via query parameters. I'm open to this addition if someone wants to contribute it. I think it'll need to pass in encryptionMode as well, at a minimum.

ofostier commented 3 months ago

Hello there, I created the PR 293 to add query parameters with all parameters available in the form also language ;) Maybe need to complete the readme file You can find the branch on my fork

ofostier commented 3 months ago

Query parameters are : ssid = string password = string encryptionMode = string WPA / WPA2-EAP / WEP eapMethod = string default 'PWD' eapIdentity = string hidePassword = string true/false hiddenSSID = string true/false portrait = string true/false additionalCards = number hideTip = string true/false lng = all available language id in translation.js file