roku
Control Roku devices via CLI. Discovery, remote control, app launching, search, and HTTP bridge mode for real-time control.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- roku
- homepage
- https://github.com/gumadeiras/roku-cli
- metadata
- { "clawdbot": { "emoji": "?", "install": [ { "id": "node", "bins": [ "roku" ], "kind": "node", "label": "Install Roku CLI (npm)", "package": "roku-ts-cli" } ], "requires": { "bins": [ "roku" ] } } }
- repository
- https://github.com/gumadeiras/roku-cli
- description
- Control Roku devices via CLI. Discovery, remote control, app launching, search, and HTTP bridge mode for real-time control.
02 资源文件 8
- 参考文档_meta.json442 B
- 参考文档README.md2.2 KB
- 脚本roku-client.py877 B
- 脚本roku-daemon.py2.8 KB
- 脚本roku-fast.py716 B
- 脚本roku-listener.py1.9 KB
- 脚本roku-remote.py1.6 KB
- 脚本roku-telegram.py1.9 KB
03 SKILL.md 正文
Roku CLI
Fast TypeScript CLI for controlling Roku devices via the ECP API.
Installation
npm install -g roku-ts-cli@latest
Quick Start
# Discover devices and save an alias
roku discover --save livingroom --index 1
# Use the alias
roku --host livingroom device-info
roku --host livingroom apps
Commands
| Command | Description |
|---|---|
roku discover |
Find Roku devices on network |
roku --host <ip> device-info |
Get device info |
roku --host <ip> apps |
List installed apps |
roku --host <ip> command <key> |
Send remote key |
roku --host <ip> literal <text> |
Type text |
roku --host <ip> search --title <query> |
Search content |
roku --host <ip> launch <app> |
Launch app |
roku --host <ip> interactive |
Interactive remote mode |
Interactive Mode
roku livingroom # interactive control
roku --host livingroom interactive # same thing
Use arrow keys, enter, escape for remote-like control.
Bridge Service
Run a persistent HTTP bridge as a native OS service:
# Install and start the service
roku bridge install-service --port 19839 --token secret --host livingroom --user
roku bridge start --user
# Service management
roku bridge status --user
roku bridge stop --user
roku bridge uninstall --user
Send commands via HTTP:
# Send key
curl -X POST http://127.0.0.1:19839/key \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret" \
-d '{"key":"home"}'
# Type text
curl -X POST http://127.0.0.1:19839/text \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret" \
-d '{"text":"hello"}'
# Launch app
curl -X POST http://127.0.0.1:19839/launch \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret" \
-d '{"app":"plex"}'
# Health check
curl http://127.0.0.1:19839/health -H "Authorization: Bearer secret"
Bridge Endpoints
| Endpoint | Body |
|---|---|
POST /key |
{"key": "home"} |
POST /text |
{"text": "hello"} |
POST /search |
{"title": "Stargate"} |
POST /launch |
{"app": "plex"} |
GET /health |
— |
GET /health?deep=1 |
Deep health check (probes Roku) |
Aliases
# Save device alias
roku discover --save livingroom --index 1
roku alias set office 192.168.1.20
# Save app alias
roku alias set plex 13535
# List aliases
roku alias list
# Use aliases
roku --host livingroom launch plex
Remote Keys
home, back, select, up, down, left, right, play, pause, rev, fwd, replay, info, power, volume_up, volume_down, mute
Notes
- Roku must be on the same network as the CLI
- Bridge service runs as a native launchd (macOS) or systemd (Linux) service
- Use
--userflag for user-space service (no sudo required) - Use
--tokenfor authentication in bridge mode
Source
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.