Skip to content

hadley/smolpoll

Repository files navigation

smolpoll

A lightweight polling system for live presentations. It runs locally, but you can use a tool like https://pinggy.io to share it over the internet.

Quick start

# Run with example polls
go run . polls/example.yaml

# Open in browser:
# - Voters: http://localhost:8080/
# - Presenter: http://localhost:8080/admin

Configuration

Create a YAML file with your polls:

polls:
  - question: "What's your favorite programming language?"
    options:
      - Go
      - Python
      - JavaScript
      - Rust

  - question: "How often do you write tests?"
    options:
      - Always
      - Sometimes
      - Rarely
      - Never

During a talk

  1. Start smolpoll with your polls file
  2. Open /admin on your presenter screen to see live results
  3. Share the URL with your audience to vote
  4. Click "Next poll" / "Previous poll" to navigate between questions
  5. Press Ctrl+C to quit - results auto-save to results/<pollfile>-YYYY-MM-DD-HHMMSS.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors