Onlistly
At a busy gate the same QR ticket can be scanned twice.
- My part
- Solo build for Ledgercross: all 296 commits.
- When
- 2026
- Concurrent scans
- 10,000
- Commits
- 296
- Taps to redeem
- <3
- Cloudflare services
- 5
The problem
At a busy event gate, scanners race each other and the same QR ticket can be redeemed twice, while organizers need limits per stall (entry, food, games) and live counts.
What I built
A multi-tenant ticketing and access-control platform built entirely on Cloudflare: organizers design branded QR tickets and email them, staff redeem from a passwordless scanner PWA in under three taps, and one Durable Object per ticket makes each redemption exactly-once.
How
- 01
Exactly-once redemption
One SQLite-backed Durable Object per ticket acts as the mutex, verified under a 10,000-concurrent-scan load test.
- 02
Off the hot path
Scan logs and live stats go through Cloudflare Queues, and a per-event Durable Object coalesces dashboard broadcasts over hibernatable WebSockets.
- 03
Ticket security
HMAC-SHA256 signed QR tickets with an optional rotating code, stall-scoped revocable scanner tokens, and revoke, transfer and eject.
- 04
Billing and operations
SSLCommerz billing with credit packs, per-segment SMS billing, tiers and time windows, plus-ones and capacity limits, rate limits and dead-letter alerts.
Stack
- Cloudflare Workers
- Durable Objects
- TypeScript
- Hono
- TanStack Start
- Better Auth
- Prisma
More case studies
ScholarHub12,000+ scholarships indexed daily- Keptcash56 merged PRs in 9 days
- APRON67 merged PRs in 5 weeks
TTT Autos3D Spline vehicle showcases
Indian Claypit50,000+ customers served- Ledgercross Blog Studio15 MCP tools and 12 commands
- LedgerScanResponsive from 280px to 4K
Student Management System⭐ 17 Stars, 8 Forks
Mario's Multiverse Adventure3 unique game levels
BD News Scraper & Analytics95+ newspaper spiders
Hotel Management System⭐ 15 Stars, 1 Fork
Have something in mind?
My inbox is open.