Project

putqr

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
putqr displays a QR code in your terminal.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.10.1
 Project Readme

This project has moved to Sourcehut: https://git.sr.ht/~ljc/putqr


putqr

Gem Version

Display a QR code in your terminal.

If you're using iTerm2 on macOS, the QR code will be displayed as an image.

Example: putqr https://example.com

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