Hybrid Demos

Node Publisher to Browser Subscriber

Shows the same channel and payload contract working from a Node script into the browser.

A scriptable backend or utility runtime can publish the same canonical payloads that the browser demo receives without translation.

Source-backedText Event

Reproduce it

The example project and SDK source live on GitHub — open them, then copy into your own project.

Take it further — SDK docs

Each platform has a canonical SDK reference with install steps, auth, and full API.

Technical details — compatibility, payload & channel names

Payload types

StringJSON / object

Channel names

demo.text.basicCanonical text channel for browser-first and two-tab demos.

Example payload

{
  "text": "hello world",
  "label": "greeting"
}

Compatibility notes

Browser JavaScriptNative
Node.jsNative
PythonNative
p5.jsNative
ProcessingNative
ArduinoJSON wrapped
ESP32 / ESP8266JSON wrapped
Serial bridgeAdapter required
TouchDesignerNot yet supported

Run online

  • Use the browser playground as the subscriber surface.
  • Run the Node publisher locally against the same channel.

Run locally

  • Run the Node publisher script with a valid API key.
  • Subscribe from the browser playground on the same canonical channel.

Expected output

  • The browser receives Node-published messages with the same payload shape defined by the shared scenario.

Troubleshooting

  • If no events arrive, confirm both runtimes use the same channel and environment URLs.