Skip to content

mH-13/leetcode-grind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode-grind

Beautiful LeetCode problem tracker with auto-fetch from URL, interactive dashboard, and one-command workflow!

✨ Key Features

🤖 Auto-fetch - Paste LeetCode URL, get title/tags/difficulty/code automatically 🧙 Interactive wizard - One command does everything 📊 Beautiful dashboard - Heatmap, charts, and stats 🎨 Cream aesthetic - Easy on the eyes 🚀 Full automation - File creation, sync, git commit & push

🚀 Quick Start

# 1. Fetch problem from LeetCode URL
python scripts/fetch_leetcode.py https://leetcode.com/problems/two-sum/

# 2. Run wizard (auto-loads fetched data!)
./daily.sh

# 3. Select track → Done!

📊 Progress

Leetcode 75: 8/76 (11%) Top Interview 150: 0/5 (0%) Sql 50: 1/4 (25%)

🌐 Dashboard

Live at: https://mh-13.github.io/leetcode-grind/

  • Progress cards with animated counters
  • GitHub-style activity heatmap (365 days)
  • Difficulty distribution charts
  • Tag cloud visualization
  • Recent activity feed
  • Filterable problem list

📖 Full Documentation

See GUIDE.md for complete guide including:

  • Detailed workflow
  • Pro tips and aliases
  • Customization
  • Troubleshooting

🛠️ Setup (One-Time)

git clone https://github.com/mh-13/leetcode-grind.git
cd leetcode-grind
pip install requests
chmod +x daily.sh

Enable GitHub Pages: Settings → Pages → Source: docs/

💡 Pro Tip

# Add to ~/.bashrc or ~/.zshrc
alias lcf='python ~/Codes/leetcode-grind/scripts/fetch_leetcode.py'
alias lc='cd ~/Codes/leetcode-grind && ./daily.sh'

Then:

lcf <paste-leetcode-url>  # Auto-fetch
lc                         # Run wizard

📁 Structure

python/leetcode-75/0001_two_sum.py
       └─ track ─┘ └id┘└── slug ──┘

Always 4-digit ID, underscore slug


Made with ☕ and automation • See GUIDE.md for details

About

Leetcode solve

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published