Skip to main content

Installation

No dependencies required! kSync v0.2 works out of the box with smart defaults. Zod is now optional for advanced schema validation.

Quick Start (30 seconds)

The fastest way to get real-time sync working:

Factory Functions (Optimized Presets)

kSync v0.2 provides factory functions optimized for different use cases:

Real-time Chat Example

Let’s build a complete chat application in under 50 lines:

React Integration

For React applications, kSync v0.2 provides simple state integration:

AI Streaming Example

Build a real-time AI chat with streaming responses:

Advanced Configuration

For production applications, you can customize kSync extensively:

Next Steps

Performance Benchmarks

See how kSync delivers 600k+ ops/sec performance

API Reference

Explore all available methods and configuration options

Factory Functions Guide

Learn about optimized presets for different use cases

Production Deployment

Deploy kSync for enterprise-scale applications

You now have a real-time sync engine running in under 2 minutes! kSync v0.2’s smart defaults mean you can focus on building features, not configuring infrastructure.