eersnington/sideffect
Sideffect
Build Cloudflare Workflows from composable typed steps, with Vite-generated workflow config. Define workflows in effect style code and let the Vite plugin create Wrangler workflow bindings and env types automatically. You use workflow bindings in your Worker as normal, without touching wrangler.toml/json file.
7stars
eersnington/sideffect
Sideffect
Library for defining Cloudflare Workflows as composable typed steps with Effect-TS-like syntax. Includes a Vite plugin that auto-generates workflow bindings, env types, and wrangler config from TypeScript AST.
Visit project- First shared
- Jun 19, 2026
- HN activity
- 30
Show HN@SreeningtonJun 19, 2026
Show HN: Sideffect – Effect like syntax for Cloudflare Workflows
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 normal Git repo: https://github.com/eersnington/sideffect still early but covers much of the surface are of Cloudflare Workflows API, feedback welcome.
Community