Control your Roku device without leaving your editor. This extension adds a fully interactive remote-control UI to the VS Code sidebar, talking to your Roku over its built-in External Control Protocol (ECP) — no cloud, no account, all on your local network.
- 📺 Full remote UI in the Activity Bar — D-pad, OK, Back, Home, transport (play/pause, rewind, fast-forward), volume, mute and power.
- 🔍 Automatic device discovery over SSDP — find Rokus on your network with one click.
- ✋ Manual IP entry as a fallback.
- ⌨️ Send text to on-screen keyboards (search boxes, logins, etc.).
- 🟢 Live connection status with device name & model.
- 🎬 Channel launcher — load installed channels and launch them by clicking the icon.
- Install/run the extension (see Development below to run from source).
- Click the Roku Remote icon in the Activity Bar.
- Click Discover devices (or the ⚙ button) to find your Roku automatically,
or choose Enter IP manually and type your Roku's IP address.
- Find the IP on the device under Settings → Network → About.
- Use the remote!
Your Roku and your computer must be on the same local network. "Fast TV start" / network standby must be enabled on the Roku for the Power button to wake it.
| Setting | Description | Default |
|---|---|---|
rokuRemote.deviceIp |
IP address of the Roku to control. | "" |
rokuRemote.requestTimeoutMs |
Timeout (ms) for ECP requests. | 4000 |
- Roku Remote: Discover Devices
- Roku Remote: Set Device IP Address
- Roku Remote: Open Remote
Roku exposes a small HTTP API on port 8060:
POST /keypress/<Key>— send a button press (e.g.Home,Select,VolumeUp).POST /keypress/Lit_<char>— type a literal character.POST /launch/<appId>— launch a channel.GET /query/apps,GET /query/device-info,GET /query/icon/<id>— read state.- SSDP
M-SEARCHwithST: roku:ecp— discover devices.
This extension wraps those endpoints; everything stays on your LAN.
npm install
npm run compile # or: npm run watchThen press F5 in VS Code to launch an Extension Development Host with the extension loaded.
To package a .vsix:
npm install -g @vscode/vsce
vsce packageMIT