https://mychessrepertoire.com is the best tool for chess players to store and view their opening repertoire. In this repository you will find the code for the backend of the application. It is an API that creates the repertoire and much more!
- Get a generated opening repertoire for your playing style.
- No need to manually build your repertoire with hundreds of lines.
- Customizable.
- Free
Please visit https://mychessrepertoire.com/faq if you have any questions, or you can also reach out to me to brea.emanuel@gmail.com
Clone the project
git clone https://github.com/emanuelbrea/chess-opening-generatorGo to the project directory
cd my-chess-repertoireInstall dependencies
pip install -r requirements.txtStart the server
python .\application.pyClient: React, Material UI
Server: Python, Flask
Database: Postgresql
Library: https://pypi.org/project/chess/ for chess logic
https://documenter.getpostman.com/view/14469653/2s83zgvR3D
POST /api/repertoire| Parameter | Type | Description |
|---|---|---|
color |
string |
Required. White or black |
GET /api/repertoire/${fen}| Parameter | Type | Description |
|---|---|---|
fen |
string |
Required. FEN of the position |
GET /api/position/stats/${fen}| Parameter | Type | Description |
|---|---|---|
fen |
string |
Required. FEN of the position |
Contributions are always welcome!
See contributing.md for ways to get started.
Please adhere to this project's code of conduct.
If you have any feedback, please reach out to me at brea.emanuel@gmail.com