Skip to content

ccssmnn/tokensperminute

Repository files navigation

tokensperminute

A typing speed test for programmers. Measures tokens per minute using LLM tokenization (GPT-4 tiktoken).

"The era of humans writing code is coming to an end."

While AI generates code for you, you can still have fun practicing the actual writing part.

Live at tokensperminute.com

Features

  • Type real code snippets in TypeScript, Python, Go, Ruby
  • Measures tokens/min (not just WPM) using tiktoken
  • Accuracy tracking with diff-based scoring
  • Local-first with Jazz sync
  • Shareable results

Development

bun install
bun dev

Scripts

  • bun dev - dev server
  • bun run build - production build
  • bun run lint - eslint
  • bun run check - typecheck + lint + format check

Stack

  • Bun + Vite
  • React 19, TanStack Router
  • shadcn/ui, Tailwind v4
  • Jazz (local-first sync)
  • js-tiktoken for token counting

Contributing

Contributions welcome! Open an issue or PR.

License

MIT

About

Typing Speed Test for Programmers

Resources

License

Stars

Watchers

Forks

Contributors

Languages