mirror of
https://github.com/moeru-ai/airi.git
synced 2026-08-29 02:31:49 +08:00
アイリ VTuber
[Try it]
Heavily inspired by Neuro-sama
WebSocket Bridge
Stage Pocket adds a host-backed WebSocket bridge for @proj-airi/server-sdk.
Design constraints:
- keep page loading on secure origins (
httpsor app-hosted local origins) to preserve secure-context web APIs - only implement the WebSocket bridge needed by
@proj-airi/server-sdk - native owns socket I/O;
server-sdkowns reconnect, heartbeat, authentication, and connection state - the bridge only forwards
connect,send,close,open,message,error, andclose