Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qr

QR Code encoder written in Zig. See it in action here: bensengupta.github.io/qr

Usage

$ qr --error M "Hello world"

QR Code

Options

$ qr --help

Usage: qr [options] <message>

QR Code options:
  -e, --error     Error correction level       ["L", "M", "Q", "H"]
  -q, --qzone     Quiet zone size                         [integer]

Options:
  -h, --help      Show help

Examples:
  qr "some text"
  qr -e H "some text"

Requirements

  • Zig 0.13+

Run

$ zig build
$ ./zig-out/bin/qr "Hello world"

WebAssembly

$ zig build wasm
$ cp ./zig-out/qr.wasm web/

References

License

MIT

The word "QR Code" is registered trademark of: DENSO WAVE INCORPORATED

About

QR Code encoder written in Zig

Resources

Stars

11 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages