A powerful browser extension for competitive programming and DSA practice that seamlessly integrates with your development workflow. Generate driver code, extract submittable functions, and boost your coding efficiency across all major programming platforms.
GitHub stars GitHub forks GitHub issues License
- Smart Driver Code Generation: Automatically generate test harnesses and driver code for competitive programming problems
- Function Extraction: Extract clean, submittable functions from your complete VS Code solutions
- Multi-Language Support: Full support for C++, Python, JavaScript, Java, and C
- Custom Templates: Create and manage personalized boilerplate templates
- Universal IDE Support: Works with VS Code, Sublime Text, Notepad++, and any text editor
- β LeetCode
- β GeeksforGeeks
- β Codeforces
- β HackerRank
- β CodeChef
- β AtCoder
- β TopCoder
- β And many more competitive programming platforms
Watch the Setup Guide on YouTube
# Clone the repository
git clone https://github.com/TanishqAswar/LeetVSCode.git
- Go to GitHub Repository
- Click "Code" β "Download ZIP"
- Extract the ZIP file to your desired location
# Navigate to the project directory cd LeetVSCode # Install dependencies npm install # Build the project once to have a dist repo in the root npm run build
- Open your browser (Chrome/Edge/Brave)
- Navigate to the extensions page:
- Chrome:
chrome://extensions/
- Edge:
edge://extensions/
- Brave:
brave://extensions/
- Chrome:
- Enable Developer mode (toggle switch in the top right)
- Click "Load unpacked" button
- Select the
LeetVSCode/dist
folder (or extracted folder) - Confirm the extension is installed and enabled
- Visit Google AI Studio
- Sign in with your Google account
- Click "Create API Key"
- Copy your free Gemini API key
- Keep this key secure - you'll need it for setup
- Install the extension using one of the methods above
- Navigate to any competitive programming problem
- Click the LeetVSCode extension icon
- Enter your Gemini API key (first time only)
- Start using the Generate Code and Extract Function features
- User Guide - Comprehensive usage instructions
- API Documentation - Technical details and customization
- Contributing Guide - How to contribute to the project
- Changelog - Version history and updates
- Node.js (v14 or higher)
- npm or yarn
- Chrome/Edge/Brave browser
# Clone the repository git clone https://github.com/TanishqAswar/LeetVSCode.git cd LeetVSCode # Install dependencies npm install # Run development build npm run dev # Build for production npm run build
LeetVSCode/
βββ src/
β βββ background/
β βββ content/
β βββ popup/
β βββ options/
βββ public/
βββ docs/
βββ manifest.json
βββ package.json
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Google's Gemini API for powerful code generation
- The competitive programming community for inspiration
- All contributors and users who make this project possible
- GitHub Issues: Report bugs or request features
- Discussions: Community discussions
If you find this project helpful, please give it a β on GitHub!
As an individual developer and maintainer, your support keeps this project going. π Help Project Financially
Version: 1.0.0
Last Updated: July 2025
Minimum Browser Version: Chrome 88+, Edge 88+, Brave 1.20+
Hare Krishna And Happy Coding! π_