4 ms·
qrencode[1] has been doing this for a long time in the terminal. It even supports half-block UTF-8 character (two bits per character, which makes them more squa
by larschdk 6y ago
qrencode[1] has been doing this for a long time in the terminal. It even supports half-block UTF-8 character (two bits per character, which makes them more square).
[1]: https://fukuchi.org/works/qrencode/ https://fukuchi.org/works/qrencode/
- deleted 6y ago[deleted]
- pqb 6y agoI second qrencode. It is notoriously used by the password-store [0]. Theirs qr function is perfect to extract as a separate script and put them into the $PATH (especially useful when it is needed to generate and save some QR codes). The opposite tool to qrencode is zbarimg, which accepts first parameter to image file containing the QR code and prints out the encoded content. [0]: https://git.zx2c4.com/password-store/tree/src/password-store.sh?h=1.7.3#n180 https://git.zx2c4.com/password-store/tree/src/password-store...
- rozab 6y agoalias qr="qrencode -t UTF8" Very handy thing to have in the toolbox for those who live in the terminal, along with magic-wormhole and friends