A chess improvement tool based on Lichess’s Learn from your mistakes feature extended with custom themes, detailed move feedback and recommended opening study links.
The tool uses the Lichess API to grab your in-game mistakes and serves them in the form of chess puzzles.
Each move is analyzed and classified using a system inspired by Chess.com:
- Blunder
- Mistake
- Inaccuracy
- Good
- Excellent
- Best
Choose from Lichess’s available board themes and piece styles.
When a mistake occurs in the opening phase, it identifies the relevant opening and provides a direct link to the Lichess Opening Explorer.
Analyze games based on filters such as:
- Player name
- Date range
- Time control
- Max number of games to select from
- Color
- Order to select puzzles
More to be added later..
Each puzzle providesdes a direct link to view the full game on lichess.org.
Additional game details include:
- Rating difference (points lost or gained)
- Time control
- Game Phase of Puzzle
- Termination of Game
##Info about the tech used
The application relies on the Lichess API to fetch games and PGN data. The engines are stockfish17 with multithread or single thread options depending on device. Cached positions from Lichess API are used as well. The interactive board uses react-chessground.
Other Tools: TypeScript, React, Tailwind CSS.
git clone https://github.com/JamarTG/litrainer.git
cd litrainer
npm install
npm run dev