qrcode
hexavi8 tarafından
Web & Frontend DevelopmentÖzet
Generate styled QR codes (SVG/PNG/JPG) with custom colors, shapes, and error correction.
Açıklama
Bu Beceri Ne Yapar
Generates QR codes from text or URLs in SVG, PNG, or JPG formats. Supports custom colors, dot shapes, finder pattern styles, and error correction levels. Output files are saved to the workspace root with path traversal protection enforced.
Combines format flexibility, styling options, and error correction tuning in a single CLI tool, avoiding the need to use separate web services or image editors for QR code customization.
Ne Zaman Kullanılır
- Generating a branded QR code for a business card with custom colors
- Creating a WiFi credential QR code for a guest network
- Producing a high-resolution QR code for a print poster
- Making a transparent PNG QR code for logo overlay use
- Generating a vCard QR code with rounded styling for social media
Örnek İş Akışı
User asks: Generate a styled QR code for https://example.com with circular dots and blue color, suitable for a business card
- 1
Runs generate.mjs with the URL, --dot circle, --eye rounded, --color #2563eb, --format svg, and --ec Q flags
- 2
Saves the output SVG to the workspace root
- 3
Displays the generated file using markdown image syntax
- 4
Confirms the file path and format to the user
- 5
Offers to regenerate with different size or styling if needed
SVG file at workspace root displaying a blue circular-dot QR code scannable to https://example.com
Kurulum
clawhub install hexavi8/qrcodeCLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.