qr

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2024 License: MIT Imports: 6 Imported by: 0

README

qr

Docker goreleaser

A lightweight QR encoder CLI and library.

  • Simple to use
  • PNG support
  • Terminal support

Install and Use CLI

Using GO
go install github.com/chey/qr@latest

qr https://www.example.com

image

Docker
docker run --rm ghcr.io/chey/qr https://www.example.com
Brew
brew install chey/tap/qr
Other

See the releases page for other downloads.

Library usage

go get [-u] github.com/chey/qr
Example

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()
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package qr provides functionality for encoding QR codes.
Package qr provides functionality for encoding QR codes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL