Automatically sync your leetcode solutions to your github account - top 5 trending GitHub repository

Overview

LeetHub - Automatically sync your code to GitHub.
LeetHub - Automatically sync your code to GitHub.

license discord chrome-webstore users

Top 5 Trending JavaScript Repositories

Available on:

Chrome WebStore LeetHub - Automatically sync your code b/w Leetcode & GitHub. | Product Hunt

What is LeetHub?

A chrome extension that automatically pushes your code to GitHub when you pass all tests on a Leetcode problem.

How fast is it really?

THIS FAST (~400ms, 530x speed improvement)!

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?

How does LeetHub work?

Your LeetHub portfolio could like this !

It's as simple as:

  1. After installation, launch LeetHub.
  2. Click on "authorize with GitHub" button to automatically set up your account with LeetHub.
  3. Setup an existing/new repository with LeetHub (private by default) by clicking "Get Started" button.
  4. Begin Leetcoding! To view your progress, simply click on the extension!

BONUS: Star this repository for further development of features. If you want a particular feature, simply request for it!

Why did I build LeetHub?

The coding interview is arguably the most important part of your interview process, given you get the interview first. As someone who's received multiple internship offers from Fortune 100 companies, getting the interview in the first place is not easy!
And that's what LeetHub is supposed to do: indirectly improving your coding skills while improving your portfolio to ACE that interview at insert_name_here!

Let's see you ACE that coding interview!

leetcode view

How to set up LeetHub for local development?

  1. Fork this repo and clone to your local machine
  2. Go to chrome://extensions
  3. Enable Developer mode by toggling the switch on top right corner
  4. Click 'Load unpacked'
  5. Select the entire LeetHub folder
  6. Run "npm run setup" to install the developer dependencies

Other npm commands available:

npm run               Show list of commands available
npm run format        Auto-format JavaScript, HTML/CSS
npm run format-test   Test all code is formatted properly
npm run lint          Lint JavaScript
npm run lint-test     Test all code is linted proprely

And that should be it! Get Hacking...

Comments
  • LeetHub does not synch with existing LeetCode solutions

    LeetHub does not synch with existing LeetCode solutions

    Hi!

    I have integrated the LeetHub extension in my chrome. If I enable it in LeetCode, it says I have not solved any problems. How to synch the existing solutions with the repo? Thanks!

    opened by tanweer-mahdi 21
  • New solution isn't updated

    New solution isn't updated

    Somehow for problems that were already submitted to Github by Leethub before, when I redo them, the new solutions are not pushed to Github anymore. I have tried to reload Leetcode after each submission but still didn't get it working.

    I.e.: I have just submitted a new solution to this problem: image But the last solution on Github was still the one that I submitted on Dec 7: image

    opened by trungnguyencs 21
  • FireFox Support

    FireFox Support

    amazing idea! Is there a plan to make a FireFox extension? I've never made one but this could be my xmas project. I can't imagine that it's too far removed from a Chrome Extension

    feature 
    opened by polaroidkidd 21
  • Fails to sync the submissions

    Fails to sync the submissions

    Is your feature request related to a problem? Please describe. Many times the LeetHub extensions fail to sync the code on submission. It does not create a commit even after submitting the code more than 3-4 times.

    Describe the solution you'd like Manual sync button for successful submission.

    opened by KayvanShah1 13
  • Show github upload progress in the leetcode when submitted

    Show github upload progress in the leetcode when submitted

    LeetHub currently doesn't report any kind of progress when submission is being uploaded to GitHub. The only way to check if LeetHub uploaded the submission is to check if the submission count in the extension popup has increased or by checking the GitHub repo itself. This PR adds the functionality of showing upload progress directly in the Leetcode. When the submission is successful and the LeetHub upload is triggered, a progress spinner on the left side of the "Run Code" button pops up. If the upload is successful, the spinner is replaced by a green check. Currently, the LeetHub codebase doesn't have a proper way to pass success/failure of the upload calls, I have added a callback for success just for this purpose. Adding one for failure seems like a bit of work right now. So, this feature starts a timeout of 10 seconds (should be sufficient) after the upload has started. If the upload is not completed by the end of 10 seconds, then the upload is concluded to have failed and a red check replaces the spinner.

    Addresses #112

    progresspr

    opened by sbibek 10
  • Leetcode Updated their interface , hence new submissions are not getting to github

    Leetcode Updated their interface , hence new submissions are not getting to github

    Describe the bug Leetcode has updated their UI hence the extension does not work.

    To Reproduce Steps to reproduce the behavior:

    Solve a submission and it does not get a commit to github.

    Expected behavior Since leetcode has updated their UI , this extension does not work and may need some work, my most recent submission did not upload to github!

    Screenshots image

    Additional context Add any other context about the problem here.

    bug 
    opened by neshant 9
  • [Feature Request] Add

    [Feature Request] Add "sync all solved problems" button

    Hi Qasim Wani,

    It's a very useful project, and how about having a "sync all solved problems" button to sync all solved problems on LeetCode but not in the specific repository?

    It will be helpful for those who used to solve problems on LeetCode but are new to your extension.

    Thank you for your contribution, I really appreciate it!

    feature 
    opened by JasperSui 9
  • Firefox compatbility

    Firefox compatbility

    This is a pull request to add firefox compatibility to the extension.

    This patch does not break compatibility with chrome (though further testing is recommended)

    Solves #3

    opened by njelich 8
  • Looking for maintainer/co-developer

    Looking for maintainer/co-developer

    Hey all, Firstly, thanks for using LeetHub. If you're interested in helping me develop LeetHub, please add your name/linkedin below as comment below. Quite frankly, I can't get to all these features in time, so I'd appreciate any help! The only pre-req is some expertise in JS. Preferred if knowledge in chrome-extensions, but that's not necessary! Looking forward to it :D

    documentation good first issue question 
    opened by QasimWani 8
  • LeetHub doesn't work at GFG now

    LeetHub doesn't work at GFG now

    Describe the bug LeetHub doesn't work at GFG, probably because GFG just updated its UI about Practice.

    Expected behavior LeetHub should upload the code to GitHub as before.

    Screenshots image Screenshot of GFG Practice from my laptop a few minutes ago.

    bug 
    opened by garyellow 7
  • Codes not uploading on GitHub

    Codes not uploading on GitHub

    I tried leethub for the first time, followed all the procedures but codes aren't getting uploaded on GitHub. My repo got created but on submitting the code on leetcode nothing is getting pushed on GitHub.

    bug 
    opened by sid-abc 7
  •  Not Supporting leetcode and geeksforgeeks parellely on LeetHub extension

    Not Supporting leetcode and geeksforgeeks parellely on LeetHub extension

    After changing the new leetcode UI, Leethub stops adding solutions on the repositories.I want Parallelly it should add leetcode and geekforgeeks solution to my github reposetories

    opened by rahul003t 0
  • Temporary solution of syncing your code with github branch. IT IS A WORKING SOLUTION!

    Temporary solution of syncing your code with github branch. IT IS A WORKING SOLUTION!

    goto the leetcode problem, YOU HAVE TO BE ON A LEETCODE PROBLEM:

    • On the top left, you will see your profile picture.
    • Click the profile picture.
    • Select goto old design.
    • Then submit your problem.

    This will work and your code will be pushed to your branch, just like before. ;)

    bug 
    opened by Alihaiderizvi 0
  • Upload code before installing extension

    Upload code before installing extension

    Please review previous closed issues before filling out a new one! Duplicate issues will be closed without comment.

    Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [I came to know about this extension today , and i have 300 sumbissions is it possible to add them too to my repo without sumbitting them again]

    Describe the solution you'd like A clear and concise description of what you want to happen. Upload all my codes to github

    Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

    Additional context Add any other context or screenshots about the feature request here.

    opened by dipeshyadav331 0
  • Not working with new update of leetcode

    Not working with new update of leetcode

    Please review previous closed issues before filling out a new one! Duplicate issues will be closed without comment.

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    Additional context Add any other context about the problem here.

    bug 
    opened by Rahulk14 0
  • why my leethub is not working ??

    why my leethub is not working ??

    Please review previous closed issues before filling out a new one! Duplicate issues will be closed without comment.

    Describe the bug A clear and concise description of what the bug is.

    To Reproduce Steps to reproduce the behavior:

    1. Go to '...'
    2. Click on '....'
    3. Scroll down to '....'
    4. See error

    Expected behavior A clear and concise description of what you expected to happen.

    Screenshots If applicable, add screenshots to help explain your problem.

    Additional context Add any other context about the problem here.

    bug 
    opened by Prabj0t 3
Multiple users using the same leetcode account made easy!

LeetcodeSessionManager About This extension helps is multiple people using the same LeetCode account. It gets tiring when you create sessions(sub-acco

PAWAN JENU 34 Dec 20, 2022
Cloudflare worker function to update github bio automatically with leetcode and codeforces profile stats 🚀

Stats check ?? Cloudflare worker function to update github bio automatically with leetcode and codeforces profile stats ?? You can see it in action he

Vaibhav Chopra 2 Feb 15, 2022
A simple (and unofficial) GitHub Trending client that lives in your menubar.

Raise A simple (and unofficial) GitHub Trending client that lives in your menubar. ?? Screenshots ?? Installation New!! Raise is now available as a Ch

Jiajun Yan 157 Dec 20, 2022
portfolio-project is a npm package to automatically update your projects section in your portfolio website. It will fetch the selected repositories directly from your GitHub account.

portfolio-project Those days of manually updating portfolio website after every new project made are gone ⚡ Yesss . . . you read that right. ?? portfo

Gaurav Gulati 15 Aug 3, 2021
Jaime Gómez-Obregón 119 Dec 24, 2022
Chrome extension to save and keep track of problems from different platforms(codeforces, codechef, atcoder, leetcode etc.)

Keep Problems A Browser extension which helps to save and keep track of problems from different platforms(codeforces, codechef, atcoder, leetcode etc.

Nirav Jain 4 Aug 13, 2022
A leetcode workspace template with test case runner for JavaScript/TypeScript programmers.

leetcode-typescript-workspace English | 简体中文 A vscode workspace template with test case runner script for JavaScript/TypeScript programmers using exte

null 10 Dec 13, 2022
A lightweight, performant, and simple-to-use wrapper component to stick section headers to the top when scrolling brings them to top

A lightweight, performant, and simple-to-use wrapper component to stick section headers to the top when scrolling brings them to top

Mayank 7 Jun 27, 2022
Create, visualize and deploy AI solutions.

Welcome to the Hal9 community repo! This repo contains all the community-contributed scripts that power hal9.ai. We intend to share profits with creat

hal9.ai 106 Dec 22, 2022
Here I will add daily one problem with solution basic to advance level and try to add multiple solutions of a single problem.

#100-code-days ?? I am adding daily 1 JavaScript solution here ?? and you can fork the repo for add your solution for any specific probelm ⌛️ Day 01:

Amir Sohel 4 Jan 22, 2022
My solutions for CS61A Fall 2020.

CS61A-Fall-2020 My solutions and experience for CS61A Fall 2020. 一、课程介绍 这门课作为Berkeley大一新生的第一门计算机课程,是一门计算机导论的课程,主要的编程语言是python,此外还介绍了LISP的方言Scheme语法和SQ

null 46 Dec 23, 2022
Harvard CS50x — 2022 solutions 😎

CS50x What is CS50x? 哈佛的计算机入门课,文档以及作业质量非常高,故将此课作为我计算机自学旅途的第一站。 Harvard's introductory computer courses, documents and assignments are of high quality,

Mancuoj 122 Jan 3, 2023
CTF (Capture The Flag) is a type of information security competition that challenges contestants to find solutions or complete various tasks.

WHAT IS CTF? CTF (Capture The Flag) is a type of information security competition that challenges contestants to find solutions or complete various ta

Nicolas Saputra Gunawan 18 Dec 12, 2022
This is a website for solving IT issues and providing IT solutions as answers to submitted tickets from clients. It is a project from Software Interns Team in Safecotech Internship Program 2022.

CONNECT IT-Solutions Table of Contents Built With Getting Started Description Documentation Commit History Screenshots Contributors Built With : Node

null 4 Sep 24, 2022
Useful JavaScript base classes for efficient and quick solutions to common problems.

JavaScript Base Classes You can find the full documentation on the website. Description Useful JavaScript base classes for efficient and quick solutio

Ruben Arushanyan 9 Nov 15, 2022
Sync pages from Notion to GitHub to be used as a static website (JAM)

notion-jam Sync pages from Notion to GitHub to be used as a static website (JAM) Usage Quick Start Create a new Notion Integration Add Notion secret t

Victor 9 Nov 15, 2022
End-to-End sync Linear.app and GitHub

Initially created by Spacedrive, now maintained by Cal.com and Neat.run Linear to GitHub Sync This is a system to synchronize Linear issues to GitHub

Cal.com, Inc. 87 Jan 3, 2023
A CloudFlare Worker / script / bot to sync Notion pages publicly as GitHub Discussions.

notion-github-sync This bot syncs public Notion pages as GitHub Discussions/Issues. It's done periodically, based on the pages shared with the Notion

The Guild 20 Dec 22, 2022