How seemoo-lab/opendrop works
OpenDrop is a command-line AirDrop-compatible file-sharing tool. Users discover nearby receivers, select one from saved discovery results, then send a file or URL; receiving mode advertises an HTTPS service and accepts incoming files. The graph separates discovery, sending, receiving, and configuration/support. The README documents major behaviors such as URL sending and automatic file acceptance; unsampled implementation details are not expanded beyond those documented capabilities.
Main entry points: cli.py Command orchestration · client.py AirDrop client · server.py HTTPS service · config.py AirDrop configuration
Components 13
CLI workflow
- Command orchestration
opendrop/cli.py - Discovery results
opendrop/cli.py
Sender protocol
- Service discovery
opendrop/client.py - AirDrop client
opendrop/client.py
Receiver protocol
- HTTPS service
opendrop/server.py - Request handling
opendrop/server.py
Configuration and support
- File archiving
opendrop/util.py - AirDrop configuration
opendrop/config.py - Network and media helpers
opendrop/util.py - Apple credentials
opendrop/certs/apple_root_ca.pem
Other components
- CLI user
- Apple devices
- mDNS network
Connections 16
- CLI user → Command orchestration: runs command
README.md - Command orchestration → AirDrop configuration: creates config
opendrop/cli.py - Command orchestration → Service discovery: starts browsing
opendrop/cli.py - Service discovery → mDNS network: browses services
opendrop/client.py - Command orchestration → Discovery results: writes and reads
opendrop/cli.py - Command orchestration → AirDrop client: sends requests
opendrop/cli.py - AirDrop client → Apple devices: sends HTTPS
opendrop/client.py - AirDrop client → File archiving: builds archive
opendrop/client.py - AirDrop client → Network and media helpers: uses utilities
opendrop/client.py - Command orchestration → HTTPS service: starts receiving
opendrop/cli.py - HTTPS service → mDNS network: announces service
opendrop/server.py - HTTPS service → AirDrop configuration: gets TLS context
opendrop/server.py - Apple devices → Request handling: posts requests
README.md - Request handling → Network and media helpers: uses utilities
opendrop/server.py - Request handling → Apple devices: returns responses
opendrop/server.py - AirDrop configuration → Apple credentials: loads root CA
opendrop/config.py