Skip to content

LBBO/debate-mate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Debate Mate

A specialized timer for debates (currently limited to BP and OPD).

Features

  • ⏳ Choose the type of speech you'd like to moderate (7 minutes for BP or regular OPD, 3.5 minutes for OPD free speeches, 1 minute for OPD rebuttals)
  • 🔔 Different sounds alert you to the end or beginning of protected time, the end of regular time, and the end of the grace period
  • ⏩ If a speech ends early, the timer switches over to show the remaining preparation time
  • 😶‍🌫️ Forgot to start the timer? Just deduct a few seconds after the fact!
  • 💬 Track POIs (Points of Information) and get notified by a sound if they take too long
  • 🔆 Your phone screen is kept from locking (can be checked via the icon in the bottom-right corner)
  • 👀 Test or demonstrate the sounds and the UI via the demo page in the menu

Development

First, run the development server:

pnpm dev

Open http://localhost:3000 with your browser to see the result.

Testing

Unit and component tests use Vitest:

pnpm test        # run once
pnpm test:watch  # watch mode

End-to-end tests use Playwright (run pnpm exec playwright install once to fetch browsers):

pnpm test:e2e          # functional flows, against `next dev`
pnpm test:e2e:offline  # service worker / offline behavior, against a production build

Used by

Contributors

Languages