Skip to content

CrossWS websocket adapter #270

@jamesgpearce

Description

@jamesgpearce

Discussed in #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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions