MCPcopy Index your code
hub / github.com/amitv87/PiP

github.com/amitv87/PiP @v3.01

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.01 ↗ · + Follow
954 symbols 2,294 edges 154 files 143 documented · 15%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

macOS Picture in Picture

Total Downloads App Version Repo Size Repo Stars

Always on top window preview with AirPlay receiver support (if on macOS 12+, turn-off built-in AirPlay receiver from system preferences)

Code Info

  • Nibless cocoa app
  • OpenGL/Metal renderer with HiDPI support
  • CoreGraphics based capturer (looking for alternative)
  • No third party dependency
  • Uses private framework for native pip support
  • AirPlay backend from https://github.com/FDH2/UxPlay and https://github.com/KqSMea8/AirplayServer

Features

  • Clone any visibile window
  • Clone multiple active display
  • Camera preview
  • HLS streaming
  • Airplay sender (unstable)
  • Crop the preview
  • Auto and manual resize preserving the aspect ratio
  • Multiple window preview from same process, cmd+n to open and cmd+w to close
  • Pinch to zoom
  • Native picture in picture support cmd+p
  • Transparency/opacity control (slider in right click menu)
  • Minimal modern UI
  • Upto 10 parallel airplay sessions (soft limit)

Installation

Manual download

Latest Release Latest Release

Download and install via Homebrew

Homebrew

brew install --cask amitv87-pip

Build from source and run

# checkout code
git clone https://github.com/amitv87/PiP.git
cd pip

# build using xcode
xcodebuild -alltargets
open build/Release/PiP.app

# or simply
./run.sh

Core symbols most depended-on inside this repo

logger_log
called by 227
airplay/logger.c
llparse__match_sequence_id
called by 96
airplay/llhttp/llhttp.c
F
called by 83
airplay/playfair/modified_md5.c
plist_dict_set_item
called by 74
airplay/plist/plist.c
fe_mul
called by 64
airplay/ed25519/fe.c
fe_sq
called by 55
airplay/ed25519/fe.c
plist_get_node_type
called by 55
airplay/plist/plist.c
plist_dict_get_item
called by 48
airplay/plist/plist.c

Shape

Function 784
Class 162
Enum 8

Languages

C91%
C++9%
Python1%

Modules by API surface

airplay/plist/plist.c70 symbols
airplay/llhttp/llhttp.c54 symbols
airplay/crypto/bigint.c42 symbols
airplay/llhttp/api.c41 symbols
airplay/plist/bplist.c34 symbols
airplay/plist/xplist.c25 symbols
airplay/raop_rtp.c24 symbols
airplay/raop_ntp.c22 symbols
airplay/plist/time64.c22 symbols
airplay/playfair/omg_hax.c22 symbols
airplay/ed25519/ge.c22 symbols
airplay/aes.c22 symbols

For agents

$ claude mcp add PiP \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact