Walcast

Postgres change data capture for Node.js, published to npm as walcast. Solo, open source, MIT.
I wrote a pgoutput binary decoder by hand instead of wrapping wal2json, so walcast reads Postgres's logical replication stream directly with no server-side plugin. It streams 2GB of WAL a minute.
The core exposes changes as an async iterator with explicit LSN acknowledgment, so consumers decide exactly when the replication slot advances. Everything that transports events is a plugin: webhook, SSE, Kafka and gRPC sinks, Prisma typegen and an integration-test suite, across an 8-package monorepo.
The hard part was correctness under failure. walcast only advances the slot to the minimum acknowledged LSN across durable sinks, so a crash replays events instead of losing them: zero data loss across crashes.
Tech: TypeScript, Node.js, PostgreSQL, Logical Replication, Kafka, gRPC

