Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the more limited use case of “get a link from a desktop to my phone right now” I have really enjoyed using an extension on the desktop browser that pops up a QR code linking to the current tab. Then I just point my phone camera at the QR code on the monitor to open the link on my phone. I like this setup because it doesn’t require any pre-configuration to link the desktop and the phone. Your friend sitting next to you can scan the QR code too.

I’m not linking to any specific QR code extension because I haven’t audited them for privacy but it’s easy to find one that claims to generate the QR code locally.



I use

  wl-paste | qrencode -s 20 -o - | display -
for this purpose. Shows the contents of the current Wayland clipboard as a QR code. For X11, replace `wl-paste` with `xsel -b`.


Oooh nice. Better yet, you can show that QR code directly in the terminal:

  qrencode -t ansiutf8 google.com
Looks identical. In WSL, you can use 'powershell.exe Get-Clipboard':

  powershell.exe Get-Clipboard | qrencode -t ansiutf8




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: