Coder Social home page Coder Social logo

caipadev / trigger.dev Goto Github PK

View Code? Open in Web Editor NEW

This project forked from triggerdotdev/trigger.dev

0.0 0.0 0.0 71.29 MB

Trigger.dev is the open source background jobs platform for TypeScript.

Home Page: https://trigger.dev/changelog

License: Apache License 2.0

Shell 0.12% JavaScript 1.16% TypeScript 97.47% CSS 0.22% HTML 0.01% Smarty 0.04% PLpgSQL 0.18% Dockerfile 0.13% Svelte 0.01% Jinja 0.56% Astro 0.11%

trigger.dev's Introduction

Trigger.dev logo

Open source background jobs with no timeouts

Discord | Website | Issues | Docs

Twitter

The Trigger.dev v3 developer preview is now open. For more information and to get early access, check out our developer preview launch post.

About Trigger.dev

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

Features:

  • JavaScript and TypeScript SDK
  • Write reliable code by default
  • No infrastructure to manage
  • Works with your existing tech stack

Long-running tasks on serverless

Reliably run tasks and don’t worry about function timeouts, we handle those for you.

  • Auto-resume after a function timeout
  • Auto-resume after a server outage
  • Add delays of up to a year

In your codebase

Create tasks where they belong: in your codebase. Version control, localhost, test, review, and deploy 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 nothing extra to deploy and no CI to configure, your tasks just 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

Visit our docs here for a full guide on how to get started with Trigger.dev.

Self-host

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

Development

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

Meet the Amazing People Behind This Project:

trigger.dev's People

Contributors

matt-aitken avatar ericallam avatar samejr avatar d-k-p avatar github-actions[bot] avatar nicktrn avatar chigala avatar hmacr avatar shelar1423 avatar jemiluv8 avatar kritik-j avatar lirantal avatar sshari avatar kaf-lamed-beyt avatar jacobparis avatar ologbonowiwi avatar akhill10 avatar dylanrod21 avatar codenem avatar alexandredev3 avatar mariusvilholm avatar yashug avatar teddarific avatar alexdanilowicz avatar rutam21 avatar neo773 avatar arika0093 avatar ramk777-stack avatar ashutosh-bhadauriya avatar chronark avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.