Basic Usage
Learn how to use LeetCode Ghost Window to solve LeetCode problems efficiently while keeping your resources hidden from screen recording.
Getting Started
After installing LeetCode Ghost Window, follow these basic steps to get started:
- Launch the application
Start LeetCode Ghost Window using your preferred method: desktop shortcut, Start menu, or CLI with
leet-joseok init
if you installed the npm package. - Configure Settings
On first launch, you'll need to configure your OpenAI API key for the AI processing feature. Click on the Settings icon in the top-right corner and enter your API key.
- Verify Ghost Mode
By default, the application starts in Ghost Mode. You can verify it's working by trying to capture the window with screen recording software - it should be invisible.
Basic Workflow
LeetCode Ghost Window is designed to follow a simple workflow:
1. Navigate to a LeetCode Problem
Open your browser and go to LeetCode. Sign in and select a problem you want to solve.
2. Capture Problem Description
Use keyboard shortcuts to capture screenshots of the problem:
Ctrl+Shift+1
to capture the first screenshotCtrl+Shift+2
to capture additional screenshots if neededCtrl+Shift+3
to capture a third screenshot for complex problems
3. Process with AI
Process the captured screenshots to get a solution:
Ctrl+Shift+A
to process with 1 imageCtrl+Shift+B
to process with 2 imagesCtrl+Shift+C
to process with 3 images
4. Implement the Solution
Review the AI-generated solution and implement it in the LeetCode editor. You can copy code snippets directly from the Ghost Window.
Window Management
LeetCode Ghost Window provides several keyboard shortcuts to manage the window:
Hide window (makes it invisible to you)
Show window (makes it visible to you)
Toggle window drag mode (for repositioning)
Quit application
Pro Tip
You can also access all features through the system tray icon. Right-click on the icon in your system tray to see available options.
Language Selection
By default, the AI will detect the appropriate language for the solution based on the problem context. However, you can specify a preferred language in the settings menu to ensure solutions are provided in your language of choice.
Customizing the View
You can customize the application's appearance and behavior through the settings menu:
- Toggle between dark and light themes
- Adjust font size for better readability
- Change the window opacity level
- Configure default programming language
- Set preferred AI model for solutions
Using the CLI
If you've installed the CLI version, you can manage LeetCode Ghost Window from the command line:
# Launch the application leet-joseok init # Configure settings leet-joseok config set apiKey YOUR_OPENAI_API_KEY # View all configuration settings leet-joseok config list