Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 22, 2020. It is now read-only.
/ putqr Public archive

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

License

ljcooke/putqr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Packages

No packages published

Languages