Features

LeetCode Ghost Window comes packed with features designed to enhance your LeetCode problem-solving experience while keeping your window invisible to screen recording software.

True Ghost Mode

The core feature of LeetCode Ghost Window is its advanced ghost mode implementation, which makes the window completely invisible to screen recording and streaming software. This is achieved through platform-specific techniques:

  • Windows Implementation

    Uses native SetWindowDisplayAffinity API with WDA_EXCLUDEFROMCAPTURE flag and DwmSetWindowAttribute with DWMWA_CLOAK for advanced hiding.

  • Linux Implementation

    Combines X11/Wayland window properties, selective transparency, and window type modifications to avoid compositor capture.

  • macOS Implementation

    Implements window layering, opacity adjustments, content protection, and workspace visibility modifications.

  • WSL Implementation

    Uses specialized window layering, visibility settings, and window property modifications to avoid detection.

Screenshot Capture System

The application includes a powerful screenshot capture system designed to grab LeetCode problems quickly and efficiently:

  • Direct screen capture with keyboard shortcuts (Ctrl+Shift+1, Ctrl+Shift+2, Ctrl+Shift+3)
  • Automatic preview of captured screenshots within the application
  • Support for multiple screenshots for complex problems with multiple sections
  • Visual feedback indicators showing which screenshots have been captured

AI-Powered Solution Analysis

LeetCode Ghost Window integrates with OpenAI's API to provide detailed solutions to captured problems:

  • Comprehensive solutions with detailed explanations and implementation
  • Support for multiple programming languages (JavaScript, Python, Java, C++, and more)
  • Time and space complexity analysis for each solution
  • Detailed breakdown of solution approaches and algorithms
  • Well-commented code that explains the implementation
  • Alternative solutions when applicable, with trade-offs explained

Multi-Platform Support

The application is designed to work across multiple platforms with full ghost mode functionality:

  • Windows 10/11: Full support with enhanced ghost capabilities
  • Linux (Ubuntu, Fedora, Arch): Improved Wayland and X11 support
  • WSL (Windows Subsystem for Linux): Enhanced window property settings
  • macOS (Ventura, Sonoma): Enhanced window property settings

User-Friendly Design

The application features a minimalist, user-friendly design focused on productivity:

  • Frameless window with modern look and custom title bar
  • Compact layout optimized for screen real estate
  • Dark theme that's easy on the eyes during coding sessions
  • Visual indicators providing clear status feedback
  • System tray integration for easy access to functions

Keyboard Shortcuts

The application includes comprehensive keyboard shortcuts for efficient operation:

Ctrl+Shift+1

Capture first screenshot

Ctrl+Shift+2

Capture second screenshot

Ctrl+Shift+3

Capture third screenshot

Ctrl+Shift+A

Process with 1 image

Ctrl+Shift+B

Process with 2 images

Ctrl+Shift+C

Process with 3 images

Ctrl+Shift+H

Hide window

Ctrl+Shift+S

Show window

Ctrl+Shift+Q

Quit application

Ctrl+Shift+M

Toggle window drag mode

CLI Support

The application includes CLI support for command-line enthusiasts:

  • Install via npm with npm install -g leetcode-joseok
  • Launch the application with leet-joseok init
  • Configure settings with leet-joseok config
  • Full documentation available in the CLI section