Skip to content

JeffreyGbeho/leetcode-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode Tracker - Automatically sync your leetcode submission to GitHub.

Leetcode tracker extension chrome store

What is Leetcode Tracker?

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

Why Leetcode Tracker?

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. Leetcode Tracker 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 Leetcode Tracker work?

  1. After installation, launch leetcode tracker.
  2. Click on "Authenticate" button to automatically link your github account with the extension.
  3. Setup an existing repository.
  4. Begin Leetcoding! To view your progress, simply click on the extension!

Why did I build Leetcode Tracker?

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 Leetcode Tracker is supposed to do: indirectly improving your coding skills while improving your portfolio to ACE that interview at big tech companies!
There were many Chrome extensions to automatically synchronize LeetCode code with GitHub, but none of them was up-to-date to work with the new LeetCode interface.

How to set up Leetcode Tracker for local development?

  1. Fork this repo and clone to your local machine
  2. Create new file environment.js in cloned folder
  3. Copy/paste the following code in the new file and patch CLIENT_SECRET and CLIENT_ID keys.
  4. export const ENV = { URL: "https://github.com/login/oauth/authorize", ACCESS_TOKEN_URL: "https://github.com/login/oauth/access_token", REDIRECT_URL: " https://github.com/", REPOSITORY_URL: "https://api.github.com/repos/", USER_INFO_URL: "https://api.github.com/user", CLIENT_SECRET: "YOUR_CLIENT_SECRET_KEY", CLIENT_ID: "YOUR_CLIENT_ID", SCOPES: ["repo"], HEADER: { Accept: "application/json", "Content-Type": "application/json", }, };
  5. Go to chrome://extensions
  6. Enable Developer mode by toggling the switch on top right corner
  7. Click 'Load unpacked'
  8. Select the entire Leetcode Tracker folder

About

Commit leetcode's solutions into github repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published