This product was not featured by Product Hunt yet.
It will not be visible on their landing page and won't be ranked (cannot win product of the day regardless of upvotes).

Product Thumbnail

LeetGit

Auto-commit every LeetCode submission to GitHub instantly

Chrome Extensions
Productivity
Developer Tools
GitHub
Visit WebsiteSee on Product HuntTwitterGithubChrome

Hunted byHafeez MohamadHafeez Mohamad

LeetGit is a Chrome extension that automatically syncs your LeetCode submissions to GitHub the moment you hit Submit. Every solution is stored as structured Markdown with your code, runtime/memory stats, difficulty, tags, notes, and attempt history. Features include smart duplicate detection, custom commit messages, sync filters, repo subfolders, token expiry alerts, and real-time sync status. Free, open source (MIT), and no accounts required.

Top comment

Hey Product Hunt! 👋

I built LeetGit because I kept watching people grind LeetCode for months and then walk into interviews with nothing to show for it — no archive, no record of their approach, no way to demonstrate consistency.

The obvious solution was GitHub, but copy-pasting solutions manually is just tedious enough that most people never do it consistently. So I automated the whole thing.

The interesting technical challenge was building this under Chrome MV3 constraints.

The extension uses a three-layer architecture:

- An injected script in the page's MAIN world that wraps fetch/XHR to capture submissions without interfering with LeetCode's own network calls

- A content script that renders the floating panel and relays data to the background

- A service worker that fetches problem metadata, builds structured Markdown, and commits using GitHub's Git Data API (blob → tree → commit → ref PATCH) with a local HEAD cache to avoid stale-ref errors on consecutive syncs

It's fully open source. PRs and issues welcome.

Would love your feedback. What features would make this genuinely more useful for your workflow?

Comment highlights

No comment highlights available yet. Please check back later!

About LeetGit on Product Hunt

Auto-commit every LeetCode submission to GitHub instantly

LeetGit was submitted on Product Hunt and earned 6 upvotes and 1 comments, placing #67 on the daily leaderboard. LeetGit is a Chrome extension that automatically syncs your LeetCode submissions to GitHub the moment you hit Submit. Every solution is stored as structured Markdown with your code, runtime/memory stats, difficulty, tags, notes, and attempt history. Features include smart duplicate detection, custom commit messages, sync filters, repo subfolders, token expiry alerts, and real-time sync status. Free, open source (MIT), and no accounts required.

LeetGit was featured in Chrome Extensions (52.6k followers), Productivity (652.3k followers), Developer Tools (512.9k followers) and GitHub (41.2k followers) on Product Hunt. Together, these topics include over 238.5k products, making this a competitive space to launch in.

Who hunted LeetGit?

LeetGit was hunted by Hafeez Mohamad. A “hunter” on Product Hunt is the community member who submits a product to the platform — uploading the images, the link, and tagging the makers behind it. Hunters typically write the first comment explaining why a product is worth attention, and their followers are notified the moment they post. Around 79% of featured launches on Product Hunt are self-hunted by their makers, but a well-known hunter still acts as a signal of quality to the rest of the community. See the full all-time top hunters leaderboard to discover who is shaping the Product Hunt ecosystem.

Want to see how LeetGit stacked up against nearby launches in real time? Check out the live launch dashboard for upvote speed charts, proximity comparisons, and more analytics.