Turn
your app
multiplayer.

A fast real-time collaboration API platform that is
highly scalabe and easy to use.

releases

cyxth beta is here

Public beta testing for colab is now open
try it out now.

packages
colab
With cyxth colab add realtime collaboration features that allow fast and consistent state sharing at scale.
calls
Seamless video and voice calls integration to your application in just a few lines of code .
chat
Adds realtime chat features you know and expect from a modern chat applications such as signal and telegram.
features

your collaboration toolbox.

We've got you covered in all your real-time collaboration use cases.

fast
Near realtime speed with ultra low latency and predictable perfomance at scale
scalable
Scale with replication strategies across various regions.
feature rich
Messaging, signaling, voice, video call or conferences we got you.
customizable
Customize nodes, storage, compute, bandwidth channels and users easily.
dev
build with cyxth
With just a few lines of code get collaboration action in your application. and extend it to your needs.
import Cyxth from '@cyxth/core';
import Colab, { type Context } from '@cyxth/colab';

const APP_URL = 'my-app.apps.cyxth.com';

const cyx = new Cyxth(APP_URL);
cyx.register([Colab]);
await cyx.connect('USER_TOKEN');

const stateId = 'tasks';
const tasks: Task[] = [];
const colab: Colab = await cyx.colab('https://cdn.cyxth/com/colab-0.0.1.wasm');

// start a new instance , use join or load for existing
await colab.start(stateId);
const ctx: Context = colab.getChangeContext();

// modify state and listen for changes
const addTask = async (task) => {
  await ctx.tree().path("tasks").list().push(task);
};


colab.on('change', ({ senderId, data }) => {
  data.apply(tasks);
});


// sync any presence data
const sendCursors = async (pos) => {
  colab.presence({ type: "cursor", pos })
}

colab.on('presence', ({ senderId, data }) => {
  if (data.type === 'cursor') {
    // render cursor positions
  }
});

// ...
Get cyxth
intergrate fast, scalable, and reliable collaboration into your application today