A library to convert text or data to a QR Code
-
Dependencies
install qrencode
a. MacOS
brew install qrencode
b. Ubuntu
sudo apt install qrencode
-
Add the dependency to your
shard.yml:dependencies: qrencode: github: wontruefree/qrencode
-
Run
shards install
require "qrencode" QR.print("this is a smoke test")
require "qrencode" qr_code = QR.encode("this is a smoke test") qr_code.level = 3 qr_code.print
- Jack Thorne - creator and maintainer