Show HN: Sideffect – Effect like syntax for Cloudflare Workflows

Sreenington1 pts0 comments

heya HN,Sideffect is a library I built that lets you define Cloudflare Workflows as composable typed steps in a syntax similar Effect-TS.It comes with a Vite plugin that scans your code using the Typescript AST and automatically generates the Workflow bindings, env types, and wrangler config.- Workflow steps are reusable typed activities (with payload + result runtime validating schemas) - You compose them into layers with readable code (no ugly workflow entry class) - No need to manually edit wrangler.toml/jsonc for workflows - You use the generated bindings in your Worker as normalGit repo: https://github.com/eersnington/sideffectstill early but covers much of the surface are of Cloudflare Workflows API, feedback welcome.

sideffect workflows cloudflare workflow effect syntax

Related Articles