Single-file Go tool implementing the QArt technique (Russ Cox, 2012) using only the public rsc.io/qr API. Generates QR codes whose data modules form a recognizable image by exploiting error correction freedom via GF(2) Gaussian elimination. Includes a web UI with live-updating sliders for version, mask, rotation, dx/dy offset, and scale. Keyboard shortcuts for rapid iteration. Also works as a CLI for batch generation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
11 lines
263 B
TOML
11 lines
263 B
TOML
[tools]
|
|
go = "1.25"
|
|
|
|
[tasks.serve]
|
|
description = "Build and launch the QArt Tuner web UI"
|
|
run = """
|
|
go run . \
|
|
-url "${QART_URL:-https://docs.eblu.me}" \
|
|
-image "${QART_IMAGE:?Set QART_IMAGE to path of source photo}" \
|
|
-serve -port "${QART_PORT:-8088}"
|
|
"""
|