Live data from Hacker News

Show HN: Print a WiFi Login Card

wificard.io

241–250 of 347 posts

Re: Show HN: Print a WiFi Login Card

#241
post #207

Earlier quoted context omitted.

I wouldn’t ask if it wasn’t the top comment, on the current #1 front page story, but Can someone please explain this command, and why it is presumably given as a criticism of this submission?

The site requires you to put in your WiFi Network and Password even though it did not have to. (However nothing is actually sent to the server)

> even though it did not have to

How could it work if it didn’t?

Re: Show HN: Print a WiFi Login Card

#243
post #126

I am not sure I understand the app. Is it 2 input fields one for name and one for password? Which you then print? Is that the functionality - or have I misunderstood?

The QR code it generates can be scanned by a phone to connect to a WiFi network without typing anything

Ah OK - that can make some sense in case name and password are very difficult to type. Thank you for the explanation.

Re: Show HN: Print a WiFi Login Card

#244

Earlier quoted context omitted.

You can just fork/clone/whatever it, it's right there.

Ok, great. If it goes down now one has to host it or remember to start it via the command-line. So we're back to square one...

It's literally a webpage with some javascript, so if you save it along with the asset files, you can just open the page in browser from your filesystem, no need to specially host it or start anything.

But yes, I agree running a command like qrencode from terminal is easier in the long run.

Re: Show HN: Print a WiFi Login Card

#246
post #187

I can also recommend drawing it instead of printing if you hate printers with the same passion as me. Record to beat for drawing a working QR code is 3 tries and I think about three hours (for an SSID of 13 bytes (5 unicode characters) and 19-character password). I did it mostly out of curiosity how hard it would actually be (spoiler: medium difficulty).

I'm more curious about why you hate printers.

Re: Show HN: Print a WiFi Login Card

#247

Asking 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?

Made a simple page here https://news.ycombinator.com/item?id=27805746 to see how this would look

Re: Show HN: Print a WiFi Login Card

#248
post #40

Earlier quoted context omitted.

Also another nitpick: > View the source code It would be really nice if the source code in the browser (no, not the Github repo; how do I know the web server served the same thing as the Github repo?) were displayed in a human-readable format with proper tabbing, comments if applicable, and not an obfuscated, minified form. In fact if your goal isn't specifically obfuscation, it's not necessary to minify JS in genera…

We’re moving far, far away from the observability and introspection that once made the web a transparent medium. First it was minified JS, then it was minified and obfuscated JS, then it was using a canvas instead of the DOM to prevent even HTML inspection, and now it’s binary executable payloads (WASM) rendering to a WebGL context with zero introspection possible.

Is there actually a popular site that uses WASM / WebGL the way you mention it?

Re: Show HN: Print a WiFi Login Card

#249
post #99
post #34

qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;'

Since OP intended to learn a bunch of technologies while developing this project I'd be amused to see a version of this based on qrencode complied to WASM.

Why is this not a neural network?

Re: Show HN: Print a WiFi Login Card

#250
post #244

Earlier quoted context omitted.

Ok, great. If it goes down now one has to host it or remember to start it via the command-line. So we're back to square one...

It's literally a webpage with some javascript, so if you save it along with the asset files, you can just open the page in browser from your filesystem, no need to specially host it or start anything. But yes, I agree running a command like qrencode from terminal is easier in the long run.

Saving a webpage and expecting your browser to render this the same way in a few years is only possible if you are saving the browser version with it.

The command line tool will have a longer life

Post reply on HN