Siebel Labs

Tools ·

qrcodegen

A command-line tool and Python library that generates styled QR codes as SVG or raster images, optionally with a logo in the center.

Stack
Python, CLI, uv
Source
github.com/Skarabaeus/qrcodegen

What it is

A small QR code generator for the command line:

uv run qrcodegen "https://example.com" -l logo.svg -s rounded -o qr.svg

The file extension picks the output format: .svg writes SVG, anything else (.png, .jpg, …) writes a raster image.

Features

  • Module shapes: square, gapped, circle, rounded, vbars and hbars. The three corner finder patterns always stay plain squares so the code still scans.
  • Custom foreground and background colors, module size and quiet zone.
  • A centered logo (SVG or raster) on a rounded plate. The logo size is capped so the code still scans, and error correction defaults to H when a logo is used.
  • A Python API (generate, generate_svg) that takes the same options as the CLI.

← All projects