AnyPiP

June 1, 2026 ยท View on GitHub

AnyPiP is a macOS menu-bar app that turns the frontmost app window into an always-on-top picture-in-picture window. It is built with SwiftUI, AppKit, ScreenCaptureKit, and the macOS Accessibility APIs.

https://github.com/user-attachments/assets/4e27c05c-18d4-44f4-bad9-2c2ffea8da56

Features

  • Start or stop PiP from the menu bar or a configurable global shortcut.
  • Glance into the source window and return it to PiP with a second configurable shortcut.
  • Automatically enter PiP for selected apps when they lose focus.
  • Hover into the PiP window to temporarily switch back to the source app.
  • Keep the original source window hidden while the PiP copy stays visible.

Requirements

  • macOS 26.4 or later.
  • Screen Recording permission.
  • Accessibility permission.

You can also verify the project from Terminal:

First Startup

AnyPiP needs macOS permissions to capture and manage windows:

  • Screen Recording: required by ScreenCaptureKit.
  • Accessibility: required to move, restore, and focus source windows.

License

MIT. See LICENSE.