# Meridian ## Docs - [Edge deploy (Cloudflare Workers)](https://chahine.mintlify.app/edge.md): Deploy Meridian to Cloudflare Workers with Durable Objects — zero infrastructure, global low latency. - [Introduction](https://chahine.mintlify.app/introduction.md): Self-hosted real-time CRDT store. No locks, no merge conflicts. - [AI Agents](https://chahine.mintlify.app/sdk/agents.md): Use Meridian CRDTs as shared state for AI agents — Anthropic, OpenAI, and Gemini. - [CLI](https://chahine.mintlify.app/sdk/cli.md): Inspect CRDT state and replay WAL history from the terminal. - [MeridianClient](https://chahine.mintlify.app/sdk/client.md): Create and manage a Meridian client connection. - [Awareness](https://chahine.mintlify.app/sdk/crdts/awareness.md): Ephemeral pub/sub for cursors, selections, and real-time UI state. - [CRDTMap](https://chahine.mintlify.app/sdk/crdts/crdtmap.md): A map of named CRDT values. Each key holds an independent CRDT that syncs automatically. - [GCounter](https://chahine.mintlify.app/sdk/crdts/gcounter.md): Increment-only counter. Ideal for page views, likes, download counts. - [LwwRegister](https://chahine.mintlify.app/sdk/crdts/lwwregister.md): Last-Write-Wins Register. Holds a single value; concurrent writes resolve by HLC timestamp. - [ORSet](https://chahine.mintlify.app/sdk/crdts/orset.md): Observed-Remove Set. Concurrent add and remove operations are handled correctly. - [PNCounter](https://chahine.mintlify.app/sdk/crdts/pncounter.md): Increment and decrement counter. Ideal for inventory, vote tallies. - [Presence](https://chahine.mintlify.app/sdk/crdts/presence.md): Ephemeral presence with TTL. Who's online, cursor positions, typing indicators. - [RGA](https://chahine.mintlify.app/sdk/crdts/rga.md): Replicated Growable Array. Conflict-free ordered sequence for collaborative text editing. - [TreeCRDT](https://chahine.mintlify.app/sdk/crdts/tree.md): Convergent hierarchical tree for collaborative outlines, document trees, and mind maps. - [Devtools](https://chahine.mintlify.app/sdk/devtools.md): Inspect live CRDT state, connection status, and pending ops during development. - [Error handling](https://chahine.mintlify.app/sdk/error-handling.md): All SDK errors are Data.TaggedError — matchable with Effect.catchTag. - [Installation](https://chahine.mintlify.app/sdk/installation.md): Install the Meridian TypeScript SDK. - [Live Queries](https://chahine.mintlify.app/sdk/live-query.md): Reactive WebSocket subscriptions that push updated query results whenever matching CRDTs change. - [Offline-first](https://chahine.mintlify.app/sdk/offline.md): Persist CRDT state locally so your app works instantly on load and survives network interruptions. - [Permissions](https://chahine.mintlify.app/sdk/permissions.md): Check token permissions locally — no round-trip to the server. - [Postgres integration](https://chahine.mintlify.app/sdk/postgres.md): Turn any Postgres table column into a collaborative CRDT with live sync to all WebSocket clients. - [Query Engine](https://chahine.mintlify.app/sdk/query.md): Cross-CRDT queries — scan, filter, and aggregate across multiple CRDTs in a single request. - [React](https://chahine.mintlify.app/sdk/react.md): React hooks for Meridian CRDTs. - [Rust SDK](https://chahine.mintlify.app/sdk/rust.md): Use Meridian from a native Rust application — terminal UIs, games, daemons, CLI tools. - [TTL-based expiry](https://chahine.mintlify.app/sdk/ttl.md): Schedule any CRDT for automatic server-side deletion after a given duration. - [Clustering](https://chahine.mintlify.app/self-hosting/clustering.md): Run multiple Meridian nodes for horizontal scaling and high availability. - [Configuration](https://chahine.mintlify.app/self-hosting/configuration.md): Environment variables for the Meridian server. - [Docker](https://chahine.mintlify.app/self-hosting/docker.md): Run Meridian with Docker Compose in under a minute. - [Server-Sent Events](https://chahine.mintlify.app/self-hosting/sse.md): Stream CRDT deltas to stateless clients via SSE. - [Storage Backends](https://chahine.mintlify.app/self-hosting/storage.md): Configure Meridian's persistence layer — sled, PostgreSQL, Redis, or bring your own. - [Tokens](https://chahine.mintlify.app/self-hosting/tokens.md): How to issue and use Meridian auth tokens. ## OpenAPI Specs - [openapi](https://chahine.mintlify.app/api-reference/openapi.json)