本文へスキップ

y-durableobjects

メンテナンス中
napolab/y-durableobjects

Yjs と Durable Objects で Cloudflare Workers 上にリアルタイム共同編集を実現するライブラリ。Hono を通じて組み込みます。

GitHub で見る
スター
262
フォーク
12
ウォッチ
262
未解決の Issue
4

この紹介文は現在英語版のみです。

Overview

y-durableobjects brings real-time collaboration to Cloudflare Workers using Yjs and Durable Objects. It gives you a straightforward way to add scalable, CRDT-based real-time editing to an app.

Requirements

  • Hono 4.3 or higher (a peer dependency)

Installation

npm install y-durableobjects hono

Setup

Configure a Durable Object binding and class in your wrangler.toml, then mount the provided Hono route. Each document is backed by its own Durable Object, which holds the shared Yjs state and relays updates between connected clients over WebSockets.

共通のカテゴリとタグで順位付けした、似たオープンソースプロジェクトです。

すべての Web フレームワークプロジェクト →