CodeSync is a Chrome extension that enables you to sync your LeetCode/HackerRank problem submissions with a selected GitHub repository. With this extension, you can easily track your coding progress and share your solutions with others on GitHub.
CodeSync utilizes the LeetCode API to fetch your submission data and the GitHub API to create a new file or update an existing one in your selected repository.
To install CodeSync, follow these steps [OUTDATED]:
- Download the latest release of the extension from the Chrome Web Store.
- Install the extension by clicking the "Add to Chrome" button.
- Once the installation is complete, click on the extension icon in your Chrome toolbar to configure it.
To Build & install by yourself, follow these steps.
- Build the extension by yourself
npm installnpm run build
- Load the generated build file to your chrome/edge browser using 'Load Unpacked Extension'.
To configure CodeSync, follow these steps:
- Click on the extension icon in your Chrome toolbar.
- In the popup window, Give Access via Github.
- Login Via LeetCode (Optional and might be automatically skipped if already logged in)
- Select the repository you want to sync your submissions to.
- Start solving some problems
To use CodeSync, follow these steps:
- Solve a problem on LeetCode and submit your solution.
- CodeSync will create a new file or update an existing one in your selected repository automatically.
- Go and check the submission on your github repository
If you encounter any issues or have any suggestions for improving CodeSync, please feel free to open an issue on the GitHub repository.
Contributions are welcome! If you want to contribute to the project, please follow the contributing guidelines.
I want to thank the original creators of LeetSync. This repo is inspired and derived from there. So you might get LeetSync reference here & there.
CodeSync is licensed under the MIT License.