Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of LeetCode to GitHub Sync

LeetCode to GitHub Sync by sandysam

Automatically push accepted LeetCode submissions to your GitHub repository to build your coding portfolio with zero effort.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
The configure popup.Includes drop down for detailed steps.You can Test the Connection!The popup includes number of submissions it synced.A message appears on top right of the screen when you click submit!
About this extension
LeetCode to GitHub Sync automatically pushes your accepted LeetCode solutions to your GitHub repository the moment they're accepted; no manual copy-pasting, no forgetting to save.

(Have also tested this on Zen Browser)


Solve a problem on LeetCode, click Submit, and when your solution is accepted, the extension detects it and immediately pushes your code to your configured GitHub repo. Files are organized using your preferred template, for example, Easy/1-two-sum.java or Medium/645-set-mismatch.py.
  • Automatic sync: Detects accepted submissions and pushes code to GitHub instantly
  • Customizable file structure: Use placeholders like {difficulty}, {problemNumber}, {problemTitle}, {extension}, and {language} to organize files your way
  • Custom commit messages: Templates with the {problemTitle} placeholder
  • Auto-sync toggle: Enable or disable automatic syncing at any time
  • Submission history & stats: Track everything you've synced broken down by Easy, Medium, and Hard
  • Duplicate protection: Already-synced submissions are never pushed twice
  • Supports all LeetCode languages: Java, Python, C++, JavaScript, Go, Rust, TypeScript, and 25+ more
  • Test connection: Verify your GitHub setup before solving problems
  • Your GitHub token is stored securely in your browser's local storage with in-memory caching and automatic zeroization
  • All communication is only with LeetCode (to detect submissions) and GitHub's API (to push code)
  • No third-party analytics, tracking, or telemetry
  • Token is never logged or exposed in error messages
  • Built-in rate limiting prevents API abuse
  1. Create a fine-grained GitHub Personal Access Token with Contents: Read & Write access
  2. Enter your token, GitHub username, and repository name in the extension popup
  3. Optionally customize the file path and commit message templates
  4. Click Test Connection, then start solving!

Perfect for building your coding portfolio, tracking your progress, or backing up your solutions.
Developer comments
Please provide feedback on any issues or additional features you would like.
I have also tested this on Zen Browser.
Thanks!!
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and data

Required permissions:

  • Access your data for leetcode.com
  • Access your data for leetcode.cn

Optional permissions:

  • Access your data for leetcode.com
  • Access your data for api.github.com

Required data collection, according to the developer:

  • Authentication information
  • Web site content
Learn more
More information
Add-on Links
  • Support Email
  • Copy add-on ID
Version
2.0.0
Size
58.49 kB
Last updated
4 days ago (5 Jul 2026)
Related Categories
  • Web Development
  • Privacy & Security
Licence
MIT Licence
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Tags
  • privacy
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.