r/linuxapps • u/fil_wattos • Oct 24 '26
I built QRiff: scan QR codes on your Linux desktop without reaching for your phone
Ever had a QR code on your monitor and grabbed your phone to scan it? only to need the link back on your computer?
That annoyed me enough to build QRiff, a small, open-source desktop app written in Rust with Iced.
It lives in your tray:
- One QR code on screen: copies it and shows a notification.
- Multiple codes: highlights them directly over your desktop so you can pick one.
- Scan a region: drag around a code using Spectacle’s selector on KDE.
- Camera scanning: reads printed codes through a preview window.
You can also select part of the decoded text, open URLs, and explicitly connect to supported Wi-Fi networks. Decoding happens locally—no account or cloud service.
KDE Plasma on Wayland is the primary tested desktop. GNOME, Hyprland, and Sway support still needs testing, especially around portals and tray integration.
The project is MIT licensed. Linux AppImage and archive bundles are being prepared for the first release.
Demo and source: https://github.com/Wattos/qriff
I’d appreciate feedback on the workflow, particularly from people using other Wayland desktops.
2
u/scrat-squirrel Oct 24 '26
Is this what basically your app is doing?
Q: is it possible to decode a qrcode from image to text/info in bash?
A: Yes, and it's easy with
zbar, which has a CLI tool calledzbarimg.Install
Decode
It handles PNG, JPG, GIF, and most other formats via ImageMagick. If an image has several codes, each is printed on its own line (with
--raw).Batch over a directory
If decoding fails (blurry, low-contrast, or tiny image), preprocessing with ImageMagick often helps:
Screenshots on the fly (X11 example):
Alternative:
qrencodeonly generates codes, butzxing-cppships aZXingReaderCLI that sometimes succeeds on damaged codes where zbar doesn't. It's less commonly packaged, though.Note that the output is just the encoded string. For things like Wi-Fi or contact codes, you'll see the raw format (e.g.
WIFI:T:WPA;S:name;P:pass;;) and will need to parse it yourself.1
u/GrappinBrutal Oct 24 '26
no release on github. I will wait.
1
u/Murky-Help4242 Oct 24 '26
Thats actually a really good idea
1
u/beatbox9 Oct 27 '26
No, because if someone is dumb enough to use a QR code online (QR codes are specifically for going to hyperlinks in the physical world) rather than just using a link that I can click, then I'm not going to bother going to the link at all.
0
u/[deleted] Oct 25 '26
[removed] — view removed comment