Sidecast

Live iOS simulators and Android emulators inside VS Code. Tap, swipe, type and press hardware
buttons, and drive iOS and Android side by side, with mirrored input, logs and React Native dev tools.
Preview. Works today on macOS with Xcode and the Android SDK. See the changelog for known limits.
Where it lives
- Side dock (default): a full-height column in the secondary side bar, next to the editor and terminal.
With the Explorer on the right, the dock sits on the left. Drag its edge to resize; two phones fit side by side.
- Editor tab:
Sidecast: Open Devices in Editor Tab docks a tab to the right of your code
(sidecast.panelWidth sets its share of the width).
Set sidecast.openIn to sidebar or editor.
Use it
- Open Sidecast (
⌘⌥D), the activity-bar icon, or the status-bar phone counter.
- + Device to pick a simulator or emulator. A shut-down device boots for you (Android boots headless).
- Click to tap, drag to swipe, scroll with the trackpad, type with the keyboard, and paste text with ⌘V.
Hold ⌥ while dragging to pinch (two fingers).
- Mirror sends one pointer and keyboard to every device at once. Followers show violet touch rings.
| Toolbar |
What it does |
| Layout: side by side · grid · focus |
Arrange the tiles |
| Mirror |
One input drives every device |
| Home · Open URL · Dark/Light · Screenshot |
Applies to all devices in the dock |
| Reload · DevTools |
React Native: reload every app via Metro, open JS DevTools |
Each device's hardware rail shows only what that platform supports:
- iOS: Lock, Home, App switcher, Siri, Shake, Screenshot.
- Android: Power, Volume ±, Home, Back, Recents, Rotate, Shake (dev menu), Screenshot.
Shortcuts with a tile focused: ⌘⇧H Home · ⌘[ Back · ⌘⇧A App switcher · ⌘L Lock.
More commands: Show Device Logs (logcat or unified log, with a text or /regex/ filter), Open URL on All
Devices (remembers recent links), Screenshot All Devices (saved to sidecast-screenshots/).
How it works
- iOS: a small Swift helper (compiled once with your Xcode, about 5 s) reads the simulator framebuffer and
injects touch, keyboard and buttons through CoreSimulator. If a future Xcode changes those internals, the
tile falls back to view-only (
simctl screenshots) and says so.
- Android emulator: the emulator's own gRPC controller (its
.proto is loaded from your SDK) streams frames
and takes touches. Keys and buttons go through adb. Physical phones and emulators without gRPC fall back to adb.
- Frames travel over a token-protected
127.0.0.1 WebSocket. Each tile requests only the resolution it
displays, frames are sent only when pixels change, hidden tiles pause, and a slow tile drops stale frames
instead of lagging.
Requirements
macOS with Xcode for iOS; the Android SDK (ANDROID_HOME or sidecast.androidSdkPath) for Android.
Develop
npm install
npm run build # bundle extension + webview (dist/)
npm run helper # optional: prebuild the iOS helper into out/
npm run icon # re-render media/icon.png from the SVG source
npm run package # typecheck + build + .vsix
Press F5 in VS Code (or code --extensionDevelopmentPath=.) to try it.
License
MIT © 2026 HEXHAD. Original work; not affiliated with, and contains no code from, other device-preview tools.
Built by HEXHAD · Made in Sri Lanka