- Python 97.9%
- Just 2.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Tag & Publish / tag-and-publish (push) Successful in 4s
|
||
| .forgejo/workflows | ||
| fw_nodes_qrcode | ||
| tests | ||
| .gitignore | ||
| justfile | ||
| pyproject.toml | ||
| README.md | ||
fw-nodes-qrcode
QR code generation nodes for Flowire workflow automation. Includes dedicated nodes for common QR code formats (WiFi, email, contacts, etc.) with shared styling options.
Installation
pip install fw-nodes-qrcode
Enable the package in your backend .env:
INSTALLED_NODE_PACKAGES=fw-nodes-core,fw-nodes-qrcode
Nodes
All nodes share the same styling options and output schema. Each node has format-specific input fields tailored to its use case.
Generate QR Code
Encode arbitrary text or a URL.
| Field | Type | Default | Description |
|---|---|---|---|
text |
string | required | Text or URL to encode |
Email QR Code
Opens an email compose window when scanned (mailto: URI).
| Field | Type | Default | Description |
|---|---|---|---|
email |
string | required | Recipient email address |
subject |
string | "" | Email subject line |
body |
string | "" | Email body text |
cc |
string | "" | CC recipients (comma-separated) |
bcc |
string | "" | BCC recipients (comma-separated) |
WiFi QR Code
Connects to a WiFi network when scanned.
| Field | Type | Default | Description |
|---|---|---|---|
ssid |
string | required | WiFi network name |
password |
string | "" | WiFi password |
security |
string | "WPA" | Security type: WPA, WEP, nopass |
hidden |
bool | false | Whether the network is hidden |
Contact QR Code
Adds a contact via vCard 3.0.
| Field | Type | Default | Description |
|---|---|---|---|
first_name |
string | required | First name |
last_name |
string | "" | Last name |
phone |
string | "" | Phone number |
email |
string | "" | Email address |
organization |
string | "" | Company or organization |
title |
string | "" | Job title |
url |
string | "" | Website URL |
address |
string | "" | Street address |
note |
string | "" | Additional notes |
Phone QR Code
Dials a phone number when scanned (tel: URI).
| Field | Type | Default | Description |
|---|---|---|---|
phone_number |
string | required | Phone number (e.g. +1234567890) |
SMS QR Code
Sends an SMS message when scanned (smsto: URI).
| Field | Type | Default | Description |
|---|---|---|---|
phone_number |
string | required | Recipient phone number |
message |
string | "" | Pre-filled message text |
Event QR Code
Adds a calendar event when scanned (vEvent).
| Field | Type | Default | Description |
|---|---|---|---|
summary |
string | required | Event title |
start |
string | required | Start date/time (ISO 8601) |
end |
string | "" | End date/time (ISO 8601) |
location |
string | "" | Event location |
description |
string | "" | Event description |
Geo QR Code
Opens a map location when scanned (geo: URI).
| Field | Type | Default | Description |
|---|---|---|---|
latitude |
float | required | Latitude (-90 to 90) |
longitude |
float | required | Longitude (-180 to 180) |
Shared Styling Options
All nodes include these styling fields (appearing after format-specific fields):
| Field | Type | Default | Description |
|---|---|---|---|
size |
int | 10 | Box size in pixels per module (1-50) |
border |
int | 2 | Border size in modules (0-20) |
error_correction |
string | "M" | Error correction level: L (7%), M (15%), Q (25%), H (30%) |
module_style |
string | "square" | Module shape: square, gapped_square, circle, rounded, vertical_bars, horizontal_bars |
color_mode |
string | "solid" | Color fill mode: solid, radial_gradient, square_gradient, horizontal_gradient, vertical_gradient |
fill_color |
string | "black" | Module color for solid mode, or start color for gradients (name or hex) |
back_color |
string | "white" | Background color (name or hex) |
gradient_end_color |
string | "#0000FF" | End color for gradient modes (name or hex) |
Shared Output
All nodes produce the same output:
| Field | Type | Description |
|---|---|---|
image |
storage ref | Storage reference to the generated PNG |
size_bytes |
int | Image file size in bytes |
version |
int | QR code version (1-40) |
Development
just install # Install dependencies
just test # Run tests
just lint # Run linter
just format # Format code
Dependencies
- python-qrcode - QR code generation with styled output support