{"repo":"SokratisVidros/pg-workflows","free":true,"listed":false,"github":"https://github.com/SokratisVidros/pg-workflows","clone":"git clone https://github.com/SokratisVidros/pg-workflows.git","description":"Postgres workflows. Durable execution built on pg-boss. Like Temporal, Inngest, or Trigger, powered by Postgres.","language":"TypeScript","stars":58,"topics":["durable-execution","durable-workflow","pg-boss","postgresql","workflows","ai-workflows"],"license":"MIT","category":"workflow-automation","readme_excerpt":"pg-workflows The simplest Postgres workflow engine for TypeScript. Durable execution, event-driven orchestration, and automatic retries - powered entirely by PostgreSQL. No Redis, no message broker, no new infrastructure. --- A complete workflow That's it. Each step runs exactly once . Crash, redeploy, or retry - the workflow resumes from where it left off. State lives in your existing PostgreSQL database. --- Why pg-workflows - Zero new infrastructure - if you have Postgres, you're done. No Redis, no Temporal server, no SaaS bill. - Feels like plain TypeScript - workflows are async functions. No DSL, no YAML, no DAG builder. - Durable by default - step results are persisted. Process crashes don't lose work or repeat expensive calls. - Pause, wait, resume - step.waitFor('event-name') pauses the workflow until your API fires an event. Zero resources consumed while waiting. - Schedules & polling built in - step.delay('3 days') , step.waitUntil('2025-01-01') , step.poll(...) - no cron, no external scheduler. - Built for AI agents - cache expensive LLM calls, retry on 429s, pause for human review. See AI patterns → - Client/worker separation - keep your API service light; run handlers in a worker. See architecture → - Idempotent starts - pass an idempotencyKey and duplicate calls safely return the same run. --- Quick start 1. Install pg is a peer dependency. pg-boss is bundled - nothing else to configure. The engine runs migrations automatically on start. 2. Define a workflow 3. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/SokratisVidros","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/SokratisVidros/pg-workflows/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}