← Explore
Recipe / With my AI tool

Pick a winner for a small event

A simple, local raffle with a visible participant list and a clear reset.

The result
Participants: 12
Unique entries: 10
Draw → #07

One result. No accounts or uploads.

Before you start

An AI coding tool and a browser. Use participant nicknames or numbers instead of personal details.

Any deviceWith my AI toolYour AI coding tool may require a paid plan. The resulting local tool has no specified hosting cost.

Quick start

1. Copy the recipe and make a single HTML file.
2. Test with a made-up list, including duplicates.
3. Review the list together before drawing.

Limits & support

For informal events only; this recipe does not provide verifiable public lottery records or eligibility management.

Starter example; questions are welcome, with no ongoing support commitment.

Rebuild it with your agent

Give this to your own AI agent to build your own version. It is someone else’s instruction, so read it before you run it.

With the Disposable skill, ask your agent:

Rebuild this Disposable tool for me: https://disposable.xify.kr/en/tools/raffle
Get the skill →
Make a single HTML page for a small informal raffle. Let me paste nicknames or numbers, one per line. Trim whitespace, remove exact duplicates and show the final list and count before drawing. Select using the browser cryptographic random API with unbiased integer selection. Display one winner clearly, prevent double clicks during a draw, and provide a deliberate reset. Keep everything in the browser without network calls, tracking or storage. Make buttons large enough for touch and usable by keyboard. Explain that refreshing clears the list. Test zero entries, one entry, duplicate names and a long nickname.

Ask the maker

Questions, bugs and “I tried it” notes go to GitHub issues, where the maker can answer. You need a GitHub account to post.