Live data from Hacker News

Show HN: Print a WiFi Login Card

wificard.io

251–260 of 347 posts

Re: Show HN: Print a WiFi Login Card

#251
post #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.

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.

Re: Show HN: Print a WiFi Login Card

#252
post #153

My iPhone has a pre-defined "Make QR Code" "Starter Shortcut" that you can invoke by typing "Make QR Code" in Home screen search. It basically generates a QR code of the same WIFI:S:$SSID;P:$PASSWORD;; format as wificard.io. https://en.wikipedia.org/wiki/QR_code#Joining_a_Wi%E2%80%91F...

I'm pretty sure most phone can do that today. I know most Android can.

Re: Show HN: Print a WiFi Login Card

#254
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.

Does that work for node.js apps?

Re: Show HN: Print a WiFi Login Card

#255
post #67

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?

Answering as the author who also understands the fundamentals of all of the technologies involved and questions much of what goes on in the minds of today's web developers and designers-- I use Make as the standard way to interact with every repo I own. This allows me to type `make build` instead of `$some-language-specific-command-I-forget-in-2-weeks`. I use Docker for distributing every app I build. If the app is a…

I liked your page. I might even use it!

Re: Show HN: Print a WiFi Login Card

#256

Earlier quoted context omitted.

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?

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...

Re: Show HN: Print a WiFi Login Card

#257
post #222

Earlier quoted context omitted.

Works on Android using Termux. libqrencode is a package in its default repo. From what I understand, Android is quite popular.

If the options for helping someone are sending them a URL or explaining how to install termux and then a new package and then running an obscure command in it, I know which option I would pick.

Thankfully, anyone on Android 10 and up already has sharing of wifi via we built in.

As should any of the new routers.

Re: Show HN: Print a WiFi Login Card

#258
post #250
post #244

Earlier quoted context omitted.

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

You could just use google to find the same thing in a few years. The project is so simple I could replicate it and have it hosted in a few hours.

Re: Show HN: Print a WiFi Login Card

#259
Looks like a great way to farm a list of commonly used passwords for users or just wifis.

I never trust anything online that generates anything with a password. I got burned from a crypto wallet scam once. but fool be twice...!!!

Re: Show HN: Print a WiFi Login Card

#260

Earlier quoted context omitted.

If the options for helping someone are sending them a URL or explaining how to install termux and then a new package and then running an obscure command in it, I know which option I would pick.

Thankfully, anyone on Android 10 and up already has sharing of wifi via we built in. As should any of the new routers.

My new router came with the QR code stuck on. ios and apparently android have wifi sharing but its still going to be problem when an android user visits an ios user.
Post reply on HN