pluv.io is in preview! Please wait for a v1.0.0 stable release before using this in production.

Introduction

Multi-platform, E2E type-safe realtime packages

npm @pluv/ioLicense MITCommitizen friendlyTypeScript

pluv.io allows you to more easily build real-time collaborative features with a fully end-to-end type-safe api.

Existing open-source tools for building real-time APIs come with several trade-offs. With socket.io or y-websocket, you get built-in support for things like heartbeats, rooms and awareness without any automatic type-safety server-to-client. Meanwhile, with GraphQL you get type-safety in subscriptions but lose those same features. pluv.io unifies these experiences by providing common websocket API capabilities and end-to-end type-safety server-to-client.

Bring your own runtime, framework and CRDT

Today, pluv.io supports hosting on either Node.js or Cloudflare Workers. Support for multiple frameworks is also planned, with React already available with @pluv/react. If you're building for other frameworks, @pluv/client is framework agnostic and can meet your needs.

pluv.io also supports Yjs and experimentally supports the Loro CRDT library.

Features and roadmap

Capabilities

Runtimes

Frontends