Skip to main content

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

Usage

Remote Server Connection (All Platforms)

# 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ios_bridge_cli-1.0.3.tar.gz (628.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ios_bridge_cli-1.0.3-py3-none-any.whl (612.7 kB view details)

Uploaded Python 3

File details

Details for the file ios_bridge_cli-1.0.3.tar.gz.

File metadata

  • Download URL: ios_bridge_cli-1.0.3.tar.gz
  • Upload date:
  • Size: 628.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ios_bridge_cli-1.0.3.tar.gz
Algorithm Hash digest
SHA256 2e8f9a70892a47d3018eee6f38ac84287422266fd65118d2fbccff39b6bebea7
MD5 1fce414e8b6c5988aba382088d84d0a0
BLAKE2b-256 0e8e782c588eba280c4abaeb6544a377e490fc3fb36fdc3316b526e6b7ecbc2a

See more details on using hashes here.

File details

Details for the file ios_bridge_cli-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: ios_bridge_cli-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 612.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ios_bridge_cli-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dc3aec8369c108de46394beb2c9c728122eccfea9279bfad1e481709153a9166
MD5 3b16927fefb5062e0841fa9636808638
BLAKE2b-256 a1b61ebc8778d52f1dede9ce8144c753eee4e19f8c3eee51efefd89cfc6713db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page