Item logo image for LeetCode Play Button

LeetCode Play Button

4.0(

1 rating

)
ExtensionEducation4 users
Item media 1 (screenshot) for LeetCode Play Button

Overview

Adds a floating play button & keyboard shortcuts inside the Monaco editor on LeetCode.

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.

Details

  • Version
    1.0
  • Updated
    August 30, 2025
  • Offered by
    leetpad
  • Size
    8.57KiB
  • Languages
    English
  • Developer
    Email
    thakurganesh919@gmail.com
  • Non-trader
    This developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.

Privacy

The developer has disclosed that it will not collect or use your data. To learn more, see the developer’s privacy policy.

This developer declares that your data is

  • 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
Google apps