Build
fast & scalable
collaboration.

Cyxth gives you the APIs to build fast, scalable and reliable real-time collaboration into your application with ease.

releases

cyxth beta is here

Public beta testing for colab and chat is now open
help test and make cyxth better.

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.

speed
Near realtime speed with ultra low latency and predictable perfomance at scale
scale
Scale with replication strategies across various regions.
features
Messaging, signaling, voice, video call or conferences we got you.
customize
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 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 addTask = async (task) => {
	await colab.change('tasks').getList().insert(0, task);
	colab.update(tasks);
};

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

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

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