A channel is just a URL
No provisioning step, no create call, no config. Pick a name nobody can guess, connect, and the channel exists for as long as someone is listening.
How channels work
Connect a websocket to any URL. Everything you send goes to every other client on that URL — and to nobody else. No accounts, no SDK, no setup.
const ws = new WebSocket(
"wss://router.metapage.io/a-name-nobody-will-guess",
);
// Anything any other client sends to that URL arrives here.
ws.onmessage = (event) => console.log("peer said:", event.data);
// Anything we send goes to all of them — but never back to us.
ws.onopen = () => ws.send(JSON.stringify({ hello: "world" }));And from anything that can make an HTTP request:
curl -X POST \
https://router.metapage.io/a-name-nobody-will-guess \
-d '{"temperature": 21.4}'That is the entire product surface. The rest of these docs is about what that turns out to be good for, and where the edges are.