Check out our examples GitHub repo for projects to learn more about how to use Trigger.dev. Feel free to fork the repo and use the code in your own projects.
Examples
Projects we have added so far:
- Building effective agents - an example Node.js project showcasing common AI agent patterns. We've also written a blog post about it here.
- Batch LLM evaluator - This example Next.js project generates an image from a prompt using Fal.ai and shows the progress of the task on the frontend using Trigger.dev Realtime.
- Next.js Server Actions - This is a full working example of a Next.js app with a Trigger.dev task triggered using a Server Action.
- Next.js webhooks - This project shows you how to set up a webhook handler in a Next.js project which triggers a task once a webhook is received.
- Realtime CSV importer - A full stack example that demonstrates how to use Trigger.dev Realtime to build a CSV Uploader with live progress updates.
- Realtime Fal AI image generator - This example project generates an image from a prompt using Fal.ai and shows the progress of the task on the frontend using Trigger.dev Realtime.
- Remix webhooks - This project shows you how to set up a webhook handler in a Remix project which triggers a task once a webhook is received.
- Triggering tasks from Supabase edge functions - trigger tasks from Supabase edge functions and Supabase Database Webhooks when your database changes.
Star the repo
We will be adding more examples over time, so star our examples repo to get notifications as we add more.
Contributions
We also welcome contributions, so if you have an example project you'd like to share with the community, please open a PR!