Jazz - The database that syncs.

3 min read Original article ↗

The database that syncs.

Things are easy when data syncs anywhere, instantly.

Jazz is a distributed database that runs across your frontend, containers, functions, and our global auto-scaling storage cloud.

Efficiently sync data, files and LLM streams. Use them like reactive local JSON state.

npx create-jazz-app@latest

Open source (MIT) and self-hostable.

setup.tsx

import { co, z } from "jazz-tools";
import { JazzReactProvider }
  from "jazz-tools/react";

// Describe your app with cloud-synced CoValues ("collaborative values")
const Message = co.map({
  text: z.string(),
});

const Chat = co.list(Message);

// Use our global auto-scaling
// Jazz Cloud or self-host
const peer =
  "wss://cloud.jazz.tools/?key=...";

function App() {
  return (
    <JazzReactProvider sync={{ peer }}>
      ...
    </JazzReactProvider>
  );
}

Components.tsx

import { useCoState }
  from "jazz-tools/react";

function MessageList({ id }) {
  // Load & sync CoValues
  // Rerenders on local & remote edits!
  const chat = useCoState(Chat, id, {
    // Granular load of nested CoValues
    resolve: { $each: true }
  });

  return chat.$isLoaded ? <div>
    {chat.map(msg => (   // Looks like
      <p>{msg.text}</p>  // plain JSON
    ))}
    <TextInput onSubmit={(text) => {
      // Create and edit data anywhere!
      // Locally stored & synced
      chat.$jazz.push(Message.create(
        { text }, chat.$jazz.owner
      ));
    }} />
  </div> : <div>Loading...</div>;
}

Scan the QR code

Add your device to the live demo. Messages update everywhere instantly.

Scan this QR code to join the chat

A database that does what's actually needed

A perspective shift worth 10,000 hours

Offline-first

Your app works seamlessly offline or on sketchy connections. When you're back online, your data is synced.

Instant updates

Since you're working with local state, your UI updates instantly. Just mutate data. No API calls and spinners.

Real-Time Sync & Multiplayer

All devices and users stay perfectly in sync. Share data to enable live collaboration and presence UI like cursors.

Private by Design

Encrypted and signed on your device. Invisible to servers, verifiable by anyone.

Everything else you need to ship quickly

We take care of the groundwork that every app needs, so you can focus on building the cool stuff that makes your app unique.

co.fileStream().createFromBlob(file);

File uploads

Just use <input type="file"/>, and easily convert from and to Browser Blobs using a FileStream

CoValue.

Leaves image demonstrating progressive loading

Progressive image loading

Using Jazz's Image component, you get progressive image up & downloading, super fast blur preview, and image size info.

Server workers

Expose an HTTP API that mutates Jazz state. Or subscribe to Jazz state and update existing databases or third-party APIs.

Authentication

Plug and play different kinds of auth like Passkeys (Touch ID, Face ID), and Clerk, and BetterAuth.

Self-Hosted (Open-Source)

Self-host Jazz for complete control. Can be combined with Jazz Cloud for hybrid deployments.

Learn more

Starter$0/mo

Everything you need to get started.

  • Unlimited apps
  • Unlimited CoValues
  • 100 monthly active users
  • 10 GB storage
  • 0.2 GB sync egress
  • 2.0 GB blob egress
  • Optimal cloud routing
  • Smart caching

Get Starter API key

No credit card required. Takes 20s.

Indie$4/mo

Launch your apps to lots of users.

  • Unlimited apps
  • Unlimited CoValues
  • 10,000 monthly active users
  • 100 GB storage
  • 2 GB sync egress
  • 20 GB blob egress
  • Optimal cloud routing
  • Smart caching

Get Indie API key

One month free trial. Takes 1min.

Profrom $19/mo

Scale to millions at predictable costs.

  • Unlimited apps
  • Unlimited CoValues
  • Unlimited users
  • $0.02/GB storage
  • $1.00/GB sync egress
  • $0.10/GB blob egress
  • Optimal cloud routing
  • Smart caching
  • High-priority sync

Get Pro API key

One month free trial. Takes 1min.

Jazz Cloud tailored for enterprise.

  • Dedicated / on-prem cloud
  • Unlimited CoValues
  • Unlimited users
  • Bundled storage
  • Bundled sync egress
  • Bundled blob egress
  • Optimal cloud routing
  • Smart caching
  • Guaranteed sync capacity
  • Dedicated integration team
  • SLAs & support contracts

Alternatively, contact sales by email.

Get started

Let's build your next app together

Whether you're building something big with Jazz or just trying things out, we've got a team of developers who have seen and built everything.

We're happy to help you hands-on with your app, and ready to tailor Jazz features to your needs.