tinybase icon indicating copy to clipboard operation
tinybase copied to clipboard

CrossWS websocket adapter

Open jamesgpearce opened this issue 3 months ago • 0 comments

Discussed in https://github.com/tinyplex/tinybase/discussions/269

Originally posted by jcs224 October 7, 2025 I'm building a Nuxt application that uses Tinybase on the client. However, there is no sync component as of yet, since I'm trying to keep the architecture as simple but portable as possible and try to keep everything in one codebase.

In the Nuxt ecosystem, Nitro is used as the underlying server, which uses CrossWS to enable cross-runtime websockets. CrossWS is, however, JS runtime and framework agnostic, so creating this abstraction for Tinybase would open up a lot of compatibility across the whole JS ecosystem!

jamesgpearce avatar Oct 07 '25 19:10 jamesgpearce