TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Print a WiFi Login Card

769 pointsby bndwalmost 4 years ago

53 comments

WanderPandaalmost 4 years ago
&gt; Your WiFi information is never sent to the server.<p>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
评论 #27810978 未加载
评论 #27809915 未加载
评论 #27810216 未加载
评论 #27809747 未加载
评论 #27818250 未加载
lucb1ealmost 4 years ago
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).
评论 #27805719 未加载
评论 #27808393 未加载
评论 #27806792 未加载
评论 #27809515 未加载
ThePadawanalmost 4 years ago
I do wish there was an option to safely disable all connectivity in a browser tab (forever) like with Javascript or camera access.<p>Yes, saving the page, disconnecting your network connection, then deleting the page would work, but it&#x27;s a real bother.
评论 #27805427 未加载
评论 #27804383 未加载
评论 #27803435 未加载
评论 #27803515 未加载
评论 #27803463 未加载
评论 #27803477 未加载
评论 #27803612 未加载
评论 #27803508 未加载
评论 #27805135 未加载
hnovalmost 4 years ago
My iPhone has a pre-defined &quot;Make QR Code&quot; &quot;Starter Shortcut&quot; that you can invoke by typing &quot;Make QR Code&quot; in Home screen search. It basically generates a QR code of the same WIFI:S:$SSID;P:$PASSWORD;; format as wificard.io.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;QR_code#Joining_a_Wi%E2%80%91Fi_network" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;QR_code#Joining_a_Wi%E2%80%91F...</a>
评论 #27805142 未加载
评论 #27807166 未加载
评论 #27806527 未加载
评论 #27804920 未加载
评论 #27805955 未加载
Zashalmost 4 years ago
<p><pre><code> qrencode -t utf8 &#x27;WIFI:T:WPA;S:network;P:password;;&#x27;</code></pre>
评论 #27806249 未加载
评论 #27804260 未加载
评论 #27805583 未加载
评论 #27803916 未加载
评论 #27803968 未加载
评论 #27808205 未加载
评论 #27806470 未加载
评论 #27803478 未加载
评论 #27804678 未加载
评论 #27804234 未加载
raspyberralmost 4 years ago
I know it says &quot;No tracking, analytics, or fingerprinting are used on this website&quot; but it calls out to Google fonts...
tkurakualmost 4 years ago
I just generate a QR code for my wifi login using libreoffice writer.<p>Edit: just use the built in QR code generator with a string in this format.<p>WIFI:T:WPA;S:$SSID;P:$PASSWORD
评论 #27804474 未加载
mynegationalmost 4 years ago
This is a nice idea! I once whipped up a shell script to do the same thing.<p>UX feedback - disable autocorrections on the input fields [1], you may want to trim white space as well.<p>[1] <a href="https:&#x2F;&#x2F;davidwalsh.name&#x2F;disable-autocorrect" rel="nofollow">https:&#x2F;&#x2F;davidwalsh.name&#x2F;disable-autocorrect</a>
评论 #27804598 未加载
评论 #27803363 未加载
koinsalmost 4 years ago
Shameless (mostly) plug here, <a href="https:&#x2F;&#x2F;github.com&#x2F;kmanc&#x2F;wifi_qr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kmanc&#x2F;wifi_qr</a>.<p>This repo of mine walks through how to use a raspberry pi with an eInk screen to automatically update passwords and the resulting QR code. Would love to see what y&#x27;all think!
评论 #27805416 未加载
notyourworkalmost 4 years ago
iOS share password functionality has really simplified things for guests. This is a neat idea for an AirBNB or similar short term rentals.
评论 #27803436 未加载
评论 #27803321 未加载
评论 #27805218 未加载
评论 #27804898 未加载
BugsJustFindMealmost 4 years ago
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&#x27;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?
评论 #27803837 未加载
评论 #27804158 未加载
评论 #27803812 未加载
评论 #27804257 未加载
评论 #27803731 未加载
评论 #27803639 未加载
评论 #27803750 未加载
评论 #27803811 未加载
评论 #27804490 未加载
评论 #27804849 未加载
评论 #27804444 未加载
评论 #27806944 未加载
评论 #27804380 未加载
评论 #27804093 未加载
评论 #27803810 未加载
_defalmost 4 years ago
I got a QR code like this on the wall with the SSID and the password written on the paper as well as a NFC tag with the wifi credentials between the paper and the wall.<p>I think nobody ever has scanned the QR code.
评论 #27803607 未加载
评论 #27803722 未加载
wingspanalmost 4 years ago
Really neat! I whipped up a single file HTML version [1] with a demo [2] using only a CDN-hosted QR library. Thanks for the distraction!<p>[1] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;ianobermiller&#x2F;9f17f1022bc75c2228d742d97fe1f82d" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;ianobermiller&#x2F;9f17f1022bc75c2228d742...</a><p>[2] <a href="https:&#x2F;&#x2F;bl.ocks.org&#x2F;ianobermiller&#x2F;raw&#x2F;9f17f1022bc75c2228d742d97fe1f82d&#x2F;" rel="nofollow">https:&#x2F;&#x2F;bl.ocks.org&#x2F;ianobermiller&#x2F;raw&#x2F;9f17f1022bc75c2228d742...</a>
shoto_ioalmost 4 years ago
I am sure that this is not what this site is for. But...<p>For a moment I thought: What a great attack vector. Collect WiFi passwords from around the globe.
评论 #27803754 未加载
评论 #27808514 未加载
qifitaalmost 4 years ago
This can be done locally in the browser with qifi: <a href="https:&#x2F;&#x2F;github.com&#x2F;evgeni&#x2F;qifi" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;evgeni&#x2F;qifi</a>
评论 #27804805 未加载
评论 #27803413 未加载
cushychickenalmost 4 years ago
A nice, friction reducing optimization for a home user.<p>Great work, OP. I&#x27;ll be printing one for my fridge later today.
claviskaalmost 4 years ago
This is cool. I whipped up a quick clone on CodePen using Shoelace web components for fun: <a href="https:&#x2F;&#x2F;codepen.io&#x2F;claviska&#x2F;pen&#x2F;NWjbdoK" rel="nofollow">https:&#x2F;&#x2F;codepen.io&#x2F;claviska&#x2F;pen&#x2F;NWjbdoK</a>
mpvaalmost 4 years ago
Looks like a great way to farm a list of commonly used passwords for users or just wifis.<p>I never trust anything online that generates anything with a password. I got burned from a crypto wallet scam once. but fool be twice...!!!
评论 #27808183 未加载
Softcadburyalmost 4 years ago
Love the source code, so clean. First time I see a makefile used like that with Docker and front commands.
评论 #27804997 未加载
评论 #27803651 未加载
评论 #27803775 未加载
cghendrixalmost 4 years ago
Very cool and nicely executed! Love it
评论 #27803862 未加载
sleaveyalmost 4 years ago
Can you actually point your phone camera at a QR code and have it connect automatically, as the website says? I generally avoid QR codes as they obfuscate the target URL, but I thought you needed an app for reading them on Android and possibly also iOS.
评论 #27804286 未加载
评论 #27804345 未加载
评论 #27804263 未加载
wooptooalmost 4 years ago
The format is:<p>WIFI:S:&lt;SSID&gt;;T:&lt;WPA|WPA3|WEP&gt;;P:&lt;password&gt;;;<p>And can be generated with any qrencode program.
ammar_xalmost 4 years ago
Really cool, despite that some comments show that generating such QR codes can be done with a simple command; because using this service is faster for me as a person who is not familiar with QRs.
kurthralmost 4 years ago
This is probably safe, but I really can&#x27;t bring myself to do it.
评论 #27803441 未加载
评论 #27803326 未加载
评论 #27803335 未加载
tambourine_manalmost 4 years ago
The magic here is that there&#x27;s a WiFi URL scheme. I never knew. Don&#x27;t know how well supported it is on old OSs but it&#x27;s pretty cool:<p>wifi: &#x2F;&#x2F; [username] : [password] @ ssid
barbarbaralmost 4 years ago
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?
评论 #27804465 未加载
soheilalmost 4 years ago
So apparently navigating to a URL similar to this on iPhone connects you to the specified wifi [0]:<p><pre><code> WIFI:T:WPA;S:${ssid};P:${password};; </code></pre> [0] <a href="https:&#x2F;&#x2F;github.com&#x2F;bndw&#x2F;wifi-card&#x2F;blob&#x2F;master&#x2F;src&#x2F;components&#x2F;Card.js#L45" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bndw&#x2F;wifi-card&#x2F;blob&#x2F;master&#x2F;src&#x2F;components...</a>
gruezalmost 4 years ago
On ios it works fine with the default camera app, but what about android? I&#x27;d guess support varies depending on vendor?
评论 #27803560 未加载
评论 #27803451 未加载
评论 #27803444 未加载
评论 #27803430 未加载
garybakealmost 4 years ago
&quot;Tape it to the fridge&quot; Please don&#x27;t do this, at least keep it hidden from general viewing.
collsnialmost 4 years ago
I almost gave my SSID and password over to this guy, that&#x27;s an interesting fishing technique.
collsnialmost 4 years ago
Hey I almost gave my ssid and pw over to this guy. That&#x27;s an interesting phishing technique
geonnavealmost 4 years ago
A nice addition would be either (1) support other languages or (2 - simpler) the ability to edit the field titles (e.g. change from &quot;Network name&quot; to &quot;Nome da rede&quot;).
评论 #27805806 未加载
kevincoxalmost 4 years ago
You can also set up an NFC tag for WiFi. It works basically the same but saves with fiddling with your QR reader, just tap the phone to the tag and click connect.
moepstaralmost 4 years ago
Just a FYI&#x2F;PSA: Fritz!Box routers by AVM do have that option right in their WiFi-settings page...<p>Also, there are lots of offline QR generator apps...
readingnewsalmost 4 years ago
At first I was like &quot;OMG, this is going to be awesome, this person has a QR generator which will magically connect me to the WiFi with my password embedded in the QR somehow. I am going to have to read the source... This is gonna be great... but then, disappointment. It is just a card with my password in plain text. Why the heck would I ever print this out?
评论 #27804086 未加载
评论 #27804710 未加载
评论 #27804099 未加载
评论 #27804307 未加载
评论 #27804090 未加载
评论 #27804242 未加载
评论 #27804110 未加载
评论 #27804071 未加载
ChrisArchitectalmost 4 years ago
more QR meh -- how does one use this? Assuming everyone has native QR code ability that ties into Network setups? Sorry if I&#x27;m behind but is this standard in Android now? (who cares about iOS, let&#x27;s go with broader platform for now)
i5heualmost 4 years ago
How convenient I asked myself this question about five hours ago!<p>There are chances out there, unbelievable.
krishnan-ralmost 4 years ago
Why would you trust a random page on the internet and go paste your wifi password on it?
评论 #27804321 未加载
评论 #27804736 未加载
评论 #27805241 未加载
jaimex2almost 4 years ago
On Android just go to Settings &gt; Wifi &gt; SSID &gt; Share<p>From there its up to you how you print.
Snawootalmost 4 years ago
Cool! I wonder if we can generate QR code for WPA2 Enterprise with EAP-TLS?
hendryalmost 4 years ago
No password on my farm.<p>Why bother setting a password in a non-crowded area?
评论 #27804683 未加载
867-5309almost 4 years ago
for this to work device-agnostically presumably there is a URL scheme such as &quot;wifi:&#x2F;&#x2F;&quot;, can anyone confirm?
tomcamalmost 4 years ago
This is a ridiculously good idea. Thank you.
edison112358almost 4 years ago
The Shortcuts app on iPhone can do this.
13daugalmost 4 years ago
I never had of cards how do you get it
renewiltordalmost 4 years ago
Cool app, dude. Thanks for sharing.
spikepuppetalmost 4 years ago
This is really cool! Good work!
maxclarkalmost 4 years ago
Thank you for this!
nukeralmost 4 years ago
Nice try, lol. People, never enter your passwords on such pages.
ExtraEalmost 4 years ago
Relevant xkcd: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;792&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;792&#x2F;</a>
modinfoalmost 4 years ago
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.
评论 #27808678 未加载
failwhalesharkalmost 4 years ago
Neat. Works with Unicode!<p>Feature request: giant passwords like that one that was posted on the side of a building.<p>I ran it with network off and saw the code, so it looks safe.
memmingalmost 4 years ago
I&#x27;m here for the top comment.