Skip to content
github-actions[bot] edited this page Sep 4, 2026 · 1 revision

CRDT Plugin

CRDT offline-first primitives. Free — MIT licensed.

Install

nself plugin install crdt

No license key required.

Description

CRDT offline-first primitives. Self-hosted Yjs (y-websocket protocol) and automerge sync server with Postgres persistence. Drop-in replacement for Liveblocks/PartyKit with zero extra infra.

Category: infrastructure. Current version: 1.1.2.

Configuration

Env Var Default Description
DATABASE_URL (required) PostgreSQL connection string
CRDT_ENGINE - -
CRDT_MAX_DOC_SIZE_MB - -
CRDT_RETENTION_DAYS - -
CRDT_REDIS_URL - -
CRDT_PORT 8211 -
DATABASE_URL - PostgreSQL connection string
LOG_LEVEL - -

Ports

Port Purpose
8211 CRDT service port

Database Schema

2 table(s) added to your Postgres database:

  • np_crdt_documents
  • np_crdt_updates

REST API

POST   /crdt/compact/{docID}
DELETE /crdt/doc/{docID}
GET    /crdt/doc/{docID}
GET    /crdt/docs
POST   /crdt/sync/{docID}
GET    /crdt/yjs/{docID}
GET    /health

Examples

Health check

curl http://localhost:8211/health

Source

plugins/crdt/

Manifest: plugins/crdt/plugin.json

See Also

Home

nself-plugins

Start

Commands

Architecture

Plugin Ecosystem

Popular Plugins

View All: Home (or see the full alphabetical list below — 129/129 synced with registry.json)

All Free Plugins

Guides

Operations


Related

Clone this wiki locally