Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JamarTG/litrainer

Repository files navigation

License Issues Last Commit Contributions welcome PRs Welcome Deploy

image

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.


Features

Move Feedback with Classification

Each move is analyzed and classified using a system inspired by Chess.com:

  • Blunder
  • Mistake
  • Inaccuracy
  • Good
  • Excellent
  • Best

Customizable Board and Pieces

Choose from Lichess’s available board themes and piece styles.

Opening Recommendations

When a mistake occurs in the opening phase, it identifies the relevant opening and provides a direct link to the Lichess Opening Explorer.

Game Filtering

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..

Game Links

Each puzzle providesdes a direct link to view the full game on lichess.org.

Game Metadata

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.


Installation

git clone https://github.com/JamarTG/litrainer.git
cd litrainer
npm install
npm run dev

About

open source chess training tool for lichess players

Topics

Resources

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •