🏑 Home > 🧰 Tools

🟣 Word Meter (PureScript)

tools-word-meter-ps

The PureScript port of πŸŽ™οΈ Word Meter. Same selector contract, in-progress feature parity.

Status

This page mounts the PureScript build instead of the JavaScript build. The two builds share a data-testid contract and a Playwright suite that runs against both, so behavior parity is mechanically checked slice-by-slice.

Currently shipped slices:

  • βœ… Slice 1 β€” Start / stop recording, transcript-driven word count.
  • βœ… Slice 2 β€” Live captions panel.
  • βœ… Slice 3 β€” Stats dashboard (short / long / overall words per minute, active listening duration, started clock time).

Slices not yet ported (use πŸŽ™οΈ Word Meter if you need them):

  • Event log with word histories.
  • Diagnostics drawer + copy-diagnostics button.
  • Local-storage persistence and reset button.
  • Screen Wake Lock toggle.
  • Real SpeechRecognition wiring β€” the PS build’s test hook accepts injected utterances, but is not yet wired up to the browser’s recognizer.

See specs/word-meter-purescript-port.md for the full slice plan, and specs/purescript-capability-pattern.md for the capability typeclass pattern the port is being refactored onto.

Browser support

Same constraints as the JS build (Chrome, Edge, Safari, Samsung Internet). Firefox does not currently expose SpeechRecognition.