Item logo image for LeetCode Play Button

LeetCode Play Button

4.0(

1 rating

)
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

Manage extensions and learn how they're being used in your organization
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

Related

Salesforce Shortcuts with Colored Favicons

5.0

Allows you to quickly open the saved Salesforce orgs with keyboard shortcuts. It also enables you to set a colored favicon for them.

Notion Syntax Highlighter

5.0

Improves Notion's code blocks syntax highlighting + adds tons of theme options

Mokku

4.0

Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.

Spotify Web Player Hotkeys

4.6

Add keyboard shortcuts to control playback in Spotify Web.

Looper for YouTube

4.6

Auto replay videos with ONE-CLICK, able to customise features such as AUTO LOOP toggle, setting loop counts and loop portion.

Custom Video Speed for YouTube™

4.3

change the current & default speed of YouTube™ videos by steps of 0.1 from 0.1 up to 8.0 using sliders, buttons, and/or the keyboard

HTML5 Video Keyboard Shortcuts

4.1

Add keyboard support to Chrome's native HTML5 video player.

Just Youtube Playback Speed Control

4.8

Control speed of the youtube playback using keyboard. Press '+' to increase and '-' to decrease the playback speed.

Leetcode format

4.3

Adds Format code button on leetcode to format the code using Prettier code formatter

Hotkeys for Webflow

4.8

Adds hotkeys and dashboard for Webflow.

Controls for YouTube

0.0

Add configurable keyboard shortcuts and customizations to the YouTube player.

1-click quality for Twitch

4.7

Adds buttons to change qualities with one click.

Salesforce Shortcuts with Colored Favicons

5.0

Allows you to quickly open the saved Salesforce orgs with keyboard shortcuts. It also enables you to set a colored favicon for them.

Notion Syntax Highlighter

5.0

Improves Notion's code blocks syntax highlighting + adds tons of theme options

Mokku

4.0

Adds the API mocker MOKKU to Chrome Developer Tools for seamless integration & testing.

Spotify Web Player Hotkeys

4.6

Add keyboard shortcuts to control playback in Spotify Web.

Looper for YouTube

4.6

Auto replay videos with ONE-CLICK, able to customise features such as AUTO LOOP toggle, setting loop counts and loop portion.

Custom Video Speed for YouTube™

4.3

change the current & default speed of YouTube™ videos by steps of 0.1 from 0.1 up to 8.0 using sliders, buttons, and/or the keyboard

HTML5 Video Keyboard Shortcuts

4.1

Add keyboard support to Chrome's native HTML5 video player.

Just Youtube Playback Speed Control

4.8

Control speed of the youtube playback using keyboard. Press '+' to increase and '-' to decrease the playback speed.

Google apps