Skip to content

About

Fetches your Chess.com game history, replays every move, uses Stockfish engine analysis to detect blunders by evaluation drop, extracts the exact pre-mistake FEN positions and best alternative moves, and turns them into an interactive “solve the right move to continue” training app. Implemented as both a local Python tool and a Next.js web web app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

92 Commits

Folders and files

Repository files navigation

ChessBlunders.org

A chess training tool that analyzes your Chess.com games to find blunders and turn them into personalized training puzzles. Analysis runs entirely in your browser with Stockfish 16 NNUE compiled to WebAssembly; there are no engine servers.

image image image

How It Works

  1. Imports all your games from Chess.com
  2. Replays each game in your browser and runs Stockfish 16 NNUE (multithreaded WebAssembly) on every position you played
  3. Detects blunders using an evaluation drop threshold (100 centipawns)
  4. Saves the blunders as training puzzles, including the engine's best alternatives
  5. Trains you by requiring correct moves to progress

Because the engine runs client-side, analysis is free to operate at any scale: your machine does the work, and only the results are stored. See docs/guide.md for the full architecture, including the cross-origin isolation (COOP/COEP) setup that WebAssembly multithreading requires.

Project Structure

Web App (website/)

The main Next.js web application deployed at chessblunders.org.

Tech Stack:

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS
  • Supabase
  • Stockfish 16 NNUE (WebAssembly, in lib/engines/ + public/engines/)

Development:

cd website
npm install
npm run dev

Dashboard (dashboard/)

An admin dashboard for monitoring site analytics and usage statistics.

Tech Stack:

  • Next.js 15
  • React 19
  • TypeScript
  • Tailwind CSS
  • Supabase

Development:

cd dashboard
npm install
npm run dev

Testing (testing/)

Python + Playwright end-to-end tests that run against the deployed site, including engine and game-analysis verification. See testing/README.md.

Docs (docs/)

Project specification and architecture notes.

License

MIT

About

Fetches your Chess.com game history, replays every move, uses Stockfish engine analysis to detect blunders by evaluation drop, extracts the exact pre-mistake FEN positions and best alternative moves, and turns them into an interactive “solve the right move to continue” training app. Implemented as both a local Python tool and a Next.js web web app.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages