Rechercher

PythonReactSEOPDF
OpenClaw

qr-generator

Generate QR codes from text or URL for mobile scanning.

autogame-170 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install autogame-17/qr-generator

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

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

# 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 <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

# 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

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/autogame-17/qr-generator
Version
—
Commit
b69ca5f0ad9aa73391ee4486dde117896bfc43bb
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 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 <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

```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
```

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.