Getting Started

Welcome to LeetCode Ghost Window, a tool designed to help you solve LeetCode problems with an invisible window that stays hidden from screen recording software.

What is LeetCode Ghost Window?

LeetCode Ghost Window is an application designed to help you solve LeetCode problems while keeping your window completely invisible to screen recording software like OBS Studio, Discord streaming, or any other screen capture tools. It uses advanced window properties to create a truly "ghost" window that only you can see on your screen.

This tool is perfect for:

  • Technical interviews where screen sharing is required
  • Coding assessments that require screen recording
  • Live coding sessions where you want additional reference
  • Educational content creation without revealing your resources

How Does It Work?

LeetCode Ghost Window uses advanced operating system-specific techniques to create a window that is visible to you but invisible to screen recording software:

  • Windows: Uses native SetWindowDisplayAffinity and DwmSetWindowAttribute APIs
  • Linux: Applies X11/Wayland window properties and layering techniques
  • macOS: Implements window layering and content protection flags
  • WSL: Combines Windows and Linux techniques for compatibility

Additionally, it provides tools to capture the LeetCode problem, process it with AI, and display a solution in your ghost window.

Quick Start

  1. Install LeetCode Ghost Window - Choose your preferred installation method:
  2. Launch the application - Start LeetCode Ghost Window using your preferred method:
    • Desktop application shortcut
    • Command line: leet-joseok init (if using npm installation)
  3. Configure your API key - Enter your OpenAI API key in the settings for AI processing
  4. Navigate to a LeetCode problem - Go to LeetCode and select a problem to solve
  5. Capture and process - Use the keyboard shortcuts to capture the problem and generate a solution

Pro Tip

The first time you use LeetCode Ghost Window, test that it's truly invisible by using a screen recording tool like OBS Studio to confirm that the window doesn't appear in the recording.

Next Steps