This project has moved to Sourcehut: https://git.sr.ht/~ljc/putqr
putqr
Display a QR code in your terminal.
If you're using iTerm2 on macOS, the QR code will be displayed as an image.
Install
Install putqr
from RubyGems:
gem install putqr
Usage
Run the putqr
command with the string you want to encode, like:
putqr https://example.com/
Run the command without arguments to read the data from standard input:
putqr < example.txt
Development
To run the latest source code, check out the Git repository:
git clone https://git.sr.ht/~ljc/putqr
Install the dependencies using Bundler:
gem install bundler
bundle install
Run the tests and the putqr
command using Bundler:
bundle exec rspec
bundle exec putqr