DriftDB Demos

Shared State

A simple demo that shows how useSharedState works with some form elements.

Shared Reducer

Let multiple clients increment and decrement a shared counter with useSharedReducer.

Tic Tac Toe

The classic Tic Tac Toe game, implemented with DriftDB.

Shared Canvas

Multiple users draw on a shared canvas.

Voxel Editor

Edit voxels in a shared environment.

WebRTC Chat

Simple chat with WebRTC datachannels, using DriftDB for signaling.

WebRTC Cursors

Multiple cursors on a canvas implemented using both WebRTC and edge hosted WebSockets.