MyGit

triggerdotdev/trigger.dev

Fork: 603 Star: 9633 (更新于 2024-12-14 03:19:42)

license: Apache-2.0

Language: TypeScript .

Trigger.dev is the open source background jobs platform.

最后发布版本: v.docker.3.0.10 ( 2024-10-05 06:30:21)

官方网址 GitHub网址

Trigger.dev logo

Open source background jobs with no timeouts

Discord | Website | Issues | Docs

Twitter

About Trigger.dev

Trigger.dev is an open source platform and SDK which allows you to create long-running background jobs. Write normal async code, deploy, and never hit a timeout.

Key features:

  • JavaScript and TypeScript SDK
  • Write reliable code by default
  • No timeouts
  • Retries (with exponential backoff)
  • Queues and concurrency controls
  • Schedules and crons
  • Full Observability; logs, live trace views, advanced filtering
  • Custom alerts, get notified by email, Slack or webhooks
  • No infrastructure to manage
  • Elastic (scaling)
  • Works with your existing tech stack

In your codebase

Create tasks where they belong: in your codebase. Version control, localhost, test and review like you're already used to.

import { task } from "@trigger.dev/sdk/v3";

//1. You need to export each task
export const helloWorld = task({
  //2. Use a unique id for each task
  id: "hello-world",
  //3. The run function is the main function of the task
  run: async (payload: { message: string }) => {
    //4. You can write code that runs for a long time here, there are no timeouts
    console.log(payload.message);
  },
});

Deployment

Use our SDK to write tasks in your codebase. There's no infrastructure to manage, your tasks automatically scale and connect to our cloud. Or you can always self-host.

Environments

We support Development, Staging, and Production environments, allowing you to test your tasks before deploying them to production.

Full visibility of every job run

View every task in every run so you can tell exactly what happened. We provide a full trace view of every task run so you can see what happened at every step.

Trace view image

Getting started

The quickest way to get started is to create an account and project in our web app, and follow the instructions in the onboarding. Build and deploy your first task in minutes.

Useful links:

Self-hosting

If you prefer to self-host Trigger.dev, you can follow our self-hosting guide.

We also have a dedicated self-hosting channel in our Discord server for support.

Development

To setup and develop locally or contribute to the open source project, follow our development guide.

Meet the Amazing People Behind This Project:

最近版本更新:(数据更新于 2024-10-05 11:04:24)

2024-10-05 06:30:21 v.docker.3.0.10

2024-10-05 06:26:12 @trigger.dev/sdk@3.0.10

2024-10-05 06:26:09 trigger.dev@3.0.10

2024-10-05 06:26:06 @trigger.dev/core@3.0.10

2024-10-05 06:26:03 @trigger.dev/build@3.0.10

2024-10-01 01:19:49 v.docker.3.0.9

2024-09-30 10:20:38 @trigger.dev/sdk@3.0.9

2024-09-30 10:20:35 @trigger.dev/core@3.0.9

2024-09-30 10:20:32 trigger.dev@3.0.9

2024-09-30 10:20:29 @trigger.dev/build@3.0.9

主题(topics):

automation, background-jobs, events, integrations, nextjs, orchestration, scheduler, serverless

triggerdotdev/trigger.dev同语言 TypeScript最近更新仓库

2024-12-21 21:40:12 lobehub/lobe-chat

2024-12-21 12:01:51 siyuan-note/siyuan

2024-12-21 10:57:01 ai16z/eliza

2024-12-21 09:15:35 MetaCubeX/metacubexd

2024-12-21 04:50:26 mediar-ai/screenpipe

2024-12-20 19:36:48 vitejs/vite