DEV Community

Ayush Katiyar
Ayush Katiyar

Posted on

How I Automated My LeetCode Tracking to GitHub (and Added Live Streak Cards)

"Like many student developers, I wanted a hands-off way to keep my GitHub profile active while practicing Data Structures and Algorithms without constantly copy-pasting code. I set up a fully automated workflow that pushes my successful solutions straight to a repository and showcases live coding streaks on my profile. Here is how you can do it in under 5 minutes."

Step 1: Automating Submissions with LeetHub v2
Explain how to install and connect the browser extension:

Mention installing LeetHub v2 on a Chromium browser (like Brave or Chrome).

Link it to a dedicated GitHub repository (e.g., DSA-Solutions).

Pro-Tip to include: Remind readers that it only listens to new successful submissions moving forward, so they will need to quickly re-submit past problems if they want them logged.

Step 2: Showcasing the Grind with GitHub Streak Stats
Explain how to make the profile look highly active and visual:

Show them how to add the Markdown image tags for github-readme-stats and github-readme-streak-stats to their profile README.md.

Provide a quick code snippet using the tokyonight theme so they can see how to align them side-by-side.

Conclusion / Call to Action
"Now, every time you hit 'Submit' on LeetCode, your GitHub contribution graph lights up green, your repo stays updated, and your profile displays a live streak card.

What tools do you use to keep your developer profiles optimized? Let me know in the comments!

Top comments (0)