Leetcode Play Button Chrome extension icon

Leetcode Play Button

✨ AI-Powered
📦 v1.0
💾 8.57KiB
📅 2025-08-30
View on Chrome Web Store

Chrome will indicate if you already have this installed.

Overview

This extension simply adds play button and powerful keyboard shortcuts to your LeetCode editor. With one tap, it streams AI-generated leetcode solutions (via your local Ollama instance) directly into the Monaco editor, line by line or all at once.
✨ Features
• 🟦 Floating Play Button
Appears automatically inside LeetCode’s editor tab bar. Clean glassmorphism style with hover animations.
• ⌨️ Keyboard Shortcuts
o Tab → Insert full AI solution at once
o Alt + M → Change AI model (e.g. deepseek-coder, llama2, etc.)
o Alt + P → Change default prompt
• 📜 Streaming AI Responses
Integrates with your local Ollama server (port 11434). Solutions are streamed token-by-token and written directly into the Monaco editor.
• 🔍 Smart Problem Capture
Auto-extracts the current LeetCode problem statement and uses it as context for solution generation.
• 🛠 Custom Prompt Modal
Built-in textarea modal lets you override prompts without editing code.
• 🎨 Modern UI
Glassmorphism floating button + animated hover/press states.
________________________________________
How It Works
1. Open any LeetCode problem.
2. Click the Play button (or press Tab).
3. The extension sends the problem description + your prompt to Ollama (localhost:11434).
4. The AI model streams back Java code directly into LeetCode’s Monaco editor.
________________________________________
Why Use This?
• 🚀 Skip manual copy-paste workflows
• ⚡ Get Java code fast while keeping focus inside the editor
• 🧑‍💻 Train with multiple solution approaches (brute vs optimized)
• 🎯 Perfect for practice, study, or exploring AI-assisted coding
________________________________________

________________________________________
Installation
1. Install the extension from Chrome Web Store.
2. Run Ollama locally on port 11434 with your preferred model (e.g. deepseek-coder).
3. Open leetcode.com and start solving!
________________________________________
Permissions
• *://leetcode.com/* → inject Play button + handle editor
• Localhost fetch → stream solutions from Ollama (http://localhost:11434/api/generate)
________________________________________
✅ Works best with: Ollama + deepseek-coder (but supports any model you set).
⚠ Requires Ollama installed locally.

Tags

Productivity/education developer writing productivity/education

Privacy Practices

Not being sold to third parties, outside of the approved use cases
Not being used or transferred for purposes that are unrelated to the item's core functionality
Not being used or transferred to determine creditworthiness or for lending purposes

🔐 Security Analysis

⏳ Security scan is queued. Check back soon.

Google Translate

39M+ users
View translations easily as you browse the web. By the Google Translate team.
Productivity/education

Endnote Click

5M+ users
Fast, one-click access to millions of research papers.
Productivity/education
Easily create mathematical equations, formulas and quizzes. Intuitively type or handwrite, with no tricky math code to l…
Productivity/education