Skip to content

Appear X Gateway Overview

bilbycast-appear-x-api-gateway is a sidecar service that bridges the Appear X broadcast encoder/gateway platform to bilbycast-manager. It translates the Appear X JSON-RPC 2.0 API into the bilbycast WebSocket protocol, enabling centralized management of Appear X hardware alongside native bilbycast edge nodes.

The gateway connects to two systems simultaneously:

  1. bilbycast-manager — via outbound WebSocket (same protocol as edge and relay nodes)
  2. Appear X unit — via HTTPS JSON-RPC 2.0 polling
bilbycast-manager ◄──── WebSocket ────► bilbycast-appear-x-api-gateway ◄──── HTTPS ────► Appear X Unit

The gateway:

  • Polls the Appear X unit for inputs, outputs, services, alarms, and IP interfaces
  • Translates stats and health into the bilbycast manager protocol
  • Receives commands from the manager and translates them into Appear X JSON-RPC calls
  • Appears as a managed device in the manager dashboard
CommandDescription
get_inputsList all input channels
get_outputsList all output channels
get_servicesList running services
get_alarmsList active alarms
get_ip_interfacesList network interfaces
set_ip_inputConfigure an IP input
set_ip_outputConfigure an IP output
Terminal window
cargo build --release
./target/release/bilbycast-appear-x-api-gateway --config config.toml

See the Setup Guide for configuration details and the Architecture for the integration design.

The Appear X gateway serves as the reference implementation for the API gateway sidecar pattern. This same pattern can be used to integrate any third-party broadcast device with bilbycast-manager. See Adding New Gateways for the implementation guide.