Ever solved a brilliant LeetCode problem, only to lose the code or forget your logic? leetpush solves this by providing LeetCode-to-GitHub integration.
- Build a Portfolio: Automatically create a GitHub repository that showcases your coding skills to employers.
- Track Your Progress: Keep commit history of every problem you solve, making it easy to review your improvement over time.
- Never Lose Your Work: Your solutions are backed up in your own GitHub repository.
- Focus on Solving: Forget the hassle of copy-pasting. We handle the backup, so you can focus on the problem.
- Automatic Sync: Pushes your solution to GitHub the moment with just single click.
- Problem Metadata: Automatically includes the problem title and other details in the commit.
- Language Detection: Correctly identifies the programming language (e.g.,
.py,.js,.java). - Private & Public Repos: You have full control over whether your solutions repository is public or private.
- Easy Setup: Get up and running in under two minutes.
-
Install the Extension:
- Get
leetpushfrom the Chrome Web Store.
- Get
-
Configure
leetpush:- Click on the
leetpushicon in your browser toolbar. - Follow the on-screen instructions to link your GitHub account and select a repository. If you don't have one,
leetpushcan help you create it.
- Click on the
That's it! You're ready to go.
Once configured, leetpush works silently in the background.
- Navigate to any problem on LeetCode and write your solution.
- Click the "Submit" button on LeetCode.
- Once your solution is accepted,
leetpushautomatically commits and pushes the code and problem details to your designated GitHub repository.
- Node.js ≥ 14.18.0
- Google Chrome (or any Chromium-based browser)
- GitHub Account
git clone https://github.com/singhJasvinder101/leetpush.git
cd leetpush
npm install
npm run dev- Go to
chrome://extensions/ - Enable Developer Mode
- Click Load Unpacked
- Select the
dist/directory
npm run build
npm run zip1st command creates a production-ready build in the dist/ (distribution) folder and 2nd command will create a zip file.
- Framework: React 18 + Vite
- Styling: Tailwind CSS, Radix UI
- Animations: Framer Motion
- Extension Build: CRXJS + Vite
- Languages: TypeScript & JavaScript
Contributions are welcome! Please read the Contributing Guide before starting.
-
Fork the repo
-
Create a feature branch:
git checkout -b feature/my-feature
-
Commit and push:
git commit -m 'feat: add my feature' git push origin feature/my-feature -
Open a Pull Request
This project is licensed under the MIT License.
If you find this project helpful:
- ⭐ Star the repository
- 🐞 Report issues or bugs
- 💡 Suggest enhancements
- 📢 Share it with others
Made with ❤️ By Jasvider Singh
Happy Coding!

