Skip to content

singhJasvinder101/leetpush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

LeetPush – Automate Your LeetCode to GitHub Workflow

LeetPush Logo

MIT License Chrome Extension Version React Vite


Push your LeetCode solutions to GitHub automatically—clean, fast, and customizable.

leetpush LeetCode to GitHub Demo

Demo Video

Why Use leetpush?

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.

Features

  • 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.

Getting Started: 2-Minute Setup

  1. Install the Extension:

  2. Configure leetpush:

    • Click on the leetpush icon in your browser toolbar.
    • Follow the on-screen instructions to link your GitHub account and select a repository. If you don't have one, leetpush can help you create it.

That's it! You're ready to go.

How It Works

Once configured, leetpush works silently in the background.

  1. Navigate to any problem on LeetCode and write your solution.
  2. Click the "Submit" button on LeetCode.
  3. Once your solution is accepted, leetpush automatically commits and pushes the code and problem details to your designated GitHub repository.

Installation

Prerequisites

  • Node.js ≥ 14.18.0
  • Google Chrome (or any Chromium-based browser)
  • GitHub Account

Development Setup

git clone https://github.com/singhJasvinder101/leetpush.git
cd leetpush

npm install

npm run dev

Load the Extension in Chrome

  1. Go to chrome://extensions/
  2. Enable Developer Mode
  3. Click Load Unpacked
  4. Select the dist/ directory

Production Build

npm run build
npm run zip

1st command creates a production-ready build in the dist/ (distribution) folder and 2nd command will create a zip file.

Architecture

Tech Stack

  • Framework: React 18 + Vite
  • Styling: Tailwind CSS, Radix UI
  • Animations: Framer Motion
  • Extension Build: CRXJS + Vite
  • Languages: TypeScript & JavaScript

Contributing

Contributions are welcome! Please read the Contributing Guide before starting.

Steps

  1. Fork the repo

  2. Create a feature branch:

    git checkout -b feature/my-feature
  3. Commit and push:

    git commit -m 'feat: add my feature'
    git push origin feature/my-feature
  4. Open a Pull Request

License

This project is licensed under the MIT License.

Support

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!