OS Compositor Shield
Enforces WDA_EXCLUDEFROMCAPTURE via native Win32 FFI on Windows 10/11 and NSWindow.sharingType = .none on macOS, verified continuously by a background watchdog.
Phantom is a lightweight desktop overlay protected by OS-level capture exclusion. Keep Claude, Gemini, OpenAI, Groq, and OpenRouter within reach during calls, demos, and focused work—without appearing in screen shares or browser sessions.
Clamp elapsed time to Math.max(0, now - lastRefill) using a monotonic timer (performance.now() or process.hrtime.bigint()) so NTP jumps never produce negative tokens.
Traditional desktop engineering focused on OS-level privacy, zero distractions, and dependable multi-provider access.
Enforces WDA_EXCLUDEFROMCAPTURE via native Win32 FFI on Windows 10/11 and NSWindow.sharingType = .none on macOS, verified continuously by a background watchdog.
Never hits stale hardcoded model IDs. Saving an API key fetches only the live chat models enabled on your account across Claude, Gemini, OpenAI, Groq, and OpenRouter.
Keep focus in your browser or editor while reading and scrolling responses, or enable click-through Ghost Mode (Ctrl+Shift+G) with adjustable opacity.
API keys and chat logs are encrypted with AES-256-GCM using a per-install key sealed by Windows DPAPI or macOS Keychain—never held in plaintext or localStorage.
Runs independently outside your web browser without extensions or page injections, and blocks all Chromium background telemetry, pings, and renderer outbound calls.
Switch to RAM-only history, auto-scrub copied snippets from the system clipboard after a configurable TTL, or clear and hide immediately with Ctrl+Shift+X.
Clear separation between UI rendering, cryptographic storage, and OS display protection.
Strict CSP (connect-src 'none'), contextIsolation: true, nodeIntegration: false. Holds no API keys and performs no network I/O.
Exposes only scoped IPC methods with fault-tolerant wrappers—never arbitrary filesystem, shell, or raw token access.
Decrypts API keys strictly inside main memory, opens direct TLS streams to your chosen provider, and maintains OS compositor exclusion flags.
| Scenario | Behavior |
|---|---|
| Zoom, Meet, Teams, Discord, OBS, PrintScreen | Excluded — Window pixels omitted by OS compositor (Win10 2004+ / Win11 / macOS) |
| Browser Focus / Visibility Monitoring | Silent — Optional non-activating mode prevents focus-loss triggers |
| Strict Shield Fallback | Protected — Blurs & locks interface automatically if OS shield drops |
| Local OS Process List / Kernel Drivers | Out of Scope — Runs as a standard desktop binary without rootkits or drivers |
Select the installer for your operating system, verify its SHA-256 checksum, or build cleanly from source.
Lightweight bootstrap installer hosted on Vercel (~40 KB). Fetches the verified app payload from Cloudflare R2 and manages Install, Updates, Repair, and Secure Uninstall.
Phantom-Setup.exeTarget: WPF Bootstrap + R2 Payload2bf6746c8db9cdfd8f2aa5fd129c153bd1ea2c64a6df11059bed4ef45722bf43Universal disk image from Cloudflare R2 with NSWindow.sharingType = .none, Dock icon suppression (LSUIElement), and Keychain sealing.
Phantom-3.0.0.dmgTarget: dmg (Universal)Publish macOS build checksum to R2 manifestPortable AppImage package. Note: X11 and Wayland do not enforce OS screen-capture exclusion; Strict Shield warning applies.
Phantom-3.0.0.AppImageTarget: AppImage (x64)Publish Linux build checksum to R2 manifestClone the repository, run the 22 automated tests, and package the installer directly on your own machine.
npm install
npm test
npm run build:win # or build:mac / build:linux| Action | Shortcut (Windows / macOS) |
|---|---|
| Toggle window visibility | Ctrl+Shift+Space / ⌘+⇧+Space |
| Toggle Ghost Mode (click-through) | Ctrl+Shift+G or Ctrl+Alt+G |
| Toggle Compact HUD | Ctrl+Shift+H |
| Scroll chat without focusing | Ctrl+Shift+↑ / ↓ |
| Adjust overlay opacity | Ctrl+Shift+[ / ] |
| Panic wipe & hide immediately | Ctrl+Shift+X |
Straightforward technical answers about compatibility, privacy, and keys.
On Windows 10 (build 2004+) and Windows 11, Phantom sets WDA_EXCLUDEFROMCAPTURE on its native HWND and polls GetWindowDisplayAffinity to verify it stays active. On macOS, it applies NSWindow.sharingType = .none. Standard desktop and browser capture APIs omit the window entirely from captured frames.
Press Ctrl+Shift+G or Ctrl+Alt+G anytime from any application, or hover directly over the Exit Ghost control banner in Phantom—hovering temporarily pauses click-through so you can click it cleanly.
Keys are encrypted with AES-256-GCM using a 256-bit random master key sealed by your operating system's credential store (Windows DPAPI or macOS Keychain). If OS sealing is unavailable, Phantom automatically falls back to RAM-only volatile storage.
No. Phantom does not install browser extensions, inject scripts, or intercept browser tabs. With Preserve Browser Focus enabled, it uses Win32 WS_EX_NOACTIVATE so showing or scrolling the overlay never triggers browser focus-loss events.
To prevent outdated or 404 model IDs, Phantom queries your provider's live models endpoint directly as soon as you save your key, filtering down to valid text/chat models available to that specific key.