An AI-powered Chrome extension designed to enhance your LeetCode problem-solving experience.
Built with React, Redux, TypeScript, and TailwindCSS, it integrates seamlessly with the LeetCode problem interface to provide solution-free socratic questions/hints like a mentor to improve your problem-solving skills.
- Node.js (v18 or higher)
- npm
- xvfb (for E2E testing)
- Clone the repository:
git clone https://github.com/santhoshh-kumar/gemini-leetcode-assist.git
- Install the dependencies:
npm install
npm run buildThis will create a dist directory with the production-ready extension files.
- Open your browser’s Extensions page.
- Enable Developer mode (toggle found on the extensions page).
- Click Load unpacked (or Load unpacked extension).
- Select the generated
dist/folder. - Confirm the extension appears in the extensions list and is enabled.
- After making changes and running
npm run buildagain, click Reload for the extension on the extensions page to apply the updateddist/files.
npm run testThis will run the unit tests using Jest.
The E2E tests use Puppeteer to simulate user interactions in a real browser environment. They run in a headless browser using xvfb.
npm run test:e2e