A Next.js application for analyzing chess openings performance for Lichess.org players
Chess Profile Analyzer is a web application that helps chess players analyze their game performance on Lichess.org. The app focuses on identifying which chess openings provide the best results for a player and provides insights into their strengths and weaknesses.
By analyzing past games, the app helps players:
- Understand which openings they perform best with
- Track their rating progression over time
- Identify patterns in their gameplay
The application uses the Lichess API to fetch game data and performs statistical analysis to provide actionable insights for chess improvement.
- Opening Analysis: Identifies the most successful and frequently played openings for a given player
- Performance Metrics: Calculates win rates and rating changes for each opening
- Game Filtering: Filter analysis by game type, time control, and piece color
- Rating History: Visualizes rating progress over time with interactive charts
- Game History: Browse and review past games with details on openings played
- User Profile Stats: Displays comprehensive profile statistics and metrics
- Responsive Design: Works seamlessly on both desktop and mobile devices
- Framework: Next.js 13 (App Router) with TypeScript
- State Management: React Hooks and Context API
- Data Fetching: React Query (TanStack Query) for efficient API interaction
- Form Handling: React Hook Form with Zod validation
- Styling:
- Tailwind CSS for utility-first styling
- User Experience:
- React Hot Toast for notifications
- React Spinners for loading states
- Date Handling: date-fns for date manipulation and formatting
- Node.js 16.8 or later
- npm or yarn
- A modern web browser
-
Clone the repository:
git clone https://github.com/radekrzepka/chess-profile-analyzer.git
-
Navigate to the project directory:
cd chess-profile-analyzer -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Open http://localhost:3000 with your browser to see the application.
-
Enter a Lichess.org username and configure your analysis preferences to start analyzing chess performance.


