#!/usr/bin/env python3 import qrcode from pathlib import Path # Create shortcuts directory Path('qr-codes').mkdir(exist_ok=True) shortcuts = [ { 'name': 'Trigger_Morning_Briefing', 'url': 'https://t.me/clawdbot?start=morning_briefing_now', 'desc': 'Trigger your Morning Intelligence Briefing' }, { 'name': 'Quick_Task', 'url': 'https://t.me/clawdbot?start=task_new_medium', 'desc': 'Add task to Notion' }, { 'name': 'Quick_Expense', 'url': 'https://t.me/clawdbot?start=expense_0_general', 'desc': 'Log expense' }, { 'name': 'Send_to_OpenClaw', 'url': 'https://t.me/clawdbot', 'desc': 'Open chat with OpenClaw' } ] for s in shortcuts: qr = qrcode.QRCode( version=1, box_size=10, border=5 ) qr.add_data(s['url']) qr.make(fit=True) img = qr.make_image(fill_color='black', back_color='white') img.save(f"qr-codes/{s['name']}.png") print(f"✅ Generated: {s['name']}.png") print(f" URL: {s['url']}") print(f" Desc: {s['desc']}") print() print('All QR codes generated in qr-codes/ directory')