danfry1

Durable workflow execution for TypeScript

14
0
100% credibility
Found Mar 19, 2026 at 14 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
TypeScript
AI Summary

Reflow-ts is a TypeScript library that enables developers to create durable, type-safe multi-step workflows with automatic retries and crash recovery using local file storage.

How It Works

1
💡 Hear about Reflow

You learn about a helpful tool that makes sure your multi-step tasks, like processing orders or sending welcomes, always finish even if something crashes halfway.

2
📦 Bring it into your work

You simply add this tool to your project so it can start helping right away.

3
📝 Map out your steps

You list the sequence of actions, like charging money, preparing a shipment, and notifying the customer, in a clear chain.

4
💾 Link a progress notebook

You connect it to a plain file that records each step's success, so it remembers exactly where to resume if interrupted.

5
▶️ Wake up the watcher

You start a quiet background helper that keeps an eye out and handles your tasks one by one.

6
📨 Hand off a job

You send a specific task with details, like an order number and amount, and let it go to work.

🎉 Tasks complete flawlessly

Every step runs smoothly with automatic retries if needed, surviving any hiccups, so you get reliable results every time.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 14 to 14 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is reflow-ts?

Reflow-ts delivers durable workflow execution for TypeScript, letting you chain multi-step processes like order fulfillment or user onboarding with full type safety via Zod or similar validators. It persists progress in a SQLite file for automatic retries, timeouts, cancellation, and crash recovery—resuming stale runs without re-executing completed steps. No servers, queues, or external services needed; just enqueue jobs and start polling.

Why is it gaining traction?

It stands out as a lightweight durable workflow engine versus Temporal's clusters or Inngest's cloud dependency, running in one process with Bun or Node and zero native deps on Bun. Developers hook on type-safe enqueueing, step chaining where outputs flow to next inputs, built-in idempotency, schedules, and queryable run status—plus test helpers for synchronous runs. Like durable functions on Azure or GitHub Actions but local and typed end-to-end.

Who should use this?

Solo devs or small teams building SaaS apps with reliable background jobs: signup flows, billing charges, or provisioning. CLI authors handling resumable imports/migrations. AI pipeline builders chaining LLM calls without wasting tokens on crashes.

Verdict

Grab reflow-ts for simple, durable workflows typescript-style—excellent docs, 93% test coverage, and MIT license make it viable despite 14 stars and 1.0% credibility score. Pass if scaling across machines or needing sub-second dispatch.

(187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.