Projects / LeetCode Activity Tracker
LeetCode Activity Tracker
01 · problem
LeetCode profiles show totals and a heatmap, but not which questions you actually worked on this week or month.
02 · approach
Enter any username and a Next.js API route queries LeetCode's GraphQL for solved totals, the daily submission calendar and recent solves (difficulty batched into one aliased query), cached for 10 minutes and rate-limited. For the owner, a server-only session pages the full submission history, so every attempted question shows attempts, last result and languages. Filters: this week, this month, last 30 / 90 / 365 days, status, difficulty and search, with a daily chart and CSV export.
03 · impact
A clear weekly and monthly practice log in seconds — live at /leetcode.
- Next.js
- TypeScript
- GraphQL
- REST API
- LeetCode
Framework: Next.js