Your LeetCode journey now has fully automated tracking! Here's what's been set up:
- .github/workflows/update-stats.yml - GitHub Actions workflow
- scripts/progress-tracker.js - Problem counter script
- package.json - Node.js configuration
- stats.json - Live statistics file
- update-progress.sh - Manual update script
- tracking-setup.md - This documentation
- Real-time badges showing problems solved, current day, success rate
- GitHub streak calendar automatically tracking your commits
- Activity graph showing your coding pattern
- Dynamic progress bars that update with each commit
- Automated daily stats updates via GitHub Actions
- Every time you commit → GitHub Actions triggers
- Script counts your
.javafiles inDaily-contest/folders - Stats.json updates with new numbers
- Badges refresh automatically in your README
# Run anytime to update stats manually
./update-progress.sh
# Or run the Node.js script directly
node scripts/progress-tracker.js --save✅ Problems Solved: Counts all .java files
✅ Days Active: Counts folders in Daily-contest/
✅ Success Rate: Problems solved vs days elapsed
✅ Current Day: Days since Oct 1, 2025
✅ Streak: Via GitHub commit history
✅ Progress: Visual bars and percentages
- Solve a LeetCode problem
- Create folder:
Daily-contest/oct-X-25/ - Add files:
XXXX.javaandXXXX-problem-summary.md - Commit & push to GitHub
- Everything updates automatically! ✨
- 🔥 Streak Calendar - Shows your coding consistency
- 📊 Progress Bars - Visual representation of your journey
- 🎯 Live Badges - Real-time stats that update instantly
- 📈 Activity Graph - Your coding activity over time
- 📅 Challenge Stats - Days completed, remaining, success rate
📊 === LeetCode Challenge Progress === 📊
🗓️ Challenge Day: 3/90
✅ Problems Solved: 2
📁 Days Documented: 2
📈 Success Rate: 67%
⚡ Average Problems/Day: 0.67
⏰ Days Remaining: 87
🎯 Progress: 3% Complete
✅ Zero Manual Work - Just code and commit
✅ Visual Motivation - See your progress grow
✅ Streak Tracking - Never lose track of your consistency
✅ Professional Portfolio - Impressive GitHub profile
✅ Real-time Updates - Always current statistics
✅ Job Interview Ready - Shows discipline and consistency
If badges don't show:
- Make sure
stats.jsonexists in your repo - Check that GitHub Actions workflow ran successfully
- Verify the repository is public
If counting is wrong:
- Ensure
.javafiles are inDaily-contest/subfolders - Run
./update-progress.shmanually to debug
GitHub Actions not running:
- Check
.github/workflows/update-stats.ymlexists - Verify you have commit permissions
- GitHub Actions must be enabled in repository settings
Your setup is complete and ready! 🎉
Just continue your daily routine:
- Solve problems
- Document solutions
- Commit to GitHub
- Watch your stats grow automatically!
The magic happens behind the scenes. Focus on coding - let automation handle the tracking! 🚀
Happy Coding! 🔥 Your future self will thank you for this consistency! 💪