360 Secure SkillHub
360 安全技能中心

QRCode Generator

该 Skill 提供命令行脚本,将用户输入的文本或 URL 通过 qrserver 公开接口生成 PNG 格式二维码图片,支持自定义尺寸(默认 300px)和边距,无需 API Key。依赖 Python 3.7+ 与 certifi 做 SSL 校验。输入内容会发送到第三方服务,官方说明不建议用于敏感信息。

freedompixels
freedompixels
热度 32.21
最近更新 2026-05-11 17:46:09
分类:效率依赖:代码执行 / 读写文件 / 第三方 API应用场景:文件转换

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add qrcode-tool
Metadata
slug
qrcode-tool
name
QR Code Generator
description
Generate QR codes from URLs or text. Export as PNG with customizable size. No API key required.
keywords
qrcode, qr, barcode, generator, url, text
version
1.0.0
author
Qiance
language
en

QR Code Generator

Generate QR codes from any text or URL. Supports customization and exports as PNG format.

Features

  • Generate QR codes from any text/URL
  • Custom size (default 300px)
  • Custom margin
  • Export as PNG format
  • No API key required

Usage

# Generate QR code for URL
python3 scripts/qrcode_generator.py "https://example.com"

# Generate QR code for text
python3 scripts/qrcode_generator.py "Hello World"

# Custom size
python3 scripts/qrcode_generator.py "https://example.com" --size 500

Examples

Generate QR code for: https://github.com
Generate QR code for: Contact me at hello@example.com
Generate QR code for: WIFI:T:WPA;S:MyNetwork;P:password;;

Technical Details

  • Uses qrserver.com public API
  • SSL certificate verification enabled (certifi)
  • No sensitive data transmission

Dependencies

  • Python 3.7+
  • certifi (SSL certificates)

Privacy Note

Input text is sent to api.qrserver.com (third-party service). Not recommended for sensitive information.


中文说明

输入URL或文本,生成PNG二维码。

  • 自定义尺寸(默认300px)
  • 无需API Key
  • 使用qrserver.com公开API