LeetCode Profile Analyzer is a web application designed to evaluate and visualize your LeetCode profile. By analyzing the number of questions you've solved and the contests you've participated in, provides an insightful representation of your progress and activity on LeetCode. The tool displays this data using a heat map similar to GitHub's contribution graph and allows you to save your profile analysis offline as a JPEG image.
- Profile Worth Calculation: Determine the value of your LeetCode profile based on the number of questions solved and contests participated in.
- Heat Map Visualization: View your activity over time with a heat map similar to GitHub's contribution graph.
- Offline Profile Saving: Save your analyzed profile as a JPEG image for offline viewing and sharing.
-
Clone the Repository
git clone https://github.com/yourusername/leetcode-profile-analyzer.git cd Leetcode-Profile-Analyzer
-
Install Backend Dependencies
cd server npm install
-
Set Up Environment Variables Create a
.env
file in theserver
directory with the following content:PORT=5000
-
Start the Backend Server
npm start
-
Install Frontend Dependencies
cd npm install
-
Start the Frontend Server
npm start
The frontend will run on http://localhost:3000
and the backend on http://localhost:4000
.
-
Open the Application In your browser, navigate to
http://localhost:3000
. -
Input Your Profile Data
- Enter your LeetCode username in the input field.
-
View the Heat Map
- The heat map will be displayed showing your activity over time.
-
Save Your Profile
- Click the "Save as JPEG" button to save your profile analysis as a JPEG image.