Live data from Hacker News

Show HN: Print a WiFi Login Card

wificard.io

281–290 of 347 posts

Re: Show HN: Print a WiFi Login Card

#281
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).

> hate printers with the same passion as me

A remedy exists, it costs around 100€, is sold by Brother and is called "wifi-enabled laser printer". Your life will be free off printing woes onwards.

Re: Show HN: Print a WiFi Login Card

#282

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?

Probably to learn those various technologies. Not only did they use a bunch of new tech, they made something other people can use in the process. Better than making a bunch of throwaway code.

Of course, why write 50 lines of throwaway code when you can write 500?

Single static HTML files are under valued.

Re: Show HN: Print a WiFi Login Card

#284
post #170

Earlier quoted context omitted.

> To be fair it’s fairly easy to check that it didn’t send any data over the wire ... after the fact ... ... for a user of the web app who watches the network panel from their browser's developer tools

You just send false info first.

Well, maybe the site sends all the passwords when you close the tab. The point is not to get used to entering passwords to third party websites.

Re: Show HN: Print a WiFi Login Card

#286

Earlier quoted context omitted.

> even though it did not have to How could it work if it didn’t?

By generating the QR code locally via JS. You can check the source code https://github.com/bndw/wifi-card/blob/master/package.json#L...

I’m not sure what you think I was asking the previous commenter. This makes no sense as a reply.

Re: Show HN: Print a WiFi Login Card

#287

Earlier quoted context omitted.

> even though it did not have to How could it work if it didn’t?

By generating the QR code locally via JS. You can check the source code https://github.com/bndw/wifi-card/blob/master/package.json#L...

But... that's exactly what it does though?

Re: Show HN: Print a WiFi Login Card

#288
post #251

Earlier quoted context omitted.

If OPs experience is anything like mine, they just suck at doing their job. There's often some silly reason its stuck, or it prints wrong, or the colors are off, etc, its really just a super painful experience and I can't believe its still so bad.

Is this some meme I didn't hear about?

related comic: https://theoatmeal.com/comics/printers

Re: Show HN: Print a WiFi Login Card

#289

This looks like a simple WiFi password generator, a cooler solution would be to generate one-time passwords for guests. When someone comes to you, they can click on the touch display to generate a password, each guest can then have a separate VLAN.

That's a bit more elaborate, but with WPA enterprise, a radius server and a web-ui this should be pretty doable

Re: Show HN: Print a WiFi Login Card

#290
> Your WiFi information is never sent to the server.

This makes me think that we could use some flag that identifies purely static websites. Like next to the green https lock there is a sign that this website can not send data to any server

Post reply on HN