Earlier quoted context omitted.
I can't speak for the poster, but sometimes the fun is in using tools you know. I don't know VanillaJS that well, so I took a stab at the same concept: https://q726kbxun.github.io/qrcodes/ Not nearly as pretty, since I know even less about making pages pretty, but still, a fun little stab at making such a site.
I'd say that a tiny amount of CSS would make that basically perfect for the task, except that it's honestly already perfect for the task now. Though it looks like you replace semicolon a second time instead of colon in clean.
Show HN: Print a WiFi Login Card
151–160 of 347 posts
Re: Show HN: Print a WiFi Login Card
#152Earlier quoted context omitted.
DevTools -> network -> Change the throttling to "offline"
Offline is not an option in Firefox, just progressively worse connection options.
Re: Show HN: Print a WiFi Login Card
#153https://en.wikipedia.org/wiki/QR_code#Joining_a_Wi%E2%80%91F...
Re: Show HN: Print a WiFi Login Card
#154Re: Show HN: Print a WiFi Login Card
#155Re: Show HN: Print a WiFi Login Card
#156This can be done locally in the browser with qifi: https://github.com/evgeni/qifi
Re: Show HN: Print a WiFi Login Card
#157qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;'
wow ok, so you expect me to have a computer (?!) with: - a keyboard? - access to a terminal??!?!?! - ability to install qrencode??? - knowledge of copy and paste!?!?! - some way to edit the command you posted to my specific username and password?! franky this is ridiculous when i could just make a repo that uses make, docker, yarn, npx, nginx, react, and jest /s
You’re supposed to deploy qrencode in a kubernates cluster on Oracle cloud to run it, and then go to your WiFi base station and change your SSID to “network” and it’s password to “password”
Re: Show HN: Print a WiFi Login Card
#158Asking as a person who understands the fundamentals of all of the technologies involved but is horrified by much of what goes on in the minds of today's web developers and designers, what motivates the decision to make this repo use make, docker, yarn, npx, nginx, react, and jest rather than a bit of static HTML and css and something like qrjs2.js or VanillaQR.js with a simple canvas or datauri update in onInput?
This is what a lot of people have trouble understanding: sometimes the best tool for the job is the tool you’re best in.
Evidence? No one has made this static website you’re talking about. It doesn’t exist. This one does. The imperfect app that exists beats the perfect app that is vapor.
Re: Show HN: Print a WiFi Login Card
#159Earlier quoted context omitted.
wow ok, so you expect me to have a computer (?!) with: - a keyboard? - access to a terminal??!?!?! - ability to install qrencode??? - knowledge of copy and paste!?!?! - some way to edit the command you posted to my specific username and password?! franky this is ridiculous when i could just make a repo that uses make, docker, yarn, npx, nginx, react, and jest /s
This is a staggeringly passive aggressive comment, who hurt you?
As stupid as it sounds I didn’t realize there was a wifi scheme for a uri-like syntax on phones
Re: Show HN: Print a WiFi Login Card
#160Earlier quoted context omitted.
Did you type this in from memory?!
In fairness, the string doesn't seem insaneo: T:=Type S:=SSID P:=Password then only the leading and trailing chars need to be "remembered", plus whatever the escape character is for that password string (or maybe even the SSID -- I'm not super clear on what characters can be in an SSID)
I hear “%s%s%s%s%p” is the preferred SSID these days…