к каталогу

📦 rqrcode/ whomwah

A Ruby library that encodes QR Codes

Открыть на GitHubобновлён 1мес назад
Звёзды
2.0k
Форки
241
За неделю
За месяц
Рост %
Язык
Ruby

Установка и запуск

Basic usage example

require "rqrcode"

qr = RQRCode::QRCode.new("https://kyan.com")

puts qr.to_s
# to_s( dark: "x", light: " " ) # defaults

xxxxxxx xxxxxxx  xxx  xxxxxxx
x     x  x  xxx   xx  x     x
x xxx x xx x x     xx x xxx x
x xxx x      xx xx xx x xxx x
x xxx x x x       xxx x xxx x
x     x  xxx x xx x x x     x
...

Easy, but unlikely to be readable. For this you will need to use one of the many rendering options below.

Из README репозитория · полный README на GitHub

Теги

qrcodeqrcode-generatorruby