A lightweight QR encoder CLI and library.
- Simple to use
- PNG support
- Terminal support
go install github.com/chey/qr@latest
qr https://www.example.com
docker run --rm ghcr.io/chey/qr https://www.example.com
brew install chey/tap/qr
See the releases page for other downloads.
go get [-u] github.com/chey/qr
This example prints a small QR code to the terminal using the lowest level of error correction.
package main
import (
"github.com/chey/qr/code"
)
func main() {
qr, _ := code.New("https://www.example.com", code.Low)
qr.Print()
}