Codeforces Tracker is a Python script that generates and updates graphical representations of your Codeforces profile data, including problems solved by rating and your rating history.
Before running the script, make sure you have the following installed:
- Python (version 3.11 recommended)
- Required Python packages (install using
pip install -r requirements.txt
)
-
Clone this repository:
git clone https://github.com/CoderInTheNorth-049/Codeforces_Tracker.git
-
Navigate to Project Directory:
cd Codeforces_Tracker
-
Run the Script:
This will generate graphical charts of your codeforces profile data and save them in their respective directory.
python codeforces.py
-
To automatically update and push these images to your GitHub profile, set up GitHub Actions:
- Refer yml file to understand workflow
- Make your own PAT key and save it as secrets and access it for security purpose.
The project directory contains the following files and directories:
- 'codeforces.py': The Python script for fetching and visualizing Codeforces data.
- 'requirements.txt': A list of Python packages required by the script.
- '.github/workflows/main.yml': GitHub Actions workflow for automating updates to your GitHub profile.
- 'Contest_Rating': Directory to save my daily contest rating graph.
- 'Problem_solved': Directory to save my Problem solving graph according to problem rating.
- 'Latest_Info': A special directory to overwrite my latest graph images so, I can use it to show over my profile.
GitHub Actions are set up to run the script and update your GitHub profile with fresh images daily. Make sure to configure your GitHub repository secrets for authentication.
This project is licensed under the MIT License - see the LICENSE file for details.