gitmyhub

AnyPiP

Swift ★ 43 updated 18d ago

Turn ANY window to a PIP window. Live PIP preview so you can see whats going on, Simple Enter and Glance functions!

A macOS menu-bar app that turns any app window into a floating picture-in-picture overlay that stays on top of everything else on screen, using keyboard shortcuts you configure yourself, extending PiP beyond video players to any window at all.

SwiftSwiftUIAppKitScreenCaptureKitsetup: easycomplexity 1/5

AnyPiP is a macOS menu-bar app that takes any visible app window and floats it as a picture-in-picture overlay above everything else on your screen. Picture-in-picture on macOS normally only works with video players; AnyPiP extends that idea to any window at all.

The app sits in your menu bar and activates through keyboard shortcuts you configure yourself. One shortcut turns the frontmost window (whatever is currently in focus) into a floating overlay that stays on top of other apps. A second shortcut restores that floating window back to its original position or closes it. There is also an auto-PiP option: you can tell the app to automatically float certain apps whenever you switch focus away from them, keeping those windows visible while you work in something else.

AnyPiP requires two macOS permissions to function. Screen Recording lets it capture the window content to display in the overlay. Accessibility lets it move, resize, and refocus windows on your behalf. Without both permissions granted, the core features will not work.

The app requires macOS 26.4 or later. It is written in Swift using SwiftUI, AppKit, ScreenCaptureKit, and the macOS Accessibility APIs. The README is brief and the source is released under the MIT license.

Where it fits