live-state is a high-performance, real-time sync engine written in TypeScript.
- Real-time bidirectional state synchronization
- Built-in client store with fine-grained reactive
- Optimistic updates
- Built-in ORM
This repository is organized as a pnpm monorepo:
- packages/live-state: Core synchronization engine (client/server API).
- examples/ls-imp: Reference implementation.
- examples/api: Server example using Express and WebSockets.
- examples/storefront: Frontend demo showing live-state in action.
Important
Live-state is currently in alpha. It's not ready for production use. Use at your own risk.
pnpm add @live-state/sync
Clone the repository and install dependencies:
git clone https://github.com/pedroscosta/live-state.git
cd live-state
pnpm install
Watch for changes and rebuild:
Detailed API documentation is available in the packages/live-state/src directory.
Contributions are welcome! Please open issues and pull requests.
Apache License 2.0
.png)
