2026-08-26 15:01:22 +09:00
|
|
|
# SVG QR generator
|
|
|
|
|
|
|
|
|
|
Generates SVG QR codes from any text input.
|
|
|
|
|
|
2026-08-26 15:49:06 +09:00
|
|
|
## Usage
|
2026-08-26 15:01:22 +09:00
|
|
|
|
|
|
|
|
```
|
2026-08-26 15:49:06 +09:00
|
|
|
uv run svgqr "Text to encode"
|
|
|
|
|
uv run svgqr -t "Text to encode" -o path/to/code.svg
|
|
|
|
|
uv run svgqr -i values.txt
|
2026-08-26 15:54:41 +09:00
|
|
|
uv run svgqr --yaml values.yaml
|
2026-08-26 15:49:06 +09:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Text can be passed positionally or with `-t`. Without `-o`, the program uses a
|
|
|
|
|
safe, truncated form of the text as the SVG filename. Batch mode writes SVGs to
|
|
|
|
|
`output/` and ignores `-o`.
|
|
|
|
|
|
2026-08-26 15:54:41 +09:00
|
|
|
`--yaml` accepts a flat mapping of output name to text, such as
|
|
|
|
|
`name: text`.
|