Live-Poll icon indicating copy to clipboard operation
Live-Poll copied to clipboard

Live-Poll

All Contributors

Set Up

  1. Clone repository
  2. Run npm install
  3. Copy and rename .env.example to .env
  4. Run npm run postinstall (optional)
  5. Run npm run dev (development mode) or npm start (production mode)
  6. Open the page in your browser (https://localhost:3000). It will list all the active polls.
  7. Type in the username and password found in .env

Available Routes

  • http://localhost:3000/create to create a new poll
  • http://localhost:3000/newest to show the results of the newest poll
  • http://localhost:3000/vote/{poll_id} to vote in a poll
  • http://localhost:3000/poll/{poll_id} to show the results of a poll
  • http://localhost:3000/qrcode to show a qrcode with the url to newest poll

Additional URL-Parameters

  • monotone=boolean
    • applies a reduced color scheme for voting bars
    • ignored if overlay=true is used
  • simple=boolean
    • applies a basic font type
  • overlay=boolean
    • overwrites monotone parameter
    • applies a compact view especially for live streams / OBS

Example usage

/poll/{poll_id}?monotone=true&simple=true&overlay=true

Contributors ✨

Thanks goes to these wonderful people (emoji key):


crunchypi

💻 🤔

Julian

💻 🤔

Manthan

💻 🎨

Simon Tiger

💻 🤔

Pieter De Schepper

🎨 💻

Dimitri Tabatadze

💻 🤔

Shaw Kai

💻 🤔

Beery Shklar

💻

Fun Planet

🤔 💻

Samuel Martineau

🤔

Daniel Shiffman

💻

John

🤔

Bunnygamers

🤔

Rajaram Joshi

📖

Younes Aassila

📖

GiggioG

💻 🎨

Tom

💻 🎨

This project follows the all-contributors specification. Contributions of any kind welcome!