GithubHelp home page GithubHelp logo

vin10ah / leethub-3.0 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raphaelheinz/leethub-3.0

0.0 0.0 0.0 21.49 MB

This plugin automatically pushes your code to GitHub when you pass all tests on a Leetcode problem.

License: MIT License

JavaScript 87.02% CSS 2.63% HTML 10.36%

leethub-3.0's Introduction

LeetHub v3 - Sync your code with GitHub

license chrome-webstore users

LeetHub v3

What is LeetHub-3.0?

A chrome extension that automatically pushes your code to GitHub when you pass all tests on a Leetcode problem. It's forked from LeetHub-2.0 which is not compatible with Leetcode anymore since the latest updates.

Why LeetHub?

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?

Screenshot

leetcode view

Supported UI

LeetHub-3.0 works with two different Leetcode UIs. There are known issues when using the plugin with the "non-dynamic layout". Please use one of the following:

  1. old layout or
  2. new "dynamic layout"

Manual synchronization

Your submission may not be successfully uploaded to GitHub if you update the text in the editor too fast. It is necessary to wait for 4 seconds (until the spinner stops) after submitting the solution before entering new characters, switching languages, or switching editors. During this period, your solution is being pushed to GitHub, and the website should maintain its layout without alteration. While this process is less than ideal, we have not found a better solution so far. Sorry for this inconvenience! If you find a fix, your PRs are welcome!

In the meantime, we have added a manual synchronization button next to notes icon. Please use the manual sync button only after you have successfully submitted your solution to Leetcode. Additionally, you can push previous submissions to GitHub by selecting the submission first and then click on the manual synchronization button.

Installation

  1. Chrome Web Store

    Install this plugin using Chrome Web Store. Please find the link above. This is the preferred way of installation. Updates are installed automatically.

  2. (Optional) Manual installation

    You can also install the plugin manually. Please follow the steps below.

Setup

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

Supported npm commands

npm run               # Show available commands
npm run setup         # Install dependencies
npm run format        # Auto-format JavaScript, HTML/CSS
npm run format-test   # Test if code is formatted properly
npm run lint          # Lint JavaScript
npm run lint-test     # Test if code is linted properly

Contribution

Please help to further improve this awesome plugin! We would appreciate your support. Your pull requests are welcome!

Don't forget to star this repository for further development of new features. If you want a particular feature, simply request for it!

leethub-3.0's People

Contributors

qasimwani avatar arunbhardwaj avatar raphaelheinz avatar jeremytsaii avatar bro3886 avatar zafei-erin avatar itsluminous avatar ayoung19 avatar tuminzee avatar aystream avatar mahbubcseju avatar syssn13 avatar dipta007 avatar arnabsen1729 avatar asahu16 avatar a-aznar avatar arjixwastaken avatar benlowenthal avatar mayankkumar2 avatar myu-ekata avatar njelich avatar bpires avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.