✓ Verified 📁 File Management ✓ Enhanced Data

Qr Generator

Generate QR codes from text or URL for mobile scanning.

Rating
4.5 (294 reviews)
Downloads
12,868 downloads
Version
1.0.0

Overview

Generate QR codes from text or URL for mobile scanning.

Complete Documentation

View Source →

QR Generator

Generates a QR code image (PNG/SVG) or terminal output from a given text or URL. Useful for transferring long URLs, WiFi credentials, or text snippets to mobile devices via Feishu (scan QR).

Usage

bash
# Generate a QR code image
node skills/qr-generator/index.js --text "https://openclaw.ai" --output "qr_code.png"

# Generate to terminal (ASCII art)
node skills/qr-generator/index.js --text "Hello World" --terminal

Options

  • -t, --text : The text or URL to encode (required).
  • -o, --output : Output file path (e.g., code.png, code.svg).
  • --terminal: Output QR code as ASCII art to the terminal.
  • --width : Width of the image (default: 500).
  • --color-dark : Dark color (default: #000000).
  • --color-light : Light color (default: #ffffff).

Example: Send QR to Feishu

bash
# 1. Generate QR code
node skills/qr-generator/index.js --text "https://example.com" --output "temp_qr.png"

# 2. Send to user via Feishu
node skills/feishu-image/send.js --target "ou_xxx" --file "temp_qr.png"

# 3. Clean up
rm temp_qr.png

Installation

Terminal bash

openclaw install qr-generator
    
Copied!

💻Code Examples

node skills/qr-generator/index.js --text "Hello World" --terminal

node-skillsqr-generatorindexjs---text-hello-world---terminal.txt
## Options

- `-t, --text <text>`: The text or URL to encode (required).
- `-o, --output <path>`: Output file path (e.g., `code.png`, `code.svg`).
- `--terminal`: Output QR code as ASCII art to the terminal.
- `--width <number>`: Width of the image (default: 500).
- `--color-dark <hex>`: Dark color (default: `#000000`).
- `--color-light <hex>`: Light color (default: `#ffffff`).

## Example: Send QR to Feishu
example.sh
# Generate a QR code image
node skills/qr-generator/index.js --text "https://openclaw.ai" --output "qr_code.png"

# Generate to terminal (ASCII art)
node skills/qr-generator/index.js --text "Hello World" --terminal
example.sh
# 1. Generate QR code
node skills/qr-generator/index.js --text "https://example.com" --output "temp_qr.png"

# 2. Send to user via Feishu
node skills/feishu-image/send.js --target "ou_xxx" --file "temp_qr.png"

# 3. Clean up
rm temp_qr.png

Tags

#pdf_and-documents #code

Quick Info

Category File Management
Model Claude 3.5
Complexity One-Click
Author autogame-17
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
🧠

Ready to Install?

Get started with this skill in seconds

openclaw install qr-generator