Skip to content
Proyek

Tentang

Effortless file transfer and clipboard sync between Windows and iOS — powered by Python and Apple Shortcuts.

Pengembangan web dan aplikasi

Cara angka ini diukur

522 bintang34 Fork +1 dalam 24 jam

Yang dapat Anda lakukan

  • 📤 Send files from iPhone to PC with a single tap on a Shortcut.
  • 📥 Receive files from the PC clipboard straight to your iPhone.
  • 📝 Clipboard sync for text, images, and files in both directions.
  • 🔔 Interactive Windows notifications — open, reveal, or copy received files directly from the toast.

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+7
dalam 15 hari
+9
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

AirDrop Plus

Effortless file transfer and clipboard sync between Windows and iOS — powered by Python and Apple Shortcuts.

Platform iOS Python License: MIT i18n

English | 中文


Table of Contents

Features

  • 📤 Send files from iPhone to PC with a single tap on a Shortcut.
  • 📥 Receive files from the PC clipboard straight to your iPhone.
  • 📝 Clipboard sync for text, images, and files in both directions.
  • 🔔 Interactive Windows notifications — open, reveal, or copy received files directly from the toast.
  • 🌐 Works over LAN or hotspot — no internet, no data usage, no third-party servers.
  • 🌍 Multilingual UI — English, 简体中文, and Русский, with automatic system-language detection.
  • ⚙️ Web-based settings served locally for quick configuration.

Requirements

Dependency Version Notes
Python 3.10+ Runtime
flask 3.0.0 HTTP server
pillow 10.1.0 Image handling
pystray 0.19.5 System tray icon
windows-toasts 1.3.1 Interactive notifications
pyperclip 1.8.2 Clipboard access
Babel 2.14.0 Build-time only (pybabel extract/compile)
pyinstaller 6.2.0 Build-time only (packaging)

AirDrop Plus is Windows-only on the PC side and pairs with an iOS Shortcut on the phone side.

Installation

Run from source

git clone https://github.com/<your-account>/AirDropPlus.git
cd AirDropPlus
pip install -r requirements.txt
python src/AirDropPlus.py

On first run, copy the config template — the app reads src/config/config.ini:

cp src/config/config.ini.example src/config/config.ini

Build a standalone executable

python src/build.py

The packaged AirDropPlus.exe is generated under src/dist/.

Usage

0. Network

  • Your iPhone and PC must be on the same LAN, or one can connect to the other's hotspot.
  • Transferring over a hotspot does not consume cellular data.

1. Install Bonjour on PC (optional)

Bonjour lets you reach the PC via hostname.local instead of an IP address. The latest Bonjour may fail to resolve hostname.local — use an older version if so.

Windows device name

2. Start AirDropPlus

Launch AirDropPlus.exe (or python src/AirDropPlus.py). When the firewall prompt appears, click Allow.

Allow network access

3. Configure

Right-click the tray icon and open Settings to configure the key, port, and save path.

4. Get the iOS Shortcut

Shortcut version: 1.5.3 — https://www.icloud.com/shortcuts/c499c9a3d9b04e189cce38d9560b3e2e

Shortcut QR code

5. Set up the Shortcut

  • host: hostname.local
  • port: same port as the PC-side settings
  • key: same key as the PC-side settings
Shortcut configuration

If your PC can't be reached via hostname.local, use its IP address instead. Fill in your WiFi-name / PC-IP combinations for every scenario in the list below.

Shortcut IP configuration

6. Add the shortcut to Control Center

Add the 'AirDrop Plus' shortcut to Control Center.

Control Center

7. Lift the file-count limit

iPhone → Settings → Apps → Shortcuts → Advanced → Allow Sharing Large Amounts of Data. Skipping this causes errors when sending multiple images.

8. Try it out

Send files — add the 'AirDrop Plus' shortcut to the share sheet, then tap it.

Edit actions Edit actions
Send file Received on PC

Send text — copy the text, trigger the shortcut, then tap Send.

Receive files or text — trigger the shortcut, then tap Receive to pull from the PC clipboard.

Shortcut menu

Troubleshooting

Shortcut times out
  1. Check that the LAN allows device-to-device traffic (campus networks often block it).
  2. Verify the port in the PC settings matches the port set in the Shortcut.
  3. Ensure the Shortcut's hostname matches the PC's hostname (no Chinese characters, avoid -). Try swapping hostname.local for the IP address.
  4. Check whether the firewall is blocking the configured port. Remove all AirDropPlus-related firewall entries, restart AirDropPlus, and allow the network prompt.
Firewall Network prompt
No notification after startup, but the process is running

The PC's Windows version may be too old for interactive notifications. Switch to basic notifications in the settings.

Basic notifications

API Reference

AirDrop Plus exposes a small HTTP API consumed by the iOS Shortcut. See the full reference:

A Bruno request collection for testing is included under api/.

Project Structure

AirDropPlus/
├── src/                  # All source code, config and resources
│   ├── AirDropPlus.py    # Entry point
│   ├── server.py         # Flask server and routes
│   ├── config.py         # Config loading / saving
│   ├── i18n.py           # gettext-based i18n
│   ├── clipboard.py notifier.py result.py utils.py
│   ├── build.py          # PyInstaller packaging script
│   ├── babel.cfg         # pybabel extraction config
│   ├── config/           # config.ini (local) + config.ini.example (template)
│   ├── static/           # icon.ico
│   ├── templates/        # settings.html
│   └── translations/     # gettext translations (en/ru/zh)
├── docs/                 # Chinese README, API docs and images
│   ├── readme_zh.md
│   ├── api.md / api_zh.md
│   └── images/
├── api/                  # Bruno API test collection
├── requirements.txt
├── readme.md
└── LICENSE

Support

If this project saves you time, consider buying the author a coffee. ☕

Alipay WeChat Pay
Alipay WeChat Pay

License

Released under the MIT License.

Jelajahi proyek terkait

Memuat…