Skip to content

CrossWS websocket adapter #270

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!

Activity

  1. jcs224 commented on May 8, 2026

    @jcs224

    Thanks for making this issue. I will say, for my personal use, I am using TinyBase but opted to use the Yjs adapter with the Hocus Pocus server, which turns out to be a very nice combo. Of course a first-party integration with cross-ws is neat in theory, but don't want to distract from other very interesting priorities 😅 I guess it's a testament to how flexible this library is!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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