Replying to Avatar kalle

Nice! I use qrencode for that: (testing code formatting here)

```

$ qrencode -tutf8 'LNURL1DP68GURN8GHJ7MRWVF5HGUEWWFHHXETWVFSH2MFWWDJJ7MRWW4EXCUP02DU42NJGDVTHM57P'

█████████████████████████████████████████

█████████████████████████████████████████

████ ▄▄▄▄▄ ██▀▄██▀▄████ ▄▀▀▀▄█ ▄▄▄▄▄ ████

████ █ █ █▄▀█▄▀▀█▄▀ ▀▀▀▄ ███ █ █ ████

████ █▄▄▄█ ██▄▀▀ ▄▀▀ ▀▀█ ▀ ██ █▄▄▄█ ████

████▄▄▄▄▄▄▄█ █▄▀▄█▄▀▄█▄▀▄▀ █ █▄▄▄▄▄▄▄████

████ ▄▄█▄▄▄▄▄▀█▀ ▀█▀ ▄▀▀█▄ █▀▀▄██████

████ ▄▀▀██▄▀▀▀ ▄ ▀ ▄ █▄█▀ ██▀ █▄█ █▀█████

████ ██▀█▀▄▀▀▀ ██ █ █▀ █▄███▄ █ ▄ ▀████

████▄ ▄▀██▄ ▀ █▀█▄█▀█▄▄█▀ ▄█▀▄ █ ▄ ▀████

█████ █ ▄▄█▀▀▄▀ ▀█▀ █▀▀██▄▄ ▄▀▀▀▄▄▀▄████

████▄█▀▄▀▄▄▀▀██▄ ▀ ▄ █ ▄▄▄█ ▄▀ ▀███ ▀████

█████ ▄▄█▄█▄▄▄ ██ ▄▀▀█▄▀▀██▄▄▀▄▄ ▀█████

████▄▀▀ ██▄█ ▄▀▀█▄█▀▄ ▀▀▄█▄▀▄█ ▄▄ ▀█████

████▄█▄███▄█ █▄▀ ▀█▀▀▀█▄ █ ▄▄▄ ▄▄▀████

████ ▄▄▄▄▄ █ ▀▄ ▀ ▀▀▀▀▄▀▄██ █▄█ ▄██ ████

████ █ █ █▄█ ██ █ ▄▄██ ▄ ▄ ▄ ████

████ █▄▄▄█ █ ▄▄▀█▄█▀ ▄██▄▄██▀ ▀▄▀ ▀ ████

████▄▄▄▄▄▄▄█▄███▄██▄█▄██▄▄▄▄▄██▄█▄██▄████

█████████████████████████████████████████

█████████████████████████████████████████

```

I already had qrencode installed, but didn’t even know it supported displaying in terminal. I always wrote to an image file 🤦.

Well now I added

alias qr='qrencode -tutf8'

to my bashrc and got the comfort of just typing qr followed by the text to be encoded or piping to qr straight from the terminal. Thanks for the idea guys :)

Reply to this note

Please Login to reply.

Discussion

Glad someone found my spamming session useful!