#cloudflare #cloudflare-workers #worker

driftdb-worker

A real-time data backend for browser-based applications (Cloudflare worker)

6 releases

0.1.4 Mar 3, 2023
0.1.3 Feb 27, 2023
0.1.0 Jan 23, 2023
0.0.0 Jan 22, 2023

#39 in #cloudflare-workers

MIT license

49KB
1K SLoC

driftdb-worker

GitHub Repo stars crates.io docs.rs docs.rs Test Chat on Discord

DriftDB is a is a real-time data backend that runs on the edge.

This crate implements the DriftDB API on top of Cloudflare Durable Objects.

Usage requires wrangler, Cloudflare’s CLI tool.

To run locally:

npm i
npm run dev

Deploying to Cloudflare requires a Durable Objects subscription from Cloudflare. (If you just want to experiment with DriftDB, you can access a server for free at jamsocket.live)

To deploy to Cloudflare:

npm i
npm run deploy

Dependencies

~16–27MB
~357K SLoC