Scripts2026年4月7日·1 分钟阅读

Trigger.dev — Background Jobs for TypeScript Apps

Open-source background job framework for TypeScript. Write long-running tasks with retries, scheduling, and observability. No infrastructure to manage. Deploy alongside your Next.js app. 10,000+ stars.

介绍

Trigger.dev is an open-source TypeScript background job framework with 10,000+ GitHub stars. Write long-running tasks with built-in retries, scheduled execution, and observability. Zero infrastructure management — no Redis required. Best for TypeScript teams needing background processing.


Quick Start

npx trigger.dev@latest init
export const syncData = task({
  id: "sync-data",
  retry: { maxAttempts: 3 },
  run: async (payload) => {
    await fetchAndSync(payload.userId);
  },
});

Overview

Trigger.dev is an open-source TypeScript background job framework with 10,000+ GitHub stars. Write long-running tasks with built-in retries, scheduled execution, and observability. Zero infrastructure management — no Redis required. Best for TypeScript teams needing background processing.


Source & Thanks

Created by Trigger.dev. Licensed under Apache 2.0.

trigger.dev — stars 10,000+

🙏

来源与感谢

Created by Trigger.dev. Licensed under Apache 2.0.

trigger.dev — stars 10,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产