This is a simple app to do Raffles.
Every list of participants, prices, team members, etc, supports pasting a list of items, using each line of the content pasted as an item to add to the list. It will also use semi-colon ;
as item separator.
You can also add several entries at the same time by writing them in one go separated by semi-colon ;
.
You can save your current setup by clicking in Copy setup link. This will generate the URL with the current setup and copy it to the clipboard (note this might not work on all borwsers if they don't support Clipboard API).
This will simulate a dice roll. You can configure the number of dices and the sides of them using standard dice notation in the Dice Setup input. To use more than one type od dice, enter more than one standard notation separated by colon ;
.
For example, to roll 2 dices with 6 sides each, plus 1 dice of 20 sides, you would enter 2d6;1d20
in the Dice Setup input.
This will randomly pick one item from the list of Participants. If Remove pick is checked, the picked item from the Participants list will be removed and picked will be kept.
Copy setup will also copy the list of picked items if Remove pick is checked.
To use it, just add as many prizes and participants as you want by simply entering the value and pressing Enter
or click Add
. Press Raffle button to perform the raffle.
When the Raffle is performed, if there are more prizes than participants, and prizes cannot be equitably assigned to all participants, some prizes will be To Share, because sharing is caring.
This will create random teams from the list of participants. The number of members per team is indicated with the Team Size input. Simply add the desired team size, the participants, and click on Team Up button.
If participants cannot be evenly distributed, the last team will have the remaining participants.
This will simply re-order the participants list. Simply add the participants and click on Shuffle button.
Rafflr uses PNPM + Vite + Lit + TypeScript (and their respectives required dependencies like Node).
To quickly setup your local environment, run
pnpm i
then
pnpm run dev
If you like this project (or any other) and want to help me contiue to improve it or create new ones, check my Ko-fi profile and consider buying me a Speciality Coffee: