LiveRifa RápidaOwn project
A raffle system with a live public board
A raffle system where buyers pick their own number and upload their own payment proof, while the organizer manages everything from a private panel.
- Cloudflare Workers
- D1
- R2
- Hono
- TypeScript
- Preact
- Turnstile

Hover over the page to scroll through it.The page scrolls by itself so you can see all of it.
The project
Rifa Rapida is a raffle system with numbers 00 to 99. It has two connected sites, one for the public and one for the organizer.
What I built
- A public board, updated live. A buyer picks a free number, reserves it and uploads their own proof of payment.
- A private admin panel, protected with Cloudflare Access, to manage payments, refunds and people who owe, with an audit log of every change and generated receipts.
- Automatic draw. When sales close, the winner is drawn against the Medellín Lottery result.
- Protection. Anti-bot verification, limits per phone and address, validation of the uploaded file by its real contents, and daily automatic backups.
The system runs on Cloudflare Workers, with a D1 database and R2 file storage, and the code has hundreds of automated tests with a clean type check.
The result
A working raffle system in production: a live public board where buyers reserve their number and upload their receipt themselves, and a private panel where the organizer runs payments, the draw and backups.