Jiber is an open source API for realtime web apps. It sets up peer-to-peer connections via webRTC, and backs that up with a more reliable client/server WebSocket connection.
- Fast: Updates are sent peer to peer to minimize latency.
- Light: jiber-client is 3kb, and has no dependencies.
- Offline-First: User actions are applied optimistically until a connection becomes available.
npm i jiber-server
npm i jiber-client
Examples can be found in /examples.