Leet AI is a Chrome extension that provides step‑by‑step hints and feedback while solving problems on LeetCode. It integrates with generative AI models so you can ask for guidance directly from the problem page.
- Chat interface to discuss problems and receive short hints
- Supports multiple models including OpenAI GPT‑3.5 Turbo, GPT‑4o and Google Gemini 1.5 Pro
- Remembers your conversations locally using IndexedDB
- Quickly switch models or clear chat history
- Configure API keys through the popup
- Node.js 18 or higher (tested with Node 22)
- pnpm (preferred) or npm for dependency management
Install dependencies and start the development server:
pnpm install # or `npm install`
pnpm run devThe extension files will be built in watch mode. To test it in Chrome:
- Open
chrome://extensions - Enable Developer mode
- Choose Load unpacked and select the
dist/directory generated by Vite
Generate an optimized build:
pnpm run build # or `npm run build`This outputs the packaged extension to the dist/ folder. Load this folder in Chrome as described above.
pnpm run lint– run ESLintpnpm run prettier– format source filespnpm run preview– preview the production build
src/– TypeScript/React source codepublic/– static assets (icons, etc.)manifest.json– Chrome extension manifest
This project is licensed under the MIT License.