QRdx Self-Hosted QR Code Platform Deployment Guide
Published 2026-11-22Category: Guides
Complete guide to self-hosting QRdx: Docker Compose setup, visual editor, dynamic codes, scan analytics, hosted pages, REST API, CLI
Table of contents
- 1.Introduction & Key Highlights
- 2.Core Specs & Comparison Matrix
- 3.Deep Dive & Operational Details
- 3.1.Docker Compose Architecture & Critical Configuration
- 3.2.Core Feature Loop: Design-to-Distribution Closed Loop
- 3.3.Developer Integration & Automation Scenarios
- 4.Scenario-Based Selection & Pitfall Checklist
- 5.FAQ
- 6.Sources & References

Introduction & Key Highlights
QR codes have permeated marketing, operations, documentation sharing, and countless other scenarios. Yet mainstream online generators often come with watermarks, mandatory account binding, subscription models, or limited customization. QRdx is an open-source QR code platform that bundles a visual editor, dynamic links, scan analytics, hosted landing pages, and a full developer toolchain (REST API, CLI, MCP Server, JavaScript SDK) — all fully self-hostable. This article covers Docker Compose deployment, core capability matrix, and self-hosting boundaries, targeting ops engineers, indie developers, and teams seeking data sovereignty on their own infrastructure.
Core Specs & Comparison Matrix
| Dimension | Key Information | Notes / Risk Alerts |
|---|---|---|
| Project Positioning | Open-source QR code generation & management platform | Self-hosted, full data control |
| Core Capabilities | Visual editor, dynamic codes, scan statistics, hosted pages, team collaboration, multi-format export | Static codes need no account, watermark-free export |
| Design Customization | Module/eye patterns, colors, gradients, borders, logo, built-in themes | Built-in scan readability simulation (resolution/blur modeling) |
| Export Formats | PNG, JPG, WebP, SVG, PDF, EPS | Covers screen and print scenarios |
| Developer Tools | REST API, Image API, MCP Server, CLI, JavaScript library | Easy integration into CI/CD or business systems |
| Deployment Method | Docker Compose (PostgreSQL + DB HTTP Proxy) / Manual Node.js + Bun | App listens on port 3000 by default |
| Required Env Vars | App URL, auth secret, login method | Must configure GitHub, Google, or email provider |
| Resource Baseline | Source mentions 8 GB RAM | Specific CPU/disk requirements not disclosed in source |
| Auth Mechanism | OAuth (GitHub/Google) or email provider | No local account system, depends on external identity sources |
| Database | PostgreSQL (bundled in Compose) | Production: external managed PG or scheduled backups recommended |
Deep Dive & Operational Details
Docker Compose Architecture & Critical Configuration
The QRdx Docker stack comprises three core services: the main application (Node.js/Bun, port 3000), PostgreSQL database, and a database HTTP proxy. Before launch, prepare a .env file with three categories of critical variables:
APP_URL— public access address including protocol and domainAUTH_SECRET— high-entropy random string for session signing- Authentication provider credentials:
GITHUB_CLIENT_ID/SECRETorGOOGLE_CLIENT_ID/SECRETor email provider SMTP/API key
The Compose file pulls images automatically and establishes inter-service networking. On first start, database migrations run automatically. For production, terminate TLS at a reverse proxy (Nginx/Caddy/Traefik) and set APP_URL to an https:// domain. If exposing port 3000 directly, handle certificates and security groups yourself. The source does not provide the full docker-compose.yml or .env.example; refer to the official repository for the latest versions.
Core Feature Loop: Design-to-Distribution Closed Loop
The editor provides a WYSIWYG canvas: adjust module patterns (square/dot/diamond), finder eye shapes, foreground/background gradients, outer border text, and logo embedding. After design, the built-in “Scan Verification” renders at multiple resolutions and simulates real-world conditions — camera motion blur, low contrast — outputting a readability score and risk warnings (e.g., “modules too small causing unreadable edges”), significantly reducing print rework.
Static codes generate without login, exporting all six formats. Dynamic codes require login; they produce a short link pointing to a backend route, letting you change the target URL later via dashboard without replacing the physical code. Scan statistics aggregate by region, device type, browser, and time, with CSV export. The hosted pages module creates menus, contact forms, and link aggregation pages zero-code; combined with dynamic codes, it enables “offline code, online content change” operational loops.
Developer Integration & Automation Scenarios
- REST API covers CRUD for codes, batch export, statistics retrieval, team/member management.
- Image API generates images on-demand via parameters (
GET /api/v1/qr/image?data=...&style=...), ideal for PDF generation, email templates, CI pipelines. - MCP Server lets LLMs call QRdx directly (e.g., “generate a gradient code pointing to latest release page and return SVG”).
- CLI (
qrdx-cli) providescreate,list,update-destination,exportsubcommands; shell scripts enable batch migration, scheduled stats ingestion. - JavaScript SDK (
@qrdx/sdk) wraps browser and Node calls for dynamic rendering or SSR.
The source does not disclose API rate limits, webhook callbacks, or SDK version numbers; consult official API docs before integration.
Scenario-Based Selection & Pitfall Checklist
- Marketing/ops teams frequently changing landing pages — Choose dynamic codes + hosted pages with scan stats for A/B testing. Pitfall: must configure reliable email/OAuth login, otherwise team collaboration fails.
- Developers needing batch QR generation in CI/CD — Use Image API or CLI non-interactively. Pitfall: API key rotation strategy not disclosed; add IP allowlist and rate limiting at reverse proxy layer.
- Print-grade collateral production — Always run “Scan Verification” and adjust module size/contrast per recommendations. Pitfall: verify vector path integrity when exporting EPS/PDF; font outlining support not mentioned in source.
- Resource-constrained edge nodes / home labs — Only 8 GB RAM baseline mentioned; no minimum specs given. Pitfall: on small-memory machines, externalize managed PostgreSQL and disable non-essential services; monitor OOM risk.
- Compliance requiring data residency / no external identity dependency — Currently only GitHub, Google, email OAuth; no local accounts. Pitfall: if third-party IdPs are prohibited, implement mTLS or zero-trust gateway at reverse proxy for access control.
FAQ
Does QRdx self-hosting require an external OAuth provider?
Yes. The source explicitly states login requires configuring GitHub, Google, or an email provider; no built-in username/password or LDAP/OIDC integration is mentioned. In fully air-gapped environments, you must implement identity proxy at the gateway layer or wait for upstream support of additional auth sources.
Does static QR code generation require login or have export limits?
No login required, and watermark-free export of all six formats (PNG/JPG/WebP/SVG/PDF/EPS). Dynamic codes, scan statistics, hosted pages, team collaboration, and other advanced features require login.
How to achieve database high availability and backups in production?
The source only notes Compose includes PostgreSQL and DB HTTP Proxy, with no details on backup, replication, or managed migration. Recommendation: production should use external managed PostgreSQL (e.g., RDS, CloudSQL) or self-hosted primary-replica, combined with scheduled pg_dump and WAL archiving. Compose suits dev/test/low-load scenarios only.
Sources & References
- Noted.lol: QRdx is an Open-Source QR Code Generator You Can Self-Host (2026-11-21)
Spotted outdated pricing, stock, or expired coupons?See methodology & report an update →

