Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a free QR code API + MCP server on Cloudflare Pages — here's the whole design

说明与用途

FreeQrly 是一个基于 Cloudflare Pages 和 D1 的免费 QR 码生成器,提供统一的身份验证和配额系统,支持 Web UI、REST API 和 MCP,允许 AI 代理在无需注册的情况下生成静态和动态 QR 码。

问题

Most QR code generators are either ad‑covered landing pages or SaaS products with a paywall behind "dynamic codes". I wanted a generator that is free, private by default, and natively callable by AI agents.

结果

FreeQrly delivers a fully free, privacy‑first QR code service with a unified auth and quota system that works across a web UI, REST API, and MCP, enabling AI agents to generate static and dynamic codes without sign‑ups.

工作流

  • 1. User accesses static API via GET https://freeqrly.com/api/qr?data=… to receive an SVG.
  • 2. For dynamic codes, user logs in via Google, GitHub, or email+password, creates up to 8 codes, and can edit or delete them after printing.
  • 3. User creates an API token in the Dashboard; token is stored as a SHA‑256 hash and can be revoked.
  • 4. User calls MCP POST https://freeqrly.com/mcp with Authorization: Bearer <token> to access dynamic QR tools.
  • 5. System enforces quota, ownership, and revocation consistently across UI, API, and MCP.

证据

Most QR code generators are either ad-covered landing pages or SaaS products with a paywall behind "dynamic codes".

来源

I built FreeQrly — open source (BryceBin/freeqrly, MIT), running entirely on Cloudflare Pages + D1.

来源

one shared auth/quota core serving three surfaces — web UI, REST API, and MCP.

来源

The API-token flow reuses the UI's auth and quota logic instead of duplicating it.

来源

I verified this end to end with a real test account in a real browser — login, token creation, REST create→list→stats→update→scan-redirect→delete, MCP tool calls, then 401s after revocation — and cleaned up all test data afterward.

来源

  • 记录日期: 2026-10-19T04:42:35.641Z