4 ms·
Is there a command line tool to generate QR codes out there?
by sovietcattle 7y ago
Is there a command line tool to generate QR codes out there?
- cosarara 7y agohttps://fukuchi.org/works/qrencode/ https://fukuchi.org/works/qrencode/
- fimdomeio 7y agoAlso https://github.com/gtanner/qrcode-terminal https://github.com/gtanner/qrcode-terminal (nodejs) Generates code with ascii block characters. Can be use as a library or a a terminal command
- cuspycode 7y agoBoth libqrencode and qrcode-terminal are capable of using ANSI escape codes for colored text to produce black and whites squares. Two space characters make about the right aspect ratio in an xterm window. I reinvented the same method myself a while ago, so it's funny how different people come up with the same idea. Haven't tried it on a VT100 terminal yet, but it should probably work there too.
- tomcooks 7y agocurl qrenco.de/yessir
- jolmg 7y agoSpecifically for text QR, there's `qr` from: https://github.com/lincolnloop/python-qrcode https://github.com/lincolnloop/python-qrcode In Archlinux, it's in the python-qrcode package. There're other command line utilities to make PNG QRs, like `qrencode`.
- fphilipe 7y agoqrencode also has a -t argument which accepts a utf8 value. Great way for quickly opening URLs you have in your clipboard on mobile devices during development as you can pipe in your clipboard to qrencode.