Keep your LeetCode solutions automatically synced to GitHub! Never lose track of your coding progress again.
- 🤖 Automatic Syncing - Your solutions are synced to GitHub every 5 minutes while browsing LeetCode
- 🔄 Manual Sync - One-click sync button for immediate updates
- 🎯 Smart Duplicate Detection - No redundant commits, only meaningful changes
- 🔔 Real-time Notifications - Stay informed about sync status through Chrome notifications
-
Clone this repository:
git clone https://github.com/oseni99/leetcode-github-sync.git
-
Open Chrome Extensions:
- Navigate to
chrome://extensions/ - Toggle on "Developer Mode" in the top-right corner
- Click "Load unpacked" and select the cloned directory
- Navigate to
-
Access Options
- Click the extension icon in your browser
- Select "Options" from the dropdown
-
Setup GitHub Integration
{ "repository": "https://github.com/your-username/your-repo", "token": "your-github-personal-access-token" }🔒 Make sure your Personal Access Token (PAT) has the
reposcope
- Simply browse LeetCode as usual
- The extension checks for new submissions every 5 minutes
- Your solutions are automatically pushed to GitHub
- Solve a problem on LeetCode
- Click the extension icon
- Hit "Sync Now" to push your solution
| Issue | Solution |
|---|---|
| 403 Error | Ensure you're logged into LeetCode and refresh the page |
| No Changes Detected | Solution already exists in repo with identical content |
| Sync Failed | Check your GitHub PAT permissions |
We love your input! We want to make contributing as easy and transparent as possible:
- Fork the repo
- Create your feature branch (
git checkout -b feature/amazing) - Commit your changes (
git commit -m 'Add something amazing') - Push to the branch (
git push origin feature/amazing) - Open a Pull Request
MIT © oseni99
Made with ❤️ for LeetCode enthusiasts
