CubiCube Platform

Kraken

Real-time sync for local-first apps. Watch parties, cooking sessions, game nights—collaborate on anything while your data stays on your device.

🎬 Watch Together 🤝 Shared Rooms 🌐 Works Offline

Local-First, Together

Kraken powers real-time collaboration in any CubiCube deployment. Clients keep local-first copies; Kraken coordinates sync and durably persists documents so rooms survive restarts.

🎬

Watch Parties

Watch movies or shows together, perfectly synced. Everyone sees the same frame at the same time.

🍳

Cook Together

Follow recipes side-by-side with friends. Share timers, check off steps, stay in sync while you cook.

🎮

Game Nights

Shared game state that just works. Board games, trivia, collaborative puzzles—no server required.

📚

Study Groups

Collaborative notes, shared flashcards, group timers. Study together even when you're apart.

🔐 Tenant-Isolated Persistence

Kraken syncs changes between devices and durably stores each document in your app's own namespace ({app_id}:{room}). Local-first clients keep full copies; server storage is tenant-isolated and origin-verified.

What You Can Build

Kraken works with any Core Cubi deployment. Here's what becomes possible:

🍿

Synchronized Playback

Movies, music, podcasts—everyone experiences media together, perfectly in sync across devices.

🤝

Shared Rooms

Collaborative rooms with live state sync. Multi-user editing, shared cursors, and instant updates.

📝

Shared Lists & Notes

Grocery lists, to-dos, meeting notes. Multiple people editing, changes merge automatically.

🎯

Live Activities

Workouts, meditation sessions, book clubs. Shared timers, progress tracking, group accountability.

🗳️

Polls & Voting

Real-time group decisions. What to watch, where to eat, which recipe to try—instant consensus.

✈️

Offline-First

Works without internet. Make changes offline, everything syncs when you reconnect.

How It Works

Your Core Cubi connects to Kraken for real-time sync. Users collaborate through your app—Kraken coordinates the changes.

User ACore Cubi
KrakenYjs Sync Server
User BCore Cubi

Available Endpoints

WS /doc/:roomReal-time document sync
GET /healthService health check
GET /docsIntegration guide
Demo HostLive Cube Demos

🚀 Quick Start

  • Add Kraken credentials to your wrangler.jsonc
  • Create a token endpoint in your Core Cubi
  • Connect with the Kraken client library
  • Start collaborating!

See full documentation or llms.txt for AI-assisted integration.

Service Status

Current operational status and server information.

● Online
Status
production
Environment
1.0.0
Version

API Endpoints

POST /api/tokensIssue room/app-scoped JWT (master token or per-app key)
GET /api/statsServer statistics (master token only)
GET /api/roomsList rooms (master token only)
GET /api/appsRegistered applications (master token only)
POST /api/appsRegister new application (master token only)
PATCH /api/apps/:idUpdate app / rotate API key (master token or own key)