Phantom Pair is an AI-powered coding assistant that reads problems from screenshots and delivers instant solutions - while remaining invisible to screen recorders.
Download
Download the latest version for your platform:
Windows: phantom-pair-1.0.0-setup.exe
Linux:
- phantom-pair-1.0.0.AppImage (Universal)
- phantom-pair_1.0.0_amd64.deb (Debian/Ubuntu)
Key Features
- Privacy Overlay - Invisible to screen recorders, streaming tools, and screen sharing
- Screenshot Capture - Global hotkeys for instant problem screenshot capture
- AI Problem Analysis - Extract coding problems from images using GPT/Gemini
- Multi-Language Support - Generate solutions in Python, C++, Java, and more
- Solution Generation - Optimized code with detailed explanations and complexity analysis
- Debug Mode - Analyze error screenshots for solution improvements
- Dual AI Providers - Switch between OpenAI GPT and Google Gemini models
- Always-On-Top Window - Overlay interface that stays accessible during coding
- Click-Through Mode - Toggle window interaction for seamless workflow
- Global Shortcuts - Complete keyboard control without leaving your IDE
- Screenshot Management - Queue system for multiple problem images
- Automatic Cleanup - Smart file management and temporary data handling
- Configuration Persistence - Save API keys, preferences, and window settings
- Cross-Platform - Works on Windows, macOS, and Linux
- Opacity Control - Adjust window transparency for optimal visibility
Project Structure
The project is organized as an Electron desktop application with a React renderer:
phantom-pair/
โโโ src/
โ โโโ main/ # Electron main process
โ โ โโโ index.ts # Application entry point and window management
โ โ โโโ lib/ # Core business logic
โ โ โโโ config-manager.ts # User settings and API key management
โ โ โโโ processing-manager.ts # AI processing orchestration
โ โ โโโ screenshot-manager.ts # Screenshot capture and file management
โ โ โโโ keyboard-shortcut.ts # Global shortcuts and window controls
โ โ โโโ ipc-handler.ts # Inter-process communication handlers
โ โโโ preload/ # Secure IPC bridge
โ โ โโโ index.ts # Preload script for renderer communication
โ โ โโโ index.d.ts # TypeScript definitions for exposed APIs
โ โโโ renderer/ # React frontend
โ โโโ index.html # HTML entry point
โ โโโ src/
โ โโโ App.tsx # Root React component
โ โโโ main.tsx # React DOM render entry
โ โโโ components/ # UI components
โ โ โโโ main-app.tsx # Primary application interface
โ โ โโโ screenshots-view.tsx # Screenshot management UI
โ โ โโโ settings-dialog.tsx # Configuration interface
โ โ โโโ solutions.tsx # AI solution display
โ โ โโโ welcome-screen.tsx # Initial setup screen
โ โโโ providers/ # React context providers
โ โ โโโ query-provider.tsx # TanStack Query setup
โ โ โโโ toast-context.tsx # Toast notification context
โ โ โโโ toast-provider.tsx # Toast provider implementation
โ โโโ lib/ # Shared utilities and types
โ โ โโโ types.ts # TypeScript type definitions
โ โ โโโ utils.ts # Utility functions
โ โ โโโ languages.ts # Programming language configurations
โ โโโ assets/ # Static assets (CSS, images)How To Use
To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer.
Clone the repository
git clone https://github.com/kunaldasx/phantom-pair cd phantom-pairInstall dependencies
npm installStart the development application
npm run dev
Development Commands
# Install dependencies
npm install
# Development mode with hot reload
npm run dev
# Build the application
npm run buildPlatform-Specific Builds
# Windows build
npm run build:win
# macOS build
npm run build:mac
# Linux build
npm run build:linux
# Build without packaging (for testing)
npm run build:unpackHow to Contribute
Clone the repository and create a new branch:
git checkout -b name_for_new_branchMake your changes and test them.
Submit a Pull Request with a comprehensive description of your changes.
Emailware
Phantom Pair is an emailware. If you liked using this app or it has helped you in any way, I'd like you to send me an email at kunaldasx@gmail.com about anything you'd want to say about this software. I'd really appreciate it!
Technologies
This software uses the following technologies:
- Electron 35.0.0 - Cross-platform desktop application framework
- Node.js - Server-side JavaScript runtime for the main process
- Electron Vite 3.1.0 - Modern build tooling with HMR support
- React 19.1.0 - UI library with modern hooks and concurrent features
- TypeScript 5.8.3 - Static typing for JavaScript
- TailwindCSS 4.1.4 - Utility-first CSS framework
- Radix UI - Accessible component primitives for dialogs and toasts
- TanStack Query 5.74.4 - Server state management and caching
- Framer Motion 12.23.12 - Animation library
- React Syntax Highlighter - Code syntax highlighting
License
MIT
๐ Visit my website โ
๐ฅ๏ธ GitHub ย ยทย
๐ผ LinkedIn ย ยทย
๐ฆ Twitter / X ย ยทย


