whereismyai
serve-sim
serve-sim is a tool that exposes Apple Simulators as MJPEG streams and WebSocket channels to enable browser-based interaction, local hosting, and remote development.
serve-sim acts as a host for Apple Simulators, providing a web-based interface for interaction. It uses a Swift helper to capture the simulator's framebuffer via simctl io and exposes it as an MJPEG stream with a WebSocket control channel. Users can view and control their simulator in a browser, facilitating workflows with AI agents like Claude Desktop or Cursor. The tool supports Apple Watch, iPad, and iOS simulators, allowing for gestures, hardware button commands, and camera feed replacement. It provides a middleware option to integrate the preview UI into existing dev servers like Metro or Vite. This project is framework-agnostic and functions on Apple Silicon Macs running macOS.
serve-sim at a glance
Key features
- 60 FPS MJPEG video streaming in the browser
- WebSocket-based remote control channel
- Gesture support including pinch to zoom
- Forwarding of simulator logs to the browser
- Drag and drop media injection for simulator devices
- Keyboard hotkey forwarding
- Camera feed replacement via shared memory
- Support for Apple Watch, iPad, and iOS simulators
Use it for
- Testing hosted simulator infrastructure locally
- Connecting simulators to AI coding agents
- Remote iOS development and debugging
- Replacing simulator camera input with video or images
Alternatives to serve-sim
- sim-use — Provides token-efficient screen outlines and alias-cached taps for fast agent loops.
- Simulator Use — It runs tests and reads screens fast with a token-efficient native engine.
- Baguette — Provides direct, headless control of iOS simulators without Xcode.
- Mimic — Generates a Python client directly from captured app traffic.
- Hypervibe — Run multiple AI coding agents in parallel on a single visual board using your own subscriptions.
- oMLX — It uses paged SSD KV caching to reduce agent TTFT to under 5 seconds.
- Mobile MCP — Connects AI agents directly to real mobile devices for automated testing and tasks.
- offstage — Keeps coding agent simulators and windows off your main desktop display.
- Jep — Connects multiple coding agents to your mobile device or desktop through one interface.
- jevgrep — Reduces coding agent costs by providing targeted, relevant repository context.
- MTPLX — It runs local models twice as fast via native MTP speculative decoding.
- Onepilot — Sessions persist after disconnects, allowing continuous server monitoring.
All serve-sim alternatives