Skip to content

josearivar/openingtree

 
 

Repository files navigation

Openingtree (with Stockfish Integration)

Fork of openingtree.com with integrated Stockfish 17.1 engine analysis.

This project downloads chess games in form of a PGN from any source, applies specified filters and constructs an opening tree. The tree is visualized on a chessboard with win percentages and other statistics.

New Features: Stockfish Integration

This fork adds Lichess-style Stockfish engine analysis:

  • Evaluation Bar - Vertical bar showing position assessment (like Lichess)
  • Top Move Suggestions - Display top 3 best moves with evaluations in algebraic notation
  • Interactive Analysis - Click moves to play them, hover to highlight on board
  • Board Flip Support - Evaluation bar correctly flips with board orientation

Screenshots

When engine is enabled, you'll see:

  • Evaluation bar on the left side of the board
  • Engine analysis panel below the board showing best lines

Architecture diagram

This does not correlate one to one with the code modules but the interactions at a high level are depicted accurately.

GitHub Logo

Run locally

npm install --legacy-peer-deps
NODE_OPTIONS=--openssl-legacy-provider npm start

starts a server on port 3000

Build for production

NODE_OPTIONS=--openssl-legacy-provider npm run build

Attribution

This project uses code and concepts from:

See ATTRIBUTION.md for full details.

License

GPL-3.0 (same as original OpeningTree)

About

Consolidated view of all your chess games from chess.com, lichess, grandmaster games or custom pgn.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • JavaScript 87.2%
  • CSS 7.2%
  • Gherkin 3.0%
  • HTML 1.9%
  • PEG.js 0.7%