Automatically integrate your Leetcode & GeeksforGeeks submissions to GitHub

Latest Version

Version
2.0.8
Update
June 28, 2024
Size
257KiB
Developer
Category
Users
10,000+
Rating
2.9375 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
UnlimitedStorage
Storage
WebNavigation
See more

LeetHub v2 Extension

What is LeetHub v2?
A chrome extension that automatically pushes your code to GitHub when you pass all tests on a Leetcode problem. Re-built from the original popular LeetHub extension, it improves and expands upon the original, now featuring support for the new Leetcode UI.

Why LeetHub?
1. Recruiters *want* to see your contributions to the Open Source community, be it through side projects, solving algorithms/data-structures, or contributing to existing OS projects.
As of now, GitHub is developers' #1 portfolio. LeetHub just makes it much easier (autonomous) to keep track of progress and contributions on the largest network of engineering community, GitHub.
2. There's no easy way of accessing your leetcode problems in one place!
Moreover, pushing code manually to GitHub from Leetcode is very time consuming. So, why not just automate it entirely without spending a SINGLE additional second on it?
3. Completely secure! The extension runs entirely on your device and only makes 3rd-party API calls to GitHub for authentication.

How does LeetHub work?
After installing the extension and launching LeetHub, it's as simple as:
1. Click on \"authorize with GitHub\" button to automatically set up your account with LeetHub.
2. Setup an existing/new repository with LeetHub (private by default) by clicking \"Get Started\" button.
3. And that's it 🎉 ...begin Leetcoding! To view your progress, simply click on the LeetHub icon!

BONUS: Star LeetHub v2 on GitHub for further development of features @ https://github.com/arunbhardwaj/LeetHub-2.0

Let's see you ACE that coding interview!

UPDATES:
** Jun. 28 2024 **
- Persistent stat tracking across LeetHub v2 installations

** Jun. 2 2024 **
- Manual submission button (beta)
- fixes GitHub rate-limit issue with problem/topic organization README feature

** May. 31 2024 **
- adds new feature organizing problems via their topics in repo README

** May. 30 2024 **
- fixes issue where submission sometimes does not upload to GitHub
- fixes upload progress spinner not appearing
- fixes issue with submissions not going through on study plan pages

** Apr. 3 2024 **
- restores submission functionality

** Jul. 24 2023**
- fixes an issue preventing submission to GitHub for LeetCode submissions due to UI change

** Apr. 14 2023 **
- adds Leetcode UI v2 support
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "LeetHub v2", "description": "Automatically integrate your Leetcode & GeeksforGeeks submissions to GitHub", "homepage_url": "https://github.com/arunbhardwaj/LeetHub-2.0", "version": "2.0.8", "author": "Arun Bhardwaj", "action": { "default_icon": "assets/thumbnail.png", "default_popup": "popup.html", "default_title": "Upload your LeetCode solutions to GitHub" }, "icons": { "16": "assets/thumbnail.png", "48": "assets/thumbnail.png", "128": "assets/thumbnail.png" }, "background": { "service_worker": "scripts/background.js" }, "permissions": [ "unlimitedStorage", "storage", "webNavigation" ], "content_scripts": [ { "matches": [ "https://leetcode.com/*" ], "js": [ "scripts/leetcode.js" ], "run_at": "document_idle" }, { "matches": [ "https://github.com/*" ], "js": [ "scripts/authorize.js" ] }, { "matches": [ "https://practice.geeksforgeeks.org/*" ], "js": [ "scripts/gfg.js" ] } ], "content_security_policy": { "extension_pages": "script-src 'self'; object-src 'self'" }}
Read more

How to download and manually install LeetHub v2 extension for Chrome

Looking for a way to install LeetHub v2 extensions for Chrome, you can search for them in the Chrome Web Store, clicking the "Add to Chrome" button, and following the straightforward process.

However, you may need to install LeetHub v2 extensions manually, this article outlines two simple methods to effortlessly install LeetHub v2 extensions, whether they come as unpacked folders in compressed formats like .zip or as .crx files.

Method 1: Download LeetHub v2 extension and manually install through Drag &Drop

If you ever need to manually install a LeetHub v2 extension for Chrome, don't worry, it's a simple process. Just follow these easy steps, and you will have your extension ready to use in no time.

Step 1: Download the LeetHub v2 Extension by clicking the "Download CRX" button on the website.

Look for the LeetHub v2 extension you wish to install. Go to the website and download the LeetHub v2 extension package, which is usually a .CRX file and comes in a zipped file. Here ".crx" file is the format for LeetHub v2 extension that contains all the data.

Step 2: Extract &Arrange Files

Once the file is downloaded, extract that file into its own folder. Similarly, give that extension files a permanent home. In other words, keep it in a folder that you don't accidentally delete it because these files will be needed to make that extension work.

Step 3: Go to the Chrome Extensions Page

Open Google Chrome and in the address bar, type chrome://extensions; it will open the Google Chrome extensions page. Make sure that "My extensions" is selected in the sidebar.

Step 4: Drag and Drop the Extension

Now, go to the folder where you extracted the LeetHub v2 extension and drag &drop the extension file from there anywhere onto the extension page within Google Chrome.

Step 5: Complete the Installation

Once you drag and drop the extension file, follow the steps that Google Chrome takes you through. Similarly, if the extension file is of .crx file format, you will be required to review the permissions and then add the extension.

Now, you can manage that added extension as you would like to with any other Chrome extension that you added through Chrome Webstore. Its icon will also appear in the Google Chrome Menu on the right side of the address bar once you activate it.

Method 2: Download LeetHub v2 extension for Chrome and install in Developer Mode

This is another method to install LeetHub v2 extension manually, but the twist is that here, you install by enabling the developer mode option provided in Google Chrome. This mode is commonly used for testing extensions or running unpublished tools.

Step 1: Download the LeetHub v2 extension file

Select and download the LeetHub v2 extension by clicking the 'Download CRX' button on the website.

Step 2: Extract the downloaded contents

Convert the file to a ZIP file if it is in CRX format then extract the LeetHub v2 extension zip file or folder that you downloaded. Make sure you extract it using the same folder name and keep it safely in another folder, so you don't delete it by mistake. The extracted folder will be needed to keep your LeetHub v2 extension running.

Step 3: Open Chrome Extension Setting Page

In the address bar of Google Chrome, type chrome://extensions and open the Chrome Extension Page.

Step 4: Enable Developer Mode

After opening the Chrome Extension page, look at the top right side, and you will find the toggle option of "Developer mode."Simply enable that developer mode option.

Step 5: Load the Unpacked Extension

Once you enable the developer mode option, you will see the menu of Load Unpacked, Pack Extensions and Update. From that, select the option "Load unpacked."

Step 6: Select the Extension Folder

Once the pop-up opens upon clicking Load unpacked, select the LeetHub v2 extension directory and click on the "Select Folder "button.

Step 7: Confirm and Install

After you select an extension folder of a Google Chrome extension you're installing manually, confirm its installation for the final time and let the installation complete.

Conclusion

Here we've made a step-by-step guide on How to manually install LeetHub v2 extension in 2 ways. We hope this guide proves helpful.

Similar Extensions

icon

LeetHub Extension · Developer Tools 10,000+ 92 ★ 22.43MiB

icon

GfG to GitHub Extension · Developer Tools 10,000+ 17 ★ 726KiB

icon

Leetcode Difficulty Rating Extension · Productivity 10,000+ 15 ★ 12.9KiB

icon

Leetcode Enhancer Extension · Productivity 10,000+ 42 ★ 49.68KiB

icon

LeetPush Extension · Developer Tools 10,000+ 35 ★ 283KiB

icon

GfG to LeetCode Extension · Developer Tools 10,000+ 16 ★ 267KiB

icon

Leetcode format Extension · Developer Tools 10,000+ 30 ★ 2.42MiB

icon

Competitive Companion Extension · Developer Tools 10,000+ 84 ★ 572KiB

icon

CodingBuddy Extension · Productivity 10,000+ 93 ★ 328KiB

icon

LeetCode Timer Extension · Developer Tools 10,000+ 20 ★ 279KiB

icon

CrackTech-LeetCode Company Tag, DSA Prep Extension · Productivity 10,000+ 16 ★ 504KiB

icon

LeetCode Buddy Extension · Productivity 10,000+ 4 ★ 201KiB

icon

LeetHub v3 Extension · Productivity 10,000+ 12 ★ 778KiB

icon

LeetSync - Leetcode to Github Synchronizer Extension · Developer Tools 10,000+ 51 ★ 5.57MiB

icon

Leetcode Explained Extension · Productivity 10,000+ 24 ★ 757KiB

icon

LeetCode Video Solutions Extension · Productivity 10,000+ 72 ★ 84.69KiB

icon

Leetcode Analyzer Extension · Productivity 10,000+ 15 ★ 418KiB

icon

백준허브(BaekjoonHub) Extension · Productivity 10,000+ 26 ★ 222KiB

icon

Simplify Copilot - Autofill job applications Extension · Productivity 10,000+ 2457 ★ 5.65MiB

icon

Leet Xt Extension · Productivity 10,000+ 7 ★ 887KiB

icon

CF Analytics Extension · Productivity 10,000+ 61 ★ 114KiB

icon

Leetcode Timer Extension · Productivity 10,000+ 9 ★ 198KiB

icon

LC Predictor Extension · Developer Tools 10,000+ 17 ★ 172KiB

icon

LeetCode Forcer Extension · Productivity 10,000+ 9 ★ 64.98KiB

User reviews

icon

José Carlos Zertuche De la Cruz (ID: 000000d6417a000a) Voted 5 ★ - Updated 11/14/2023 The idea is great, I just have one issue... I realized that I needed to go back to the old version of Leetcode for it to work. With the new version (not the dynamic layout, the one before) it wasn't working.

icon

Yagami Light (ID: 0000009ddb14cd5e) Voted 1 ★ - Updated 10/06/2023 Why is it requiring permission to read/write all public and private repos?

icon

Suman Barick (ID: 0000007329ea4d22) Voted 5 ★ - Updated 09/21/2023 Very helpful extension. Thanks. But I have found an issue. For some problems there are mismatch in the question number, e.g. in leetcode it is "1108. Defanging an IP Address", but in github repo it becomes "1205-defanging-an-ip-address". See how 1108 becomes 1205?

icon

Dali Selmi (ID: 000000e86f95bc1a) Voted 2 ★ - Updated 08/20/2023 Does not work on old submissions!!

icon

La (ID: 000000a242de3719) Voted 4 ★ - Updated 08/19/2023 It dosen't work if you've enabled Lab feature. DISABLE IT IN LINK BELOW before using this extension. https://leetcode.com/profile/lab