Updates:
- Added adjustable stockfish search time and search depth
An open-source chess analysis web app runnable in your local machine powered by Stockfish 16 NNUE. Includes:
- move explanations in plain language similar to chess.com's game review
- more metric functionalities than just the eval bar: tension, control, development, and mobility
- accuracy and estimated ELO calculations
- move classifications: excellent, good, inaccuracies, mistakes, blunders, and brilliant moves
preview.mp4
-
Setting up OpenChess: Insights (OCI) requires python to be installed on the machine. Go to https://www.python.org/downloads/ to download python. Make sure to add it to PATH during installation.
-
Download this respository as a zip file and extract it.
-
Install the packages in requirements.txt
-
Run the file run.bat to automatically start up the application on your web browser.
-
Go to the url above and input a chess game's PGN. A 30-move game will take about 5 to 10 minutes to process. The output on the IDE or CLI will show some progress bars.
The code in this repository is quite cluttered, and contains a lot of bugs.
- ARROW KEYS FOR NAVIGATION BETWEEN MOVES
- A PROCESSING PAGE WHEN IT IS ACTUALLY LOADING INSTEAD OF STARING AT SUBMIT
- Make setup easier
- Enable customization of stockfish evaluation for faster analysis
- Fix rating/ELO estimation (formula sometimes overestimates rating)
- Improve layout
- Remove redundant code for speedup
JS Chessboard interface from cm-chessboard (MIT License)
Chess opening dataset from lichess-org
Chess metrics inspired by mptedesco