Desktop streaming client for iOS Bridge simulator sessions with Electron app integration
Project description
iOS Bridge CLI
A Python-based command-line tool for streaming and controlling iOS simulator sessions from your desktop, similar to how scrcpy works for Android devices.
Features
- ๐ฅ๏ธ Desktop streaming of iOS simulator sessions
- ๐ฎ Touch and keyboard input control
- ๐ฑ Device controls (Home, Screenshot, Device Info)
- ๐ WebSocket-based real-time streaming
- ๐ Easy installation via pip
- ๐ป Cross-platform Electron-based UI
- ๐ Remote server support (Windows/Linux/macOS)
- ๐ฅ๏ธ Local server management (macOS only)
Installation
pip install ios-bridge-cli
Platform Support
macOS (Full Functionality)
- โ Local server management
- โ Remote client connections
- โ Desktop streaming
- โ All CLI commands
Windows/Linux (Remote Client Only)
- โ Local server (requires macOS + Xcode)
- โ Remote client connections
- โ Desktop streaming
- โ Session management commands
Quick Start
Cross-Platform Setup (Most Common)
Run iOS simulators on Mac, stream to Windows/Linux:
Mac (Server):
ios-bridge start-server --host 0.0.0.0 --port 8000
Windows/Linux (Client):
ios-bridge connect http://[MAC-IP]:8000 --save
ios-bridge list
ios-bridge stream <session-id>
๐ Complete Cross-Platform Setup Guide
Remote Server Connection
# Connect to your deployed iOS Bridge server
ios-bridge connect https://ios-bridge.yourcompany.com --save
# Test connection
ios-bridge server-status
# Use all commands with remote server
ios-bridge devices
ios-bridge create "iPhone 14 Pro" "18.2" --wait
ios-bridge stream <session_id>
Local Server Management (macOS Only)
# Start the iOS Bridge server (auto-detects server location)
ios-bridge start-server
# Start server in background
ios-bridge start-server --background
# Start server on custom port
ios-bridge start-server --port 9000
# Check server status
ios-bridge server-status
# Stop the server
ios-bridge kill-server
# Force stop all server processes
ios-bridge kill-server --force --all
Session Management
# List available device types and iOS versions
ios-bridge devices
# Create a new iOS simulator session
ios-bridge create "iPhone 14 Pro" "16.0" --wait
# List active sessions
ios-bridge list
# Get session information
ios-bridge info <session_id>
# Terminate a session
ios-bridge terminate <session_id>
Streaming and Control
# Stream an existing session in desktop window
ios-bridge stream <session_id>
# Stream with quality settings
ios-bridge stream <session_id> --quality ultra --fullscreen
# Take screenshot
ios-bridge screenshot <session_id> --output screenshot.png
Note: The --server option is still available if you need to connect to a remote server, but it defaults to http://localhost:8000 when using the local server commands.
Controls
- Mouse: Click and drag for touch input
- Keyboard: Type directly into the device
- Ctrl+C: Close streaming window and exit
- F1: Home button
- F2: Take screenshot
- F3: Show device info
Requirements
- macOS (for iOS Bridge server)
- Python 3.8+
- Running iOS Bridge server instance
Architecture
โโโโโโโโโโโโโโโโโโโ HTTP/WS โโโโโโโโโโโโโโโโโโโ IPC โโโโโโโโโโโโโโโโโโโ
โ Python CLI โ โโโโโโโโโโโโโโโ โ iOS Bridge โ โ Electron App โ
โ โ โ Server โ โ โ
โ โข CLI parsing โ โ โ โ โข Video render โ
โ โข API client โ โ โข Session mgmt โ โโโโโโโโโโ โ โข Touch input โ
โ โข Process mgmt โ โ โข WebSockets โ โ โข UI controls โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ios_bridge_cli-1.0.4.tar.gz.
File metadata
- Download URL: ios_bridge_cli-1.0.4.tar.gz
- Upload date:
- Size: 630.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b19ac14c23c6de624e22d11dab8c7d33d406dc6667e3f7a40f4391047fe6b4f
|
|
| MD5 |
ae0b0a770bea538788e04d9b6a9434a1
|
|
| BLAKE2b-256 |
136ba8ea3661f01851088e6282e2c52880cc071be38ebc4bfd01712dddbfc7e5
|
File details
Details for the file ios_bridge_cli-1.0.4-py3-none-any.whl.
File metadata
- Download URL: ios_bridge_cli-1.0.4-py3-none-any.whl
- Upload date:
- Size: 614.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4cbcef6a8e87c95da7dcedf17098e32c4112ccdf2262235516ffce57fdf05c3
|
|
| MD5 |
0b636ad643d4c93e4f397101d1ecb6b1
|
|
| BLAKE2b-256 |
33908ab1f8ab4773b4fbf00755c84961d96eeee82a22fdf916151a538dc051cc
|