Skip to content
This repository has been archived by the owner. It is now read-only.
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Displays a QR code in your terminal. Supports inline images in iTerm2.

Topics

Resources

License

Packages

No packages published

Languages