gmahota/ChessTraning
Lichess Activity Reader
This service was developed in Node.js to read player activities on Lichess. It allows access to player data and their activities on the site.
Features
- Reads recent activities of players on Lichess.
- Real-time data processing.
- Displays statistics and summaries of activities.
Prerequisites
Make sure you have the following tools installed on your machine:
- Node.js v14.0.0 or higher
- npm v6.0.0 or higher
Installation
-
Clone the repository:
git clone https://github.com/gmahota/ChessTraning.git -
Navigate to the
lichessdirectory:cd lichess -
Install the project dependencies:
npm install
Configuration
-
Create a folder named
contentat the root of the project, if it doesn’t already exist:mkdir content -
Inside the
contentfolder, create aplayers.jsonfile with player data. The format should be as follows:[ { "user": "AAAA", "name": "BBB", "team": "Mozambique" }, { "user": "CCC", "name": "IIII", "team": "Mozambique" } ]
Running the Service
-
To start the service, you can use one of the following commands:
-
To start the service in development mode:
npm run dev
To start the service in production mode:
npm start
Contribution
Contributions are welcome! If you find any errors or issues in the project:
- Create an issue detailing the error you found.
- If you know how to fix the problem, submit a pull request with your proposed solution.
- If you need help, feel free to open an issue asking for support or suggesting improvements.
Please submit a pull request or open an issue to discuss any changes you would like to make.
License
This project is licensed under the MIT License.
Funding
If you'd like to support the development of this project, consider contributing through the following options:
Your support helps us continue to improve and maintain the project. Thank you!