Leetcode Assistant is an AI-powered Chrome Extension that helps users tackle LeetCode problems more effectively. It enhances the problem-solving experience by offering contextual explanations, hints, and coaching suggestions directly on problem pages. The backend is powered by a Spring Boot REST API deployed on Render, and it uses Google’s Gemini API to generate intelligent responses based on the active problem URL.
Here's the original Figma prototype that guided the UI for the LeetCode Assistant Chrome Extension.

• AI-Driven Assistance – Get real-time explanations, hints, and coaching suggestions for any LeetCode problem via the Gemini API
• Context-Aware Backend – Sends the active problem URL to the backend to generate accurate and relevant responses
• Browser Integration – Works seamlessly as a Chrome Extension right on LeetCode.com problem pages
• Offline Notes – Save and manage personal notes for each problem using Chrome local storage.
• Responsive UI – Clean and minimal interface built with vanilla HTML/CSS and simple JS.
• Serverless Hosting – Java Spring Boot backend is deployed via Docker on Render with API access.
Notes are saved locally per problem and automatically loaded when revisiting.
• How to build and deploy a Spring Boot REST API with Docker.
• Connecting Chrome Extensions to external backends using fetch.
• Using Gemini (Google's LLM) to generate useful content from minimal context.
• Working with Chrome Extension APIs like chrome.tabs and chrome.storage.local.
• Managing local state and rendering UI conditionally inside content scripts.
• Debugging and deploying full-stack integrations with Render.
Before using or testing this extension locally, ensure you have:
• A Chromium-based browser (e.g. Chrome or Edge)
• A code editor like VS Code (recommended)
To test or run the LeetCode Assistant Chrome Extension locally:
-
Clone the repository
git clone https://github.com/your-username/Leetcode-Assistant.git
-
Open Chrome and navigate to
chrome://extensions
-
Enable Devloper Mode (toggle in top right)
-
Click "Load unpacked" and select the extension's root directory
-
Navigate to any LeetCode problem page (e.g. https://leetcode.com/problems/two-sum) to see the extension in action
- The extension communicates with the backend hosted at:
https://leetcode-assistant-3k7w.onrender.com
No local backend setup is required.
- The extension communicates with the backend hosted at: