Hacker News new | ask | show | jobs
Show HN: Actor Kit – XState Machines for Cloudflare Workers (github.com)
6 points by jonathanrmumm 612 days ago
Actor Kit is a library for running state machines in Cloudflare Workers, leveraging XState for robust state management. It provides a framework for managing the logic, lifecycle, persistence, synchronization, and access control of actors in a distributed environment.

Key features include:

- Persistent, distributed state management - Type-safe events and state with TypeScript and Zod - Real-time updates and seamless server-to-client state transfer - Access control and secure data management - Framework-agnostic with examples for Next.js and Remix integration - Actor lifecycle management in distributed environments - Support for real-time collaboration - State migration support

The project is in early development, and I'm seeking feedback on the ideas and APIs.

Cheers, Jon