TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Print a WiFi Login Card

769 点作者 bndw将近 4 年前

53 条评论

WanderPanda将近 4 年前
&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 未加载
lucb1e将近 4 年前
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 未加载
ThePadawan将近 4 年前
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 未加载
hnov将近 4 年前
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 未加载
Zash将近 4 年前
<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 未加载
raspyberr将近 4 年前
I know it says &quot;No tracking, analytics, or fingerprinting are used on this website&quot; but it calls out to Google fonts...
tkuraku将近 4 年前
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 未加载
mynegation将近 4 年前
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 未加载
koins将近 4 年前
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 未加载
notyourwork将近 4 年前
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 未加载
BugsJustFindMe将近 4 年前
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 未加载
_def将近 4 年前
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 未加载
wingspan将近 4 年前
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_io将近 4 年前
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 未加载
qifita将近 4 年前
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 未加载
cushychicken将近 4 年前
A nice, friction reducing optimization for a home user.<p>Great work, OP. I&#x27;ll be printing one for my fridge later today.
claviska将近 4 年前
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>
mpva将近 4 年前
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 未加载
Softcadbury将近 4 年前
Love the source code, so clean. First time I see a makefile used like that with Docker and front commands.
评论 #27804997 未加载
评论 #27803651 未加载
评论 #27803775 未加载
cghendrix将近 4 年前
Very cool and nicely executed! Love it
评论 #27803862 未加载
sleavey将近 4 年前
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 未加载
wooptoo将近 4 年前
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_x将近 4 年前
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.
kurthr将近 4 年前
This is probably safe, but I really can&#x27;t bring myself to do it.
评论 #27803441 未加载
评论 #27803326 未加载
评论 #27803335 未加载
tambourine_man将近 4 年前
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
barbarbar将近 4 年前
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 未加载
soheil将近 4 年前
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>
gruez将近 4 年前
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 未加载
garybake将近 4 年前
&quot;Tape it to the fridge&quot; Please don&#x27;t do this, at least keep it hidden from general viewing.
collsni将近 4 年前
I almost gave my SSID and password over to this guy, that&#x27;s an interesting fishing technique.
collsni将近 4 年前
Hey I almost gave my ssid and pw over to this guy. That&#x27;s an interesting phishing technique
geonnave将近 4 年前
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 未加载
kevincox将近 4 年前
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.
moepstar将近 4 年前
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...
readingnews将近 4 年前
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 未加载
ChrisArchitect将近 4 年前
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)
i5heu将近 4 年前
How convenient I asked myself this question about five hours ago!<p>There are chances out there, unbelievable.
krishnan-r将近 4 年前
Why would you trust a random page on the internet and go paste your wifi password on it?
评论 #27804321 未加载
评论 #27804736 未加载
评论 #27805241 未加载
jaimex2将近 4 年前
On Android just go to Settings &gt; Wifi &gt; SSID &gt; Share<p>From there its up to you how you print.
Snawoot将近 4 年前
Cool! I wonder if we can generate QR code for WPA2 Enterprise with EAP-TLS?
hendry将近 4 年前
No password on my farm.<p>Why bother setting a password in a non-crowded area?
评论 #27804683 未加载
867-5309将近 4 年前
for this to work device-agnostically presumably there is a URL scheme such as &quot;wifi:&#x2F;&#x2F;&quot;, can anyone confirm?
tomcam将近 4 年前
This is a ridiculously good idea. Thank you.
edison112358将近 4 年前
The Shortcuts app on iPhone can do this.
13daug将近 4 年前
I never had of cards how do you get it
renewiltord将近 4 年前
Cool app, dude. Thanks for sharing.
spikepuppet将近 4 年前
This is really cool! Good work!
maxclark将近 4 年前
Thank you for this!
nuker将近 4 年前
Nice try, lol. People, never enter your passwords on such pages.
ExtraE将近 4 年前
Relevant xkcd: <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;792&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;792&#x2F;</a>
modinfo将近 4 年前
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 未加载
failwhaleshark将近 4 年前
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.
memming将近 4 年前
I&#x27;m here for the top comment.