Skip to content

GH-Event-Demos/random-name-picker

 
 

Repository files navigation

Random Name Picker for Lucky Draw

Random Name Picker for GitHub prize draws!

🙏 First, huge shout-out to @icelam for a great and simple name picker we could fork and use for the GitHub booth!

🚀 This site is deployed to GitHub Pages using GitHub Actions. The Actions workflow pulls entrants from commenters of a GitHub Issue.

🎫 To enter the draw (if there is one currently running), please head to the issues tab, and select the issue for the raffle you want to enter. Leave a comment to enter.

Instructions for running a raffle

If you are a Hubber who wants to use this for prize draws, please see the instructions on the GitHub IRL repo

Below is the original README:


Random Name Picker for Lucky Draw

Simple HTML5 random name picker for picking lucky draw winner using Web Animations and AudioContext API

Built with TypeScript Node.js Yarn Code Style Conventional Commits License Language grade: JavaScript Current version

Live Demo

Demo is available at https://pinkylam.me/playground/random-name-picker

Technology Stack

  • Pug
  • CSS3 (SCSS)
  • Web Animations API
  • AudioContext API

Development

Prerequisite

  • Node 12 or nvm installed
  • Yarn or NPM installed

Install dependencies

To install dependencies:

yarn install

Start development server

To start the development server:

yarn start

Build production

To build the project for production:

yarn build

All the build files can be found in /dist folder.

About

Simple HTML5 random name picker for picking lucky draw winners for GitHub events

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 36.2%
  • SCSS 28.6%
  • JavaScript 17.3%
  • Pug 10.0%
  • Dockerfile 6.5%
  • HTML 1.2%
  • Shell 0.2%