r/PythonProjects2 • u/Internal-Opinion-335 • 41m ago
ClipBridge: send your iPhone clipboard (text and images) to Windows with a Flask receiver and a Back Tap
**What My Project Does**
A small background Flask server for Windows that receives your iPhone's clipboard from an iOS Shortcut and puts it on the Windows clipboard. Text is copied directly. Images are decoded with Pillow (HEIC via pillow-heif) and placed on the clipboard in three formats at once (bitmap, PNG, and a file drop) so they paste into Paint, browsers and File Explorer. Text copied from photos (Live Text) arrives as RTFD, so it's converted back to plain text with striprtf.
**Target Audience**
Anyone with an iPhone and a Windows PC. It's a personal utility for a trusted home network, not a production service.
**Comparison**
Universal Clipboard is Apple-only. Phone Link has limited iPhone support. Pushbullet and KDE Connect need an app on the phone. This needs only an iOS Shortcut and about a couple hundred lines of Python.
Repo and setup guide: https://github.com/piyushdev0204/ClipBridge
GIF above shows the flow. Feedback on the code is welcome.
