batch-qr-generator
Scannednpx machina-cli add skill dkyazzentwatwa/chatgpt-skills/batch-qr-generator --openclawFiles (1)
SKILL.md
1.6 KB
Batch QR Generator
Generate bulk QR codes from CSV data with UTM tracking, logos, and customizable styling for events, products, and marketing.
Purpose
Bulk QR code generation for:
- Event ticketing and check-in
- Product inventory tracking
- Marketing campaign tracking (UTM parameters)
- Business card contact sharing
- Bulk URL shortening with QR codes
Features
- CSV Input: Generate from spreadsheet data
- UTM Tracking: Auto-add campaign tracking parameters
- Custom Styling: Colors, logos, error correction
- Sequential Naming: Auto-generate filenames
- Metadata Export: CSV with QR data and filenames
- Format Options: PNG, SVG output
Quick Start
from batch_qr_generator import BatchQRGenerator
# Generate from CSV
generator = BatchQRGenerator()
generator.load_csv('products.csv', url_column='product_url')
generator.add_utm_params(source='catalog', medium='qr', campaign='2024Q1')
generator.generate_batch(output_dir='qr_codes/')
CLI Usage
# Generate QR codes from CSV
python batch_qr_generator.py --csv products.csv --url-column url --output-dir qr_codes/
# Add UTM tracking
python batch_qr_generator.py --csv products.csv --url-column url --utm-source catalog --utm-campaign 2024Q1 --output-dir qr_codes/
# Add logo
python batch_qr_generator.py --csv urls.csv --url-column link --logo logo.png --output-dir branded_qr/
Source
git clone https://github.com/dkyazzentwatwa/chatgpt-skills/blob/main/batch-qr-generator/SKILL.mdView on GitHub Overview
Generates bulk QR codes from CSV data with UTM tracking, logos, and styling for events, products, and marketing. Supports PNG/SVG outputs, sequential filenames, and metadata export.
How This Skill Works
The tool reads a CSV and maps a URL column, applies optional UTM parameters and logos, then renders a QR code for each row. It saves the codes with sequential filenames and exports a CSV containing QR data and filenames.
When to Use It
- Event ticketing and check-in with QR tickets
- Product inventory tracking via item-specific QR codes
- Marketing campaigns requiring UTM-tracked QR URLs
- Business card sharing via vCard/URL QR codes
- Bulk URL shortening and QR generation for campaigns
Quick Start
- Step 1: from batch_qr_generator import BatchQRGenerator
- Step 2: generator.load_csv('products.csv', url_column='product_url')
- Step 3: generator.generate_batch(output_dir='qr_codes/')
Best Practices
- Prepare a clean CSV with a clearly named URL column
- Decide and apply consistent UTM parameters before generation
- Include an optional logo file if branding is needed
- Ensure the output directory exists and has write permissions
- Test a small batch to verify URL correctness and scannability
Example Use Cases
- Generate event QR tickets with attendee URLs and check-in readiness
- Create product QR codes for shelf labeling with inventory links
- Publish a marketing wave with UTM-tagged QR codes for analytics
- Share contact details via QR business cards (vCard links)
- Bulk generate shortened URLs converted to QR for a campaign
Frequently Asked Questions
Add this skill to your agents